There has been a critical error on this website
-
Hi My whole website is gone due to a wordpress Woocommerce error .
Everything gets back to normal if I disable woocommerce.
I recieved a mail with the following error details :
WordPress version 6.4.2 Active theme: Astra (version 4.6.4) Current plugin: WooCommerce (version 8.5.1) PHP version 8.0.28 Error Details ============= An error of type E_ERROR was caused in line 49 of the file /home/u239856991/domains/sobelproperties.com/public_html/wp-content/plugins/woocommerce/src/Admin/RemoteInboxNotifications/ComparisonOperation.php. Error message: Uncaught TypeError: strpos(): Argument #1 ($haystack) must be of type string, array given in /home/u239856991/domains/sobelproperties.com/public_html/wp-content/plugins/woocommerce/src/Admin/RemoteInboxNotifications/ComparisonOperation.php:49 Stack trace: #0 /home/u239856991/domains/sobelproperties.com/public_html/wp-content/plugins/woocommerce/src/Admin/RemoteInboxNotifications/ComparisonOperation.php(49): strpos() #1 /home/u239856991/domains/sobelproperties.com/public_html/wp-content/plugins/woocommerce/src/Admin/RemoteInboxNotifications/OptionRuleProcessor.php(35): Automattic\WooCommerce\Admin\RemoteInboxNotifications\ComparisonOperation::compare() #2 /home/u239856991/domains/sobelproperties.com/public_html/wp-content/plugins/woocommerce/src/Admin/RemoteInboxNotifications/RuleEvaluator.php(79): Automattic\WooCommerce\Admin\RemoteInboxNotifications\OptionRuleProcessor->process() #3 /home/u239856991/domains/sobelproperties.com/public_html/wp-content/plugins/woocommerce/src/Admin/RemoteInboxNotifications/OrRuleProcessor.php(47): Automattic\WooCommerce\Admin\RemoteInboxNotifications\RuleEvaluator->evaluate() #4 /home/u239856991/domains/sobelproperties.com/public_html/wp-content/plugins/woocommerce/src/Admin/RemoteInboxNotifications/RuleEvaluator.php(79): Automattic\WooCommerce\Admin\RemoteInboxNotifications\OrRuleProcessor->process() #5 /home/u239856991/domains/sobelproperties.com/public_html/wp-content/plugins/woocommerce/src/Admin/RemoteInboxNotifications/OrRuleProcessor.php(47): Automattic\WooCommerce\Admin\RemoteInboxNotifications\RuleEvaluator->evaluate() #6 /home/u239856991/domains/sobelproperties.com/public_html/wp-content/plugins/woocommerce/src/Admin/RemoteInboxNotifications/RuleEvaluator.php(79): Automattic\WooCommerce\Admin\RemoteInboxNotifications\OrRuleProcessor->process() #7 /home/u239856991/domains/sobelproperties.com/public_html/wp-content/plugins/woocommerce/src/Admin/Features/PaymentGatewaySuggestions/EvaluateSuggestion.php(27): Automattic\WooCommerce\Admin\RemoteInboxNotifications\RuleEvaluator->evaluate() #8 /home/u239856991/domains/sobelproperties.com/public_html/wp-content/plugins/woocommerce/src/Admin/Features/PaymentGatewaySuggestions/Init.php(44): Automattic\WooCommerce\Admin\Features\PaymentGatewaySuggestions\EvaluateSuggestion::evaluate() #9 /home/u239856991/domains/sobelproperties.com/public_html/wp-content/plugins/woocommerce/src/Admin/Features/OnboardingTasks/Tasks/AdditionalPayments.php(183): Automattic\WooCommerce\Admin\Features\PaymentGatewaySuggestions\Init::get_suggestions() #10 /home/u239856991/domains/sobelproperties.com/public_html/wp-content/plugins/woocommerce/src/Admin/Features/OnboardingTasks/Tasks/AdditionalPayments.php(125): Automattic\WooCommerce\Admin\Features\OnboardingTasks\Tasks\AdditionalPayments::get_suggestion_gateways() #11 /home/u239856991/domains/sobelproperties.com/public_html/wp-content/plugins/woocommerce/src/Admin/Features/OnboardingTasks/Tasks/AdditionalPayments.php(104): Automattic\WooCommerce\Admin\Features\OnboardingTasks\Tasks\AdditionalPayments::has_enabled_other_category_gateways() #12 /home/u239856991/domains/sobelproperties.com/public_html/wp-content/plugins/woocommerce/src/Admin/Features/OnboardingTasks/TaskList.php(304): Automattic\WooCommerce\Admin\Features\OnboardingTasks\Tasks\AdditionalPayments->can_view() #13 [internal function]: Automattic\WooCommerce\Admin\Features\OnboardingTasks\TaskList->Automattic\WooCommerce\Admin\Features\OnboardingTasks\{closure}() #14 /home/u239856991/domains/sobelproperties.com/public_html/wp-content/plugins/woocommerce/src/Admin/Features/OnboardingTasks/TaskList.php(305): array_filter() #15 /home/u239856991/domains/sobelproperties.com/public_html/wp-content/plugins/woocommerce/src/Admin/Features/OnboardingTasks/TaskList.php(171): Automattic\WooCommerce\Admin\Features\OnboardingTasks\TaskList->get_viewable_tasks() #16 /home/u239856991/domains/sobelproperties.com/public_html/wp-content/plugins/woocommerce/src/Admin/Features/OnboardingTasks/TaskLists.php(349): Automattic\WooCommerce\Admin\Features\OnboardingTasks\TaskList->is_visible() #17 [internal function]: Automattic\WooCommerce\Admin\Features\OnboardingTasks\TaskLists::Automattic\WooCommerce\Admin\Features\OnboardingTasks\{closure}() #18 /home/u239856991/domains/sobelproperties.com/public_html/wp-content/plugins/woocommerce/src/Admin/Features/OnboardingTasks/TaskLists.php(350): array_filter() #19 /home/u239856991/domains/sobelproperties.com/public_html/wp-content/plugins/woocommerce/src/Internal/Admin/Onboarding/OnboardingSetupWizard.php(217): Automattic\WooCommerce\Admin\Features\OnboardingTasks\TaskLists::get_visible() #20 /home/u239856991/domains/sobelproperties.com/public_html/wp-includes/class-wp-hook.php(324): Automattic\WooCommerce\Internal\Admin\Onboarding\OnboardingSetupWizard->component_settings() #21 /home/u239856991/domains/sobelproperties.com/public_html/wp-includes/plugin.php(205): WP_Hook->apply_filters() #22 /home/u239856991/domains/sobelproperties.com/public_html/wp-content/plugins/woocommerce/src/Internal/Admin/WCAdminSharedSettings.php(61): apply_filters() #23 /home/u239856991/domains/sobelproperties.com/public_html/wp-content/plugins/woocommerce/src/Blocks/Assets/AssetDataRegistry.php(268): Automattic\WooCommerce\Internal\Admin\WCAdminSharedSettings->Automattic\WooCommerce\Internal\Admin\{closure}() #24 /home/u239856991/domains/sobelproperties.com/public_html/wp-content/plugins/woocommerce/src/Blocks/Assets/AssetDataRegistry.php(393): Automattic\WooCommerce\Blocks\Assets\AssetDataRegistry->execute_lazy_data() #25 /home/u239856991/domains/sobelproperties.com/public_html/wp-includes/class-wp-hook.php(324): Automattic\WooCommerce\Blocks\Assets\AssetDataRegistry->enqueue_asset_data() #26 /home/u239856991/domains/sobelproperties.com/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters() #27 /home/u239856991/domains/sobelproperties.com/public_html/wp-includes/plugin.php(517): WP_Hook->do_action() #28 /home/u239856991/domains/sobelproperties.com/public_html/wp-admin/admin-footer.php(95): do_action() #29 /home/u239856991/domains/sobelproperties.com/public_html/wp-admin/edit.php(518): require_once('/home/u23985699...') #30 {main} thrown
Please help
The page I need help with: [log in to see the link]
- The topic ‘There has been a critical error on this website’ is closed to new replies.