Tips and Tricks HQ Support Portal › Forums › WP Photo Seller › Photo Seller – Paypal payment fata error
Tagged: sandbox
- This topic has 15 replies, 5 voices, and was last updated 6 years, 4 months ago by admin.
-
AuthorPosts
-
February 18, 2018 at 11:12 am #14706iks2Member
Hi All, I have this error when I test a payment with paypal for 1 of my pictures. Do you know how to solve this?
You can test on [http://www.julienbukowski.ch/photogallery/gallery1/]
Fatal error: Uncaught Error: Call to a member function getFullTotal() on boolean in /home/julienbukowski/public_html/wp-content/plugins/wp-photo-seller/models/WPSShortcodeManager.php:307 Stack trace: #0 /home/julienbukowski/public_html/wp-includes/shortcodes.php(319): WPSShortcodeManager->checkoutSelect(”, ”, ‘WPS_checkout_se…’) #1 [internal function]: do_shortcode_tag(Array) #2 /home/julienbukowski/public_html/wp-includes/shortcodes.php(197): preg_replace_callback(‘/\[(\[?)(WPS_sh…’, ‘do_shortcode_ta…’, ‘[WPS_checkout_s…’) #3 /home/julienbukowski/public_html/wp-includes/class-wp-hook.php(286): do_shortcode(‘[WPS_checkout_s…’) #4 /home/julienbukowski/public_html/wp-includes/plugin.php(203): WP_Hook->apply_filters(‘[WPS_checkout_s…’, Array) #5 /home/julienbukowski/public_html/wp-content/themes/landscape-photo-pmc/functions.php(299): apply_filters(‘the_content’, ‘[WPS_checkout_s…’) #6 /home/julienbukowski/public_html/wp-includes/class-wp-hook.php(288): landscape_photo_pmc_wp_trim_excerpt(‘[WPS_checkout_s.. in /home/julienbukowski/public_html/wp-content/plugins/wp-photo-seller/models/WPSShortcodeManager.php on line 307
February 18, 2018 at 12:51 pm #77309wzpModeratorFebruary 18, 2018 at 1:06 pm #77310iks2MemberHi wzp, I did that just now, but same issue.
February 18, 2018 at 10:43 pm #77311PeterMemberHi iks2
I will look into the code and email you later today.
February 18, 2018 at 10:56 pm #77312PeterMemberI’ve just noticed on your site that it is producing a whole bunch of javascript errors – eg,
HEAD [http://www.julienbukowski.ch/wp-content/uploads/2017/11/logo-landscape-photo-white@2x.png] 404 (Not Found) retina.min.js?ver=1:10
There are quite a few similar errors caused by the retina.min.js file.
I think this is affecting the javascript code for the photo seller plugin.
Can you please see if you can turn off that retina script and check if the photo seller error goes away?
https://support.tipsandtricks-hq.com/forums/topic/debugging-javascript-errors-on-your-site
February 19, 2018 at 10:23 am #77313iks2MemberHi, I updated retina.min.js to version 2.0 and installed jquery.isotope.min.js that was missing. No more errors, but same issue. Can you please check again?
February 19, 2018 at 1:53 pm #77314PeterMemberHi
I have sent you an email.
July 23, 2018 at 7:43 am #77315nirommuxMemberHi All, I have this error when I test a payment with paypal for 1 of my pictures. Do you know how to solve this? Similar question was already before, but there is no answer to it in the forum. I updated the plugin, but the error remained.
You can test on [http://nicick.com/photogallery/gallery3/]
Fatal error: Uncaught Error: Call to a member function getFullTotal() on boolean in /var/www/vhosts/nicick.com/httpdocs/wp-content/plugins/wp-photo-seller/models/WPSShortcodeManager.php:298
July 24, 2018 at 6:35 am #77316PeterMemberHi
Can you please enable logging for photo seller plugin?
After you have done that please reproduce the issue and then check the log file located here:
wp-content/plugins/wp-photo-seller/log.txt
Also please check your server PHP error log file and let us know what logs you see for both of the log files.
Also, when I add something to the cart and the visit your cart page I keep seeing the following error in developer tools:
Failed to set referrer policy: The value '' is not one of 'no-referrer', 'no-referrer-when-downgrade', 'origin', 'origin-when-cross-origin', 'same-origin', 'strict-origin', 'strict-origin-when-cross-origin', or 'unsafe-url'. The referrer policy has been left unchanged.
I don’t know whether this is contributing to the issue but I recommend that you get that fixed.
July 24, 2018 at 12:04 pm #77317nirommuxMemberHi,
I do enable logging for photo seller plugin
Log file located here: wp-content/plugins/wp-photo-seller/log.txt is empty
Server PHP error log file:
[Tue Jul 24 05:56:18 2018] [warn] [client 62.80.231.27] mod_fcgid: stderr: PHP Fatal error: Uncaught Error: Call to a member function getFullTotal() on boolean in /var/www/vhosts/nicick.com/httpdocs/wp-content/plugins/wp-photo-seller/models/WPSShortcodeManager.php:298 ….
July 24, 2018 at 12:31 pm #77318wzpModeratorQuestion: Why is your server running mod_fcgid instead of mod_fastcgi? Because mod_fcgid passes just one request to the FCGI server at a time while mod_fastcgi passes several requests at once, the latter is usually better for PHP, as PHP can manage several request using several threads and opcode caches like APC usually work only with threads and not with processes. This means that using mod_fcgid you end up having many PHP processes which all have their very own opcode cache.
July 25, 2018 at 1:04 am #77319adminKeymasterSomehow the WPSCart session is dropping on this site. So it is failing to call the function on that object.
Can you please do the following test to make sure the theme or another plugin isn’t messing up your session functionality?
https://support.tipsandtricks-hq.com/forums/topic/test-to-identy-a-conflicting-theme-or-plugin
July 25, 2018 at 4:56 am #77320nirommuxMemberThank you very much for help. Very strange but to NOT play nice with WP Seller was All In One SEO Pack. Now all is well.
July 25, 2018 at 8:05 am #77321adminKeymasterThe plugin shouldn’t have any issue with the all in one seo plugin. Maybe there is a feature that you have enabled in that plugin that is conflicting somehow. Is that plugin fully upto date?
July 25, 2018 at 12:55 pm #77322nirommuxMemberThat’s right, this plugin up to date. I just deleted the plugin. Now everything works.
-
AuthorPosts
- You must be logged in to reply to this topic.