Tips and Tricks HQ Support Portal › Forums › WP Photo Seller › Link Error
Tagged: error
- This topic has 10 replies, 3 voices, and was last updated 2 years ago by
thilo.
-
AuthorPosts
-
January 24, 2023 at 11:57 am #84815
thilo
ParticipantHello, your plugin is great thank you!
However there is a big problem with viewing detail pages 2,3 or 4 in a gallery. When clicking on the image there is always an error. If I copy the URL and enter it directly in the browser, the desired image appears?
I have installed your plugin on a test environment. Latest wordpress without plugins and standard themes. PHP 8 and database MariaDB 10.6!I have installed your plugin twice now with the same result! Can you help here, because I don’t know any more.
But see for yourself:
yesbo.de/photogallery/gallery2/?g_page=2January 24, 2023 at 3:21 pm #84816thilo
ParticipantIt has something to do with pagination, I’ve tested that much. When pagination is activated in the gallery, the URL changes and produces an error on the detail page
January 24, 2023 at 4:57 pm #84820admin
KeymasterHi, It could be an issue with the permalink setup. Your re-write rules may need to be flushed.
First, let me see the issue. I just went to the URL that you shared then I clicked on an image but I don’t see any error on the details page. Where should I look?
January 24, 2023 at 5:17 pm #84821wzp
Moderator@thilo — What browser & version are you seeing this in? I noticed the reported error occurs in Chrome 109.0.5414.75 but not Edge or Firefox.
January 24, 2023 at 5:34 pm #84822admin
KeymasterThis could be PHP8 related also. Are you on a PHP8 server?
January 25, 2023 at 12:32 am #84823thilo
ParticipantI don’t think the fault lies with the browser. I have the same errors in Chrome and Edge.
January 25, 2023 at 12:36 am #84824thilo
ParticipantHello, yes I have a PHP 8 server as written above.
I’ll share the error here:Fatal error: Uncaught ArgumentCountError: parse_str() expects exactly 2 arguments, 1 given in /homepages/9/d276701793/htdocs/yesbo/wp-content/plugins/wp-photo-seller/views/photo/photo-details-template-new.php:112 Stack trace: #0 /homepages/9/d276701793/htdocs/yesbo/wp-content/plugins/wp-photo-seller/views/photo/photo-details-template-new.php(112): parse_str(‘pagename=photog…’) #1 …..
January 25, 2023 at 12:47 am #84825thilo
ParticipantError found! Your plugin does not run with PHP 8.1 and produces errors. I have changed my server to PHP 7.4 and see no more errors.
Now the question is whether you provide an update, since PHP 7.4 no longer has support and is outdated.
January 25, 2023 at 6:15 pm #84829January 25, 2023 at 7:58 pm #84831admin
KeymasterPlease try loading a fresh new copy of the plugin now (I fixed that error for PHP8):
January 26, 2023 at 12:13 am #84832thilo
ParticipantThank you for your quick update. Very good support!
-
AuthorPosts
- You must be logged in to reply to this topic.