PHP Fatal Error Call to a member Function
-
After Upgrading to 3.4 I am getting the error like below. Here is the Error log below. Til 3.3.9 It works fine.
[Fri Nov 17 12:43:31.951850 2023] [proxy_fcgi:error] [pid 25609:tid 139676063487744] [remote IP:14249] AH01071: Got error 'PHP message: PHP Fatal error: Uncaught Error: Call to a member function get_continents() on null in /wp-content/plugins/woocommerce/includes/class-wc-shipping-zone.php:111\nStack trace:\n#0 /wp-content/plugins/woocommerce/includes/class-wc-shipping-zones.php(35): WC_Shipping_Zone->get_formatted_location()\n#1 /wp-content/plugins/custom-emails-for-woocommerce/includes/settings/class-alg-wc-custom-email-settings.php(209): WC_Shipping_Zones::get_zones()\n#2 /wp-content/plugins/custom-emails-for-woocommerce/includes/settings/class-alg-wc-custom-email-settings.php(228): Alg_WC_Custom_Email_Settings->get_shipping_zones()\n#3 /wp-content/plugins/custom-emails-for-woocommerce/includes/settings/class-alg-wc-custom-email-settings.php(633): Alg_WC_Custom_Email_Settings->get_shipping_methods_instances()\n#4 /www/wwwroot/hireand...', referer: /wp-admin/plugins.php [Fri Nov 17 12:43:39.121388 2023] [proxy_fcgi:error] [pid 25609:tid 139675929204480] [remote IP:14249] AH01071: Got error 'PHP message: PHP Fatal error: Uncaught Error: Call to a member function get_continents() on null in /wp-content/plugins/woocommerce/includes/class-wc-shipping-zone.php:111\nStack trace:\n#0 /wp-content/plugins/woocommerce/includes/class-wc-shipping-zones.php(35): WC_Shipping_Zone->get_formatted_location()\n#1 /wp-content/plugins/custom-emails-for-woocommerce/includes/settings/class-alg-wc-custom-email-settings.php(209): WC_Shipping_Zones::get_zones()\n#2 /wp-content/plugins/custom-emails-for-woocommerce/includes/settings/class-alg-wc-custom-email-settings.php(228): Alg_WC_Custom_Email_Settings->get_shipping_zones()\n#3 /wp-content/plugins/custom-emails-for-woocommerce/includes/settings/class-alg-wc-custom-email-settings.php(633): Alg_WC_Custom_Email_Settings->get_shipping_methods_instances()\n#4 /www/wwwroot/hireand...', referer: /wp-admin/plugins.php [Fri Nov 17 12:43:42.113935 2023] [proxy_fcgi:error] [pid 25609:tid 139676038309632] [remote IP:14249] AH01071: Got error 'PHP message: PHP Fatal error: Uncaught Error: Call to a member function get_continents() on null in /wp-content/plugins/woocommerce/includes/class-wc-shipping-zone.php:111\nStack trace:\n#0 /wp-content/plugins/woocommerce/includes/class-wc-shipping-zones.php(35): WC_Shipping_Zone->get_formatted_location()\n#1 /wp-content/plugins/custom-emails-for-woocommerce/includes/settings/class-alg-wc-custom-email-settings.php(209): WC_Shipping_Zones::get_zones()\n#2 /wp-content/plugins/custom-emails-for-woocommerce/includes/settings/class-alg-wc-custom-email-settings.php(228): Alg_WC_Custom_Email_Settings->get_shipping_zones()\n#3 /wp-content/plugins/custom-emails-for-woocommerce/includes/settings/class-alg-wc-custom-email-settings.php(633): Alg_WC_Custom_Email_Settings->get_shipping_methods_instances()\n#4 /www/wwwroot/hireand...', referer: /wp-admin/plugins.php [Fri Nov 17 12:43:51.934828 2023] [proxy_fcgi:error] [pid 25609:tid 139675954382592] [remote IP:14249] AH01071: Got error 'PHP message: PHP Fatal error: Uncaught Error: Call to a member function get_continents() on null in /wp-content/plugins/woocommerce/includes/class-wc-shipping-zone.php:111\nStack trace:\n#0 /wp-content/plugins/woocommerce/includes/class-wc-shipping-zones.php(35): WC_Shipping_Zone->get_formatted_location()\n#1 /wp-content/plugins/custom-emails-for-woocommerce/includes/settings/class-alg-wc-custom-email-settings.php(209): WC_Shipping_Zones::get_zones()\n#2 /wp-content/plugins/custom-emails-for-woocommerce/includes/settings/class-alg-wc-custom-email-settings.php(228): Alg_WC_Custom_Email_Settings->get_shipping_zones()\n#3 /wp-content/plugins/custom-emails-for-woocommerce/includes/settings/class-alg-wc-custom-email-settings.php(633): Alg_WC_Custom_Email_Settings->get_shipping_methods_instances()\n#4 /www/wwwroot/hireand...', referer: /wp-admin/post.php?post=36821&action=elementor [Fri Nov 17 12:44:06.081108 2023] [proxy_fcgi:error] [pid 25609:tid 139675708659456] [client 46.182.7.36:41418] AH01071: Got error 'PHP message: PHP Fatal error: Uncaught Error: Call to a member function get_continents() on null in /wp-content/plugins/woocommerce/includes/class-wc-shipping-zone.php:111\nStack trace:\n#0 /wp-content/plugins/woocommerce/includes/class-wc-shipping-zones.php(35): WC_Shipping_Zone->get_formatted_location()\n#1 /wp-content/plugins/custom-emails-for-woocommerce/includes/settings/class-alg-wc-custom-email-settings.php(209): WC_Shipping_Zones::get_zones()\n#2 /wp-content/plugins/custom-emails-for-woocommerce/includes/settings/class-alg-wc-custom-email-settings.php(228): Alg_WC_Custom_Email_Settings->get_shipping_zones()\n#3 /wp-content/plugins/custom-emails-for-woocommerce/includes/settings/class-alg-wc-custom-email-settings.php(633): Alg_WC_Custom_Email_Settings->get_shipping_methods_instances()\n#4 /www/wwwroot/hireand...', referer: /wp-login.php [Fri Nov 17 12:44:11.271630 2023] [proxy_fcgi:error] [pid 25387:tid 139675954382592] [remote IP:52330] AH01071: Got error 'PHP message: PHP Fatal error: Uncaught Error: Call to a member function get_continents() on null in /wp-content/plugins/woocommerce/includes/class-wc-shipping-zone.php:111\nStack trace:\n#0 /wp-content/plugins/woocommerce/includes/class-wc-shipping-zones.php(35): WC_Shipping_Zone->get_formatted_location()\n#1 /wp-content/plugins/custom-emails-for-woocommerce/includes/settings/class-alg-wc-custom-email-settings.php(209): WC_Shipping_Zones::get_zones()\n#2 /wp-content/plugins/custom-emails-for-woocommerce/includes/settings/class-alg-wc-custom-email-settings.php(228): Alg_WC_Custom_Email_Settings->get_shipping_zones()\n#3 /wp-content/plugins/custom-emails-for-woocommerce/includes/settings/class-alg-wc-custom-email-settings.php(633): Alg_WC_Custom_Email_Settings->get_shipping_methods_instances()\n#4 /www/wwwroot/hireand...', referer: /wp-admin/plugins.php [Fri Nov 17 12:45:08.330147 2023] [proxy_fcgi:error] [pid 25609:tid 139671984133888] [remote IP:38823] AH01071: Got error 'PHP message: PHP Fatal error: Uncaught Error: Call to a member function get_continents() on null in /wp-content/plugins/woocommerce/includes/class-wc-shipping-zone.php:111\nStack trace:\n#0 /wp-content/plugins/woocommerce/includes/class-wc-shipping-zones.php(35): WC_Shipping_Zone->get_formatted_location()\n#1 /wp-content/plugins/custom-emails-for-woocommerce/includes/settings/class-alg-wc-custom-email-settings.php(209): WC_Shipping_Zones::get_zones()\n#2 /wp-content/plugins/custom-emails-for-woocommerce/includes/settings/class-alg-wc-custom-email-settings.php(228): Alg_WC_Custom_Email_Settings->get_shipping_zones()\n#3 /wp-content/plugins/custom-emails-for-woocommerce/includes/settings/class-alg-wc-custom-email-settings.php(633): Alg_WC_Custom_Email_Settings->get_shipping_methods_instances()\n#4 /www/wwwroot/hireand...', referer: /wp-admin/edit-tags.php?taxonomy=product_cat&post_type=product&paged=1 [Fri Nov 17 12:45:10.632714 2023] [proxy_fcgi:error] [pid 25609:tid 139675582768896] [remote IP:38823] AH01071: Got error 'PHP message: PHP Fatal error: Uncaught Error: Call to a member function get_continents() on null in /wp-content/plugins/woocommerce/includes/class-wc-shipping-zone.php:111\nStack trace:\n#0 /wp-content/plugins/woocommerce/includes/class-wc-shipping-zones.php(35): WC_Shipping_Zone->get_formatted_location()\n#1 /wp-content/plugins/custom-emails-for-woocommerce/includes/settings/class-alg-wc-custom-email-settings.php(209): WC_Shipping_Zones::get_zones()\n#2 /wp-content/plugins/custom-emails-for-woocommerce/includes/settings/class-alg-wc-custom-email-settings.php(228): Alg_WC_Custom_Email_Settings->get_shipping_zones()\n#3 /wp-content/plugins/custom-emails-for-woocommerce/includes/settings/class-alg-wc-custom-email-settings.php(633): Alg_WC_Custom_Email_Settings->get_shipping_methods_instances()\n#4 /www/wwwroot/hireand...', referer: /wp-admin/plugins.php [Fri Nov 17 12:45:16.094834 2023] [proxy_fcgi:error] [pid 25609:tid 139675599554304] [remote IP:38823] AH01071: Got error 'PHP message: PHP Fatal error: Uncaught Error: Call to a member function get_continents() on null in /wp-content/plugins/woocommerce/includes/class-wc-shipping-zone.php:111\nStack trace:\n#0 /wp-content/plugins/woocommerce/includes/class-wc-shipping-zones.php(35): WC_Shipping_Zone->get_formatted_location()\n#1 /wp-content/plugins/custom-emails-for-woocommerce/includes/settings/class-alg-wc-custom-email-settings.php(209): WC_Shipping_Zones::get_zones()\n#2 /wp-content/plugins/custom-emails-for-woocommerce/includes/settings/class-alg-wc-custom-email-settings.php(228): Alg_WC_Custom_Email_Settings->get_shipping_zones()\n#3 /wp-content/plugins/custom-emails-for-woocommerce/includes/settings/class-alg-wc-custom-email-settings.php(633): Alg_WC_Custom_Email_Settings->get_shipping_methods_instances()\n#4 /www/wwwroot/hireand...', referer: /wp-admin/edit-tags.php?taxonomy=product_cat&post_type=product&paged=1 [Fri Nov 17 12:45:31.125571 2023] [proxy_fcgi:error] [pid 25609:tid 139671975741184] [remote IP:38823] AH01071: Got error 'PHP message: PHP Fatal error: Uncaught Error: Call to a member function get_continents() on null in /wp-content/plugins/woocommerce/includes/class-wc-shipping-zone.php:111\nStack trace:\n#0 /wp-content/plugins/woocommerce/includes/class-wc-shipping-zones.php(35): WC_Shipping_Zone->get_formatted_location()\n#1 /wp-content/plugins/custom-emails-for-woocommerce/includes/settings/class-alg-wc-custom-email-settings.php(209): WC_Shipping_Zones::get_zones()\n#2 /wp-content/plugins/custom-emails-for-woocommerce/includes/settings/class-alg-wc-custom-email-settings.php(228): Alg_WC_Custom_Email_Settings->get_shipping_zones()\n#3 /wp-content/plugins/custom-emails-for-woocommerce/includes/settings/class-alg-wc-custom-email-settings.php(633): Alg_WC_Custom_Email_Settings->get_shipping_methods_instances()\n#4 /www/wwwroot/hireand...' [Fri Nov 17 12:45:36.161799 2023] [proxy_fcgi:error] [pid 25609:tid 139675904026368] [remote IP:38823] AH01071: Got error 'PHP message: PHP Fatal error: Uncaught Error: Call to a member function get_continents() on null in /wp-content/plugins/woocommerce/includes/class-wc-shipping-zone.php:111\nStack trace:\n#0 /wp-content/plugins/woocommerce/includes/class-wc-shipping-zones.php(35): WC_Shipping_Zone->get_formatted_location()\n#1 /wp-content/plugins/custom-emails-for-woocommerce/includes/settings/class-alg-wc-custom-email-settings.php(209): WC_Shipping_Zones::get_zones()\n#2 /wp-content/plugins/custom-emails-for-woocommerce/includes/settings/class-alg-wc-custom-email-settings.php(228): Alg_WC_Custom_Email_Settings->get_shipping_zones()\n#3 /wp-content/plugins/custom-emails-for-woocommerce/includes/settings/class-alg-wc-custom-email-settings.php(633): Alg_WC_Custom_Email_Settings->get_shipping_methods_instances()\n#4 /www/wwwroot/hireand...' [Fri Nov 17 12:45:48.267649 2023] [proxy_fcgi:error] [pid 25609:tid 139676105451264] [remote IP:38823] AH01071: Got error 'PHP message: PHP Fatal error: Uncaught Error: Call to a member function get_continents() on null in /wp-content/plugins/woocommerce/includes/class-wc-shipping-zone.php:111\nStack trace:\n#0 /wp-content/plugins/woocommerce/includes/class-wc-shipping-zones.php(35): WC_Shipping_Zone->get_formatted_location()\n#1 /wp-content/plugins/custom-emails-for-woocommerce/includes/settings/class-alg-wc-custom-email-settings.php(209): WC_Shipping_Zones::get_zones()\n#2 /wp-content/plugins/custom-emails-for-woocommerce/includes/settings/class-alg-wc-custom-email-settings.php(228): Alg_WC_Custom_Email_Settings->get_shipping_zones()\n#3 /wp-content/plugins/custom-emails-for-woocommerce/includes/settings/class-alg-wc-custom-email-settings.php(633): Alg_WC_Custom_Email_Settings->get_shipping_methods_instances()\n#4 /www/wwwroot/hireand...', referer: /wp-admin/post.php?post=36821&action=elementor [Fri Nov 17 12:45:55.098061 2023] [proxy_fcgi:error] [pid 25386:tid 139675649910528] [client 66.249.74.44:56064] AH01071: Got error 'PHP message: PHP Fatal error: Uncaught Error: Call to a member function get_continents() on null in /wp-content/plugins/woocommerce/includes/class-wc-shipping-zone.php:111\nStack trace:\n#0 /wp-content/plugins/woocommerce/includes/class-wc-shipping-zones.php(35): WC_Shipping_Zone->get_formatted_location()\n#1 /wp-content/plugins/custom-emails-for-woocommerce/includes/settings/class-alg-wc-custom-email-settings.php(209): WC_Shipping_Zones::get_zones()\n#2 /wp-content/plugins/custom-emails-for-woocommerce/includes/settings/class-alg-wc-custom-email-settings.php(228): Alg_WC_Custom_Email_Settings->get_shipping_zones()\n#3 /wp-content/plugins/custom-emails-for-woocommerce/includes/settings/class-alg-wc-custom-email-settings.php(633): Alg_WC_Custom_Email_Settings->get_shipping_methods_instances()\n#4 /www/wwwroot/hireand...' [Fri Nov 17 12:46:03.790777 2023] [proxy_fcgi:error] [pid 25609:tid 139675649910528] [client 69.163.253.44:43790] AH01071: Got error 'PHP message: PHP Fatal error: Uncaught Error: Call to a member function get_continents() on null in /wp-content/plugins/woocommerce/includes/class-wc-shipping-zone.php:111\nStack trace:\n#0 /wp-content/plugins/woocommerce/includes/class-wc-shipping-zones.php(35): WC_Shipping_Zone->get_formatted_location()\n#1 /wp-content/plugins/custom-emails-for-woocommerce/includes/settings/class-alg-wc-custom-email-settings.php(209): WC_Shipping_Zones::get_zones()\n#2 /wp-content/plugins/custom-emails-for-woocommerce/includes/settings/class-alg-wc-custom-email-settings.php(228): Alg_WC_Custom_Email_Settings->get_shipping_zones()\n#3 /wp-content/plugins/custom-emails-for-woocommerce/includes/settings/class-alg-wc-custom-email-settings.php(633): Alg_WC_Custom_Email_Settings->get_shipping_methods_instances()\n#4 /www/wwwroot/hireand...' [Fri Nov 17 12:46:37.527382 2023] [proxy_fcgi:error] [pid 25385:tid 139675862062848] [client 173.212.231.122:47166] AH01071: Got error 'PHP message: PHP Fatal error: Uncaught Error: Call to a member function get_continents() on null in /wp-content/plugins/woocommerce/includes/class-wc-shipping-zone.php:111\nStack trace:\n#0 /wp-content/plugins/woocommerce/includes/class-wc-shipping-zones.php(35): WC_Shipping_Zone->get_formatted_location()\n#1 /wp-content/plugins/custom-emails-for-woocommerce/includes/settings/class-alg-wc-custom-email-settings.php(209): WC_Shipping_Zones::get_zones()\n#2 /wp-content/plugins/custom-emails-for-woocommerce/includes/settings/class-alg-wc-custom-email-settings.php(228): Alg_WC_Custom_Email_Settings->get_shipping_zones()\n#3 /wp-content/plugins/custom-emails-for-woocommerce/includes/settings/class-alg-wc-custom-email-settings.php(633): Alg_WC_Custom_Email_Settings->get_shipping_methods_instances()\n#4 /www/wwwroot/hireand...' [Fri Nov 17 12:46:39.217853 2023] [proxy_fcgi:error] [pid 25609:tid 139675683481344] [client 173.212.231.122:47168] AH01071: Got error 'PHP message: PHP Fatal error: Uncaught Error: Call to a member function get_continents() on null in /wp-content/plugins/woocommerce/includes/class-wc-shipping-zone.php:111\nStack trace:\n#0 /wp-content/plugins/woocommerce/includes/class-wc-shipping-zones.php(35): WC_Shipping_Zone->get_formatted_location()\n#1 /wp-content/plugins/custom-emails-for-woocommerce/includes/settings/class-alg-wc-custom-email-settings.php(209): WC_Shipping_Zones::get_zones()\n#2 /wp-content/plugins/custom-emails-for-woocommerce/includes/settings/class-alg-wc-custom-email-settings.php(228): Alg_WC_Custom_Email_Settings->get_shipping_zones()\n#3 /wp-content/plugins/custom-emails-for-woocommerce/includes/settings/class-alg-wc-custom-email-settings.php(633): Alg_WC_Custom_Email_Settings->get_shipping_methods_instances()\n#4 /www/wwwroot/hireand...' [Fri Nov 17 12:46:48.824800 2023] [proxy_fcgi:error] [pid 25387:tid 139675862062848] [client 66.249.74.45:64228] AH01071: Got error 'PHP message: PHP Fatal error: Uncaught Error: Call to a member function get_continents() on null in /wp-content/plugins/woocommerce/includes/class-wc-shipping-zone.php:111\nStack trace:\n#0 /wp-content/plugins/woocommerce/includes/class-wc-shipping-zones.php(35): WC_Shipping_Zone->get_formatted_location()\n#1 /wp-content/plugins/custom-emails-for-woocommerce/includes/settings/class-alg-wc-custom-email-settings.php(209): WC_Shipping_Zones::get_zones()\n#2 /wp-content/plugins/custom-emails-for-woocommerce/includes/settings/class-alg-wc-custom-email-settings.php(228): Alg_WC_Custom_Email_Settings->get_shipping_zones()\n#3 /wp-content/plugins/custom-emails-for-woocommerce/includes/settings/class-alg-wc-custom-email-settings.php(633): Alg_WC_Custom_Email_Settings->get_shipping_methods_instances()\n#4 /www/wwwroot/hireand...' [Fri Nov 17 12:47:06.082696 2023] [proxy_fcgi:error] [pid 25609:tid 139675691874048] [client 66.249.74.44:57741] AH01071: Got error 'PHP message: PHP Fatal error: Uncaught Error: Call to a member function get_continents() on null in /wp-content/plugins/woocommerce/includes/class-wc-shipping-zone.php:111\nStack trace:\n#0 /wp-content/plugins/woocommerce/includes/class-wc-shipping-zones.php(35): WC_Shipping_Zone->get_formatted_location()\n#1 /wp-content/plugins/custom-emails-for-woocommerce/includes/settings/class-alg-wc-custom-email-settings.php(209): WC_Shipping_Zones::get_zones()\n#2 /wp-content/plugins/custom-emails-for-woocommerce/includes/settings/class-alg-wc-custom-email-settings.php(228): Alg_WC_Custom_Email_Settings->get_shipping_zones()\n#3 /wp-content/plugins/custom-emails-for-woocommerce/includes/settings/class-alg-wc-custom-email-settings.php(633): Alg_WC_Custom_Email_Settings->get_shipping_methods_instances()\n#4 /www/wwwroot/hireand...' [Fri Nov 17 12:47:08.721845 2023] [proxy_fcgi:error] [pid 25609:tid 139676046702336] [remote IP:50822] AH01071: Got error 'PHP message: PHP Fatal error: Uncaught Error: Call to a member function get_continents() on null in /wp-content/plugins/woocommerce/includes/class-wc-shipping-zone.php:111\nStack trace:\n#0 /wp-content/plugins/woocommerce/includes/class-wc-shipping-zones.php(35): WC_Shipping_Zone->get_formatted_location()\n#1 /wp-content/plugins/custom-emails-for-woocommerce/includes/settings/class-alg-wc-custom-email-settings.php(209): WC_Shipping_Zones::get_zones()\n#2 /wp-content/plugins/custom-emails-for-woocommerce/includes/settings/class-alg-wc-custom-email-settings.php(228): Alg_WC_Custom_Email_Settings->get_shipping_zones()\n#3 /wp-content/plugins/custom-emails-for-woocommerce/includes/settings/class-alg-wc-custom-email-settings.php(633): Alg_WC_Custom_Email_Settings->get_shipping_methods_instances()\n#4 /www/wwwroot/hireand...', referer: /wp-admin/edit-tags.php?taxonomy=product_cat&post_type=product&paged=1
The page I need help with: [log in to see the link]
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘PHP Fatal Error Call to a member Function’ is closed to new replies.