Divi and Woocommerce issue
-
Hi,
I don’t understand why this is happening, because everything was fine in the evening and suddenly in the morning nothing was working.
I am using Divi and have created Divi Theme Builder to create a template for all product pages.
It was not possible to open the website and any product page.
And I had a fatal error.
I am currently using WooCommerce v8.5.1.
So…
I found the site dead this morning, and only after disabling the Woo, I understood what was the cause of the problem.
I enabled WP Debug and tried to degrade to v.8.4.0, and using this version I can open the website and a product page but anyway, I still have a fatal error/
Cold you look at it and point where to dig?Fatal error: Uncaught TypeError: strpos(): Argument #1 ($haystack) must be of type string, array given in /home/mysite.com/wp-content/plugins/woocommerce/src/Admin/RemoteInboxNotifications/ComparisonOperation.php:49 Stack trace: #0 /home/mysite.com/wp-content/plugins/woocommerce/src/Admin/RemoteInboxNotifications/ComparisonOperation.php(49): strpos() #1 /home/mysite.com/wp-content/plugins/woocommerce/src/Admin/RemoteInboxNotifications/OptionRuleProcessor.php(35): Automattic\WooCommerce\Admin\RemoteInboxNotifications\ComparisonOperation::compare() #2 /home/mysite.com/wp-content/plugins/woocommerce/src/Admin/RemoteInboxNotifications/RuleEvaluator.php(79): Automattic\WooCommerce\Admin\RemoteInboxNotifications\OptionRuleProcessor->process() #3 /home/mysite.com/wp-content/plugins/woocommerce/src/Admin/RemoteInboxNotifications/OrRuleProcessor.php(47): Automattic\WooCommerce\Admin\RemoteInboxNotifications\RuleEvaluator->evaluate() #4 /home/mysite.com/wp-content/plugins/woocommerce/src/Admin/RemoteInboxNotifications/RuleEvaluator.php(79): Automattic\WooCommerce\Admin\RemoteInboxNotifications\OrRuleProcessor->process() #5 /home/mysite.com/wp-content/plugins/woocommerce/src/Admin/RemoteInboxNotifications/OrRuleProcessor.php(47): Automattic\WooCommerce\Admin\RemoteInboxNotifications\RuleEvaluator->evaluate() #6 /home/mysite.com/wp-content/plugins/woocommerce/src/Admin/RemoteInboxNotifications/RuleEvaluator.php(79): Automattic\WooCommerce\Admin\RemoteInboxNotifications\OrRuleProcessor->process() #7 /home/mysite.com/wp-content/plugins/woocommerce/src/Admin/Features/PaymentGatewaySuggestions/EvaluateSuggestion.php(27): Automattic\WooCommerce\Admin\RemoteInboxNotifications\RuleEvaluator->evaluate() #8 /home/mysite.com/wp-content/plugins/woocommerce/src/Admin/Features/PaymentGatewaySuggestions/Init.php(44): Automattic\WooCommerce\Admin\Features\PaymentGatewaySuggestions\EvaluateSuggestion::evaluate() #9 /home/mysite.com/wp-content/plugins/woocommerce/src/Admin/Features/OnboardingTasks/Tasks/WooCommercePayments.php(193): Automattic\WooCommerce\Admin\Features\PaymentGatewaySuggestions\Init::get_suggestions() #10 /home/mysite.com/wp-content/plugins/woocommerce/includes/admin/settings/class-wc-settings-payment-gateways.php(231): Automattic\WooCommerce\Admin\Features\OnboardingTasks\Tasks\WooCommercePayments::is_supported() #11 /home/mysite.com/wp-includes/class-wp-hook.php(324): WC_Settings_Payment_Gateways->payment_gateways_setting() #12 /home/mysite.com/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters() #13 /home/mysite.com/wp-includes/plugin.php(517): WP_Hook->do_action() #14 /home/mysite.com/wp-content/plugins/woocommerce/includes/admin/class-wc-admin-settings.php(766): do_action() #15 /home/mysite.com/wp-content/plugins/woocommerce/includes/admin/settings/class-wc-settings-page.php(213): WC_Admin_Settings::output_fields() #16 /home/mysite.com/wp-content/plugins/woocommerce/includes/admin/settings/class-wc-settings-payment-gateways.php(96): WC_Settings_Page->output() #17 /home/mysite.com/wp-includes/class-wp-hook.php(324): WC_Settings_Payment_Gateways->output() #18 /home/mysite.com/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters() #19 /home/mysite.com/wp-includes/plugin.php(517): WP_Hook->do_action() #20 /home/mysite.com/wp-content/plugins/woocommerce/includes/admin/views/html-admin-settings.php(40): do_action() #21 /home/mysite.com/wp-content/plugins/woocommerce/includes/admin/class-wc-admin-settings.php(153): include(‘/home/jeeklsco/…’) #22 /home/mysite.com/wp-content/plugins/woocommerce/includes/admin/class-wc-admin-menus.php(348): WC_Admin_Settings::output() #23 /home/mysite.com/wp-includes/class-wp-hook.php(324): WC_Admin_Menus->settings_page() #24 /home/mysite.com/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters() #25 /home/mysite.com/wp-includes/plugin.php(517): WP_Hook->do_action() #26 /home/mysite.com/wp-admin/admin.php(259): do_action() #27 {main} thrown in /home/mysite.com/wp-content/plugins/woocommerce/src/Admin/RemoteInboxNotifications/ComparisonOperation.php on line 49
There has been a critical error on this website. Please check your site admin email inbox for instructions.
- The topic ‘Divi and Woocommerce issue’ is closed to new replies.