chrisgrab
Forum Replies Created
-
Forum: Plugins
In reply to: [Inactive Logout] Fatal error: Uncaught ErrorHi there, I just noticed the same thing happening on a site that I manage. Users were reporting seeing the WordPress “The site is experiencing technical difficulties” message when loading the site – not even when logging into anything. Refreshing the page made the page load up just fine, but looking in the logs has the same errors as in the post above:
[18-Aug-2019 13:41:54 UTC] PHP Fatal error: Uncaught Error: Call to undefined function ina_helpers() in /var/www/html/wp-content/plugins/inactive-logout/src/class-inactive-logout-main.php:266
Stack trace:
#0 /var/www/html/wp-includes/class-wp-hook.php(286): Inactive_Logout_Main->load_scripts(”)
#1 /var/www/html/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters(NULL, Array)
#2 /var/www/html/wp-includes/plugin.php(465): WP_Hook->do_action(Array)
#3 /var/www/html/wp-includes/script-loader.php(2537): do_action(‘wp_enqueue_scri…’)
#4 /var/www/html/wp-includes/class-wp-hook.php(286): wp_enqueue_scripts(”)
#5 /var/www/html/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters(NULL, Array)
#6 /var/www/html/wp-includes/plugin.php(465): WP_Hook->do_action(Array)
#7 /var/www/html/wp-includes/general-template.php(2745): do_action(‘wp_head’)
#8 /var/www/html/wp-content/themes/x/framework/legacy/cranium/headers/views/global/_header.php(16): wp_head()
#9 /var/www/html/wp-content/themes/x/framework/functions/frontend/view-routing.php(182): include(‘/ in /var/www/html/wp-content/plugins/inactive-logout/src/class-inactive-logout-main.php on line 266We are using the X theme on WordPress 5.2.2 with version 1.9.1 of Inactive Logout.
We are running PHP version 7.2.21 if that is helpful.Please let me know if there’s a fix, thank you for your help!
I think I figured it out. I looked at your example and it worked right away. So I compared yours to mine, and realized one difference was that I had SCABN set to use the Paypal Sandbox and yours is set to live. So I switched mine to live, just to see, and it worked fine. I guess the Paypal sandbox doesn’t read the shipping settings from the live seller account. I’ll make sure my sandbox seller account is set up correctly.
Thanks again for the help and the plugin!
Thanks for the tips – I’ve been digging through support threads on the Paypal side as well. Is the “check out with Paypal” button using Paypal Express Checkout? From what I’m reading, people are saying that Paypal Express Checkout doesn’t support shipping options.
Is there a way to have SCABN pass its cart contents to a standard Paypal shopping cart? Or, do you know of any SCABN users who have successfully set up multiple shipping methods with the Paypal Express Checkout and how they did it?
I will keep searching through Paypal support to see if there’s any useful information for me there.
Thanks again!
Forum: Plugins
In reply to: [WP-Cycle] Modified WP-Cycle pluginSure, I hope this is useful:
https://www.chrisgrab.com/downloads/wp-cycle.zip
Just replace the original wp-cycle.php file with this one and it should work. I’ve added comments throughout the code showing where I made updates.