Fatal error in wcj-functions-country.php:157
-
Hi! I’ve come across a fatal error that breaks the admin pages whenever Booster is activated. This is a production site, and everything was working just fine for ages. It rarely gets changed, it just sits there with automatic updates, so I rarely check in. Yesterday I did, and I found the admin area inaccessible until I disabled Booster.
I’ve tried disabling all plugins (except WooCommerce and Flexible SSL for CloudFlare, which I need for the site to work) to no avail. Changing the theme to TwentyTwentyFour didn’t help either. Do you have any suggestions?
Fatal error: Uncaught Error: Call to a member function get_base_country() on null in /wp-content/plugins/woocommerce-jetpack/includes/functions/wcj-functions-country.php:157 Stack trace: #0 /wp-content/plugins/woocommerce-jetpack/includes/settings/wcj-settings-payment-gateways-by-country.php(89): wcj_get_states() #1 /wp-content/plugins/woocommerce-jetpack/includes/classes/class-wcj-module.php(453): require('/var/www/html…') #2 /wp-includes/class-wp-hook.php(324): WCJ_Module->add_settings_from_file(Array) 3 /wp-includes/plugin.php(205): WP_Hook->apply_filters(Array, Array) #4 /wp-content/plugins/woocommerce-jetpack/includes/classes/class-wcj-module.php(597): apply_filters('wcj_payment_gat…', Array) #5 /wp-content/plugins/woocommerce-jetpack/includes/core/wcj-options.php(27): WCJ_Module->get_settings() #6 in /wp-content/plugins/woocommerce-jetpack/includes/functions/wcj-functions-country.php on line 157
WP and all plugins are up to date. The server is quite capable (shared hosting with Apache and php 8.1 with OPChache).
- This topic was modified 12 months ago by . Reason: formatting
- This topic was modified 12 months ago by .
The page I need help with: [log in to see the link]
- The topic ‘Fatal error in wcj-functions-country.php:157’ is closed to new replies.