Help: Uncaught exception on WP 5.4.1
-
I currently have Square 2.1.3 disabled. As soon as I enable the plugin, my site experiences an uncaught error. I have to SSH an remove the Square plugin from the command line to restore functionality. I have run The plugin for years without issue, to this point. I’m currently running the latest versions of WordPress and Woocommerce and Square. This is running on PHP7.3-from on Nginx on a fully updated Ubuntu 18.04 server install.
I have also tried to regress to Square 2.1.2, but that causes the same problem. I use Square to process all of my payments, and having this down for the upcoming Mother’s Day holiday hurts. I hope that this can be easily fixed.
Here is the error message that I receive when it’s activated.
Uncaught Error: Call to a member function is_sandbox() on null in /var/www/html/lebonmacaron.com/wp-content/plugins/woocommerce-square/includes/Handlers/Connection.php on line 241 * refresh_connection() * wp-content/plugins/woocommerce-square/includes/API.php:812 * do_post_parse_response_validation() * wp-content/plugins/woocommerce-square/includes/API.php:776 * handle_response() * wp-content/plugins/woocommerce-square/includes/API.php:743 * perform_request() * wp-content/plugins/woocommerce-square/includes/API.php:607 * get_locations() * wp-content/plugins/woocommerce-square/includes/Settings.php:619 * get_locations() * wp-content/plugins/woocommerce-square/includes/Settings.php:270 * get_form_fields() * wp-content/plugins/woocommerce/includes/abstracts/abstract-wc-settings-api.php:287 * get_option() * wp-content/plugins/woocommerce-square/includes/Settings.php:814 * get_enable_sandbox() * wp-content/plugins/woocommerce-square/includes/Settings.php:826 * is_sandbox_setting_enabled() * wp-content/plugins/woocommerce-square/includes/Settings.php:838 * get_environment() * wp-content/plugins/woocommerce-square/includes/Settings.php:570 * is_sandbox() * wp-content/plugins/woocommerce-square/includes/Settings.php:91 * __construct() * wp-content/plugins/woocommerce-square/includes/Plugin.php:214 * init_plugin() * wp-includes/class-wp-hook.php:287 * apply_filters() * wp-includes/class-wp-hook.php:311 * do_action() * wp-includes/plugin.php:478 * do_action() * wp-settings.php:403 * require_once() * wp-config.php:82 * require_once() * wp-load.php:37 * require_once() * wp-admin/admin.php:34 * require_once() * wp-admin/plugins.php:10 There has been a critical error on your websiteHelp is greatly appreciated!
- This topic was modified 5 years, 11 months ago by .
- This topic was modified 5 years, 11 months ago by .
The page I need help with: [log in to see the link]
The topic ‘Help: Uncaught exception on WP 5.4.1’ is closed to new replies.