- This topic has 9 replies, 4 voices, and was last updated 1 year, 6 months ago by Leo.
-
AuthorPosts
-
September 10, 2022 at 2:02 am #2338700roadlink
Hi there,
I am trying to move my website to pressable. I just moved as staging first but getting critical error.
After I discussed with their support here is their reply.
Indeed, when I de-activate GP premium error gone.I am using latest version of GP theme, Premium and also GB.
What can I do?
“We noticed this error being logged after further testing:
PHP Parse error: syntax error, unexpected identifier "version" in /srv/htdocs/wp-content/plugins/gp-premium/elements/class-hooks.php(215) : eval()'d code on line 32
I temporarily deactivated that plugin and the page loads without the error and appears to look more like it should on the live site.
Are you able to re-install that plugin or see if there are any updates? You can also send us a copy of the GP Premium plugin and we can re-install it for you and see if that resolves it.”
September 10, 2022 at 2:15 am #2338708roadlinkbtw, it happens only in single product pages.
here is the screenshot from query monitor.
https://prnt.sc/iR3aiz7MHKlfSeptember 10, 2022 at 6:22 am #2338859DavidStaffCustomer SupportHi there,
do you have any custom functions in any GP Element Hooks ?
September 10, 2022 at 8:09 am #2339058roadlinkDear David,
After your question I closed all elements and opened one by one.
I use custom code for social media sharing.
I took that code from here. https://www.wplogout.com/create-social-sharing-buttons-in-generatepress-without-plugin/That element works in live site and staging site in same server.
But doesn’t work on pressable.com’s servers.
here is the code.
<?php $wplogoutURL = urlencode(get_the_permalink()); $wplogoutTitle = urlencode(get_the_title()); $wplogoutImage= urlencode(get_the_post_thumbnail_url(get_the_ID(), 'full')); ?> <div class="wplogout-social-wrapper"> <span class="hide-on-mobile">Paylaş:</span> <a class="wplogout-social-sharing" title="Facebook'ta paylaş" href="https://www.facebook.com/sharer/sharer.php?u=<?php echo $wplogoutURL; ?>" target="_blank" rel="noopener noreferrer nofollow"><svg version="1.1" width="24" height="24" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 112.196 112.196" style="enable-background:new 0 0 112.196 112.196;" xml:space="preserve"> <circle style="fill:#3B5998;" cx="56.098" cy="56.098" r="56.098"/> <path style="fill:#FFFFFF;" d="M70.201,58.294h-10.01v36.672H45.025V58.294h-7.213V45.406h7.213v-8.34 c0-5.964,2.833-15.303,15.301-15.303L71.56,21.81v12.51h-8.151c-1.337,0-3.217,0.668-3.217,3.513v7.585h11.334L70.201,58.294z"/></svg></a> <a class="wplogout-social-sharing" title="Twitter'da paylaş" href="https://twitter.com/intent/tweet?text=<?php echo $wplogoutTitle;?>&url=<?php echo $wplogoutURL;?>&via=wplogout" target="_blank" rel="noopener noreferrer nofollow"><svg version="1.1" width="24" height="24" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 112.197 112.197" style="enable-background:new 0 0 112.197 112.197;" xml:space="preserve"> <circle style="fill:#55ACEE;" cx="56.099" cy="56.098" r="56.098"/> <path style="fill:#F1F2F2;" d="M90.461,40.316c-2.404,1.066-4.99,1.787-7.702,2.109c2.769-1.659,4.894-4.284,5.897-7.417 c-2.591,1.537-5.462,2.652-8.515,3.253c-2.446-2.605-5.931-4.233-9.79-4.233c-7.404,0-13.409,6.005-13.409,13.409 c0,1.051,0.119,2.074,0.349,3.056c-11.144-0.559-21.025-5.897-27.639-14.012c-1.154,1.98-1.816,4.285-1.816,6.742 c0,4.651,2.369,8.757,5.965,11.161c-2.197-0.069-4.266-0.672-6.073-1.679c-0.001,0.057-0.001,0.114-0.001,0.17 c0,6.497,4.624,11.916,10.757,13.147c-1.124,0.308-2.311,0.471-3.532,0.471c-0.866,0-1.705-0.083-2.523-0.239 c1.706,5.326,6.657,9.203,12.526,9.312c-4.59,3.597-10.371,5.74-16.655,5.74c-1.08,0-2.15-0.063-3.197-0.188 c5.931,3.806,12.981,6.025,20.553,6.025c24.664,0,38.152-20.432,38.152-38.153c0-0.581-0.013-1.16-0.039-1.734 C86.391,45.366,88.664,43.005,90.461,40.316L90.461,40.316z"/></svg></a> <a class="wplogout-social-sharing" title="Pinterest'de paylaş" href="https://pinterest.com/pin/create/button/?url=<?php echo $wplogoutURL; ?>&media=<?php echo $wplogoutImage; ?>&description=<?php echo $wplogoutTitle; ?>" target="_blank" rel="noopener noreferrer nofollow"><svg version="1.1" width="24" height="24" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 112.198 112.198" style="enable-background:new 0 0 112.198 112.198;" xml:space="preserve"> <circle style="fill:#CB2027;" cx="56.099" cy="56.1" r="56.098"/> <path style="fill:#F1F2F2;" d="M60.627,75.122c-4.241-0.328-6.023-2.431-9.349-4.45c-1.828,9.591-4.062,18.785-10.679,23.588 c-2.045-14.496,2.998-25.384,5.34-36.941c-3.992-6.72,0.48-20.246,8.9-16.913c10.363,4.098-8.972,24.987,4.008,27.596 c13.551,2.724,19.083-23.513,10.679-32.047c-12.142-12.321-35.343-0.28-32.49,17.358c0.695,4.312,5.151,5.621,1.78,11.571 c-7.771-1.721-10.089-7.85-9.791-16.021c0.481-13.375,12.018-22.74,23.59-24.036c14.635-1.638,28.371,5.374,30.267,19.14 C85.015,59.504,76.275,76.33,60.627,75.122L60.627,75.122z"/></svg></a> <a class="wplogout-social-sharing" title="Linkedin'de paylaş" href="https://www.linkedin.com/shareArticle?url=<?php echo $wplogoutURL; ?>&title=<?php echo $wplogoutTitle; ?>&mini=true" target="_blank" rel="noopener noreferrer nofollow"><?xml version="1.0" encoding="iso-8859-1"?> <svg version="1.1" width="24" height="24" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 112.196 112.196" style="enable-background:new 0 0 112.196 112.196;" xml:space="preserve"> <circle style="fill:#007AB9;" cx="56.098" cy="56.097" r="56.098"/> <path style="fill:#F1F2F2;" d="M89.616,60.611v23.128H76.207V62.161c0-5.418-1.936-9.118-6.791-9.118 c-3.705,0-5.906,2.491-6.878,4.903c-0.353,0.862-0.444,2.059-0.444,3.268v22.524H48.684c0,0,0.18-36.546,0-40.329h13.411v5.715 c-0.027,0.045-0.065,0.089-0.089,0.132h0.089v-0.132c1.782-2.742,4.96-6.662,12.085-6.662 C83.002,42.462,89.616,48.226,89.616,60.611L89.616,60.611z M34.656,23.969c-4.587,0-7.588,3.011-7.588,6.967 c0,3.872,2.914,6.97,7.412,6.97h0.087c4.677,0,7.585-3.098,7.585-6.97C42.063,26.98,39.244,23.969,34.656,23.969L34.656,23.969z M27.865,83.739H41.27V43.409H27.865V83.739z"/></svg> </a> <a class="wplogout-social-sharing" title="Whatsapp'la paylaş" href="https://api.whatsapp.com/send?text=<?php echo $wplogoutTitle; echo " "; echo $wplogoutURL;?>" target="_blank" rel="noopener noreferrer nofollow"><svg version="1.1" width="24" height="24" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 512 512" style="enable-background:new 0 0 512 512;" xml:space="preserve"> <path style="fill:#4CAF50;" d="M256.064,0h-0.128l0,0C114.784,0,0,114.816,0,256c0,56,18.048,107.904,48.736,150.048l-31.904,95.104 l98.4-31.456C155.712,496.512,204,512,256.064,512C397.216,512,512,397.152,512,256S397.216,0,256.064,0z"/> <path style="fill:#FAFAFA;" d="M405.024,361.504c-6.176,17.44-30.688,31.904-50.24,36.128c-13.376,2.848-30.848,5.12-89.664-19.264 C189.888,347.2,141.44,270.752,137.664,265.792c-3.616-4.96-30.4-40.48-30.4-77.216s18.656-54.624,26.176-62.304 c6.176-6.304,16.384-9.184,26.176-9.184c3.168,0,6.016,0.16,8.576,0.288c7.52,0.32,11.296,0.768,16.256,12.64 c6.176,14.88,21.216,51.616,23.008,55.392c1.824,3.776,3.648,8.896,1.088,13.856c-2.4,5.12-4.512,7.392-8.288,11.744 c-3.776,4.352-7.36,7.68-11.136,12.352c-3.456,4.064-7.36,8.416-3.008,15.936c4.352,7.36,19.392,31.904,41.536,51.616 c28.576,25.44,51.744,33.568,60.032,37.024c6.176,2.56,13.536,1.952,18.048-2.848c5.728-6.176,12.8-16.416,20-26.496 c5.12-7.232,11.584-8.128,18.368-5.568c6.912,2.4,43.488,20.48,51.008,24.224c7.52,3.776,12.48,5.568,14.304,8.736 C411.2,329.152,411.2,344.032,405.024,361.504z"/> </svg></a> <a class="wplogout-social-sharing" title="Telegram'la paylaş"href="https://telegram.me/share/url?url=<?php echo $wplogoutTitle; echo " "; echo $wplogoutURL;?>" target="_blank" rel="noopener noreferrer nofollow"><svg version="1.1" width="24" height="24" viewBox="0 0 48 48" fill="none" xmlns="http://www.w3.org/2000/svg"> <path d="M24 48C37.2548 48 48 37.2548 48 24C48 10.7452 37.2548 0 24 0C10.7452 0 0 10.7452 0 24C0 37.2548 10.7452 48 24 48Z" fill="url(#paint0_linear)"/> <path d="M8.93822 25.174C11.7438 23.6286 14.8756 22.3388 17.8018 21.0424C22.836 18.919 27.8902 16.8324 32.9954 14.8898C33.9887 14.5588 35.7734 14.2351 35.9484 15.7071C35.8526 17.7907 35.4584 19.8621 35.188 21.9335C34.5017 26.4887 33.7085 31.0283 32.935 35.5685C32.6685 37.0808 30.774 37.8637 29.5618 36.8959C26.6486 34.9281 23.713 32.9795 20.837 30.9661C19.8949 30.0088 20.7685 28.6341 21.6099 27.9505C24.0093 25.5859 26.5539 23.5769 28.8279 21.0901C29.4413 19.6088 27.6289 20.8572 27.0311 21.2397C23.7463 23.5033 20.5419 25.9051 17.0787 27.8945C15.3097 28.8683 13.2479 28.0361 11.4797 27.4927C9.89428 26.8363 7.57106 26.175 8.93806 25.1741L8.93822 25.174Z" fill="white"/> <defs> <linearGradient id="paint0_linear" x1="18.0028" y1="2.0016" x2="6.0028" y2="30" gradientUnits="userSpaceOnUse"> <stop stop-color="#37AEE2"/> <stop offset="1" stop-color="#1E96C8"/> </linearGradient> </defs> </svg> </a> <a class="wplogout-social-sharing" title="E-postayla paylaş" href="mailto:?subject=<?php echo wp_title(''); ?>&body=<?php echo $wplogoutURL; ?>" target="_blank" rel="noopener noreferrer nofollow"><svg version="1.1" width="24" height="24" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 512 512" style="enable-background:new 0 0 512 512;" xml:space="preserve"> <circle style="fill:#5F98D1;" cx="256" cy="256" r="256"/> <path style="fill:#3A6DA1;" d="M415.813,147.466H95.558l116.019,120.806l33.48,33.9c-18.216-4.164-19.343-6.759-27.415-13.349 c-4.234-3.457-12.414-12.852-24.838-25.54C154.023,223.682,88.217,156.484,88.217,156.484v198.822l8.265,8.265l-0.925,0.963 L242.68,511.657c4.412,0.226,8.852,0.343,13.32,0.343c141.385,0,256-114.615,256-256c0-4.246-0.11-8.466-0.313-12.661 L415.813,147.466z"/> <polygon style="fill:#FFFFFF;" points="88.217,156.484 88.217,355.306 185.175,255.493 "/> <polygon style="fill:#FFFFFF;" points="423.783,156.484 423.783,355.306 327.307,255.895 "/> <path style="fill:#FFFFFF;" d="M95.558,147.466h320.255L289.948,278.524c-8.958,9.327-21.331,14.599-34.262,14.599 s-25.304-5.272-34.262-14.599L95.558,147.466z"/> <path style="fill:#FFFFFF;" d="M297.209,285.496c-10.799,11.244-25.933,17.694-41.523,17.694c-15.589,0-30.724-6.448-41.522-17.693 l-21.349-22.23L95.558,364.534h320.255l-97.256-101.267L297.209,285.496z"/></svg></a> </div>
September 10, 2022 at 10:54 am #2339167roadlinksolved.
Many thanksSeptember 11, 2022 at 9:47 am #2339765DavidStaffCustomer SupportGlad to hear that!
October 3, 2022 at 5:23 am #2361391francescoI have the same problem as you, how did you solve it?
October 3, 2022 at 6:03 am #2361418roadlinkmy problem was about code of telegram’s svg file. I find another svg and fixed it.
October 3, 2022 at 8:47 am #2361722francescohi, in my case the code doesn’t work. nothing is happening.
October 3, 2022 at 11:33 am #2361866LeoStaffCustomer SupportYou might want to ask the question to WPLogOut’s author if Roadlink isn’t able to help 🙂
-
AuthorPosts
- You must be logged in to reply to this topic.