Critical Error when Activating Plugin
-
I am receiving the following message in the WooCommerce Status logs:
2024-05-31T02:00:25+00:00 CRITICAL Uncaught Error: Class “WooCommerce\Square\Gateway\Blocks_Handler” not found in /home2/psbake/cakes.pawsweetbakery.com/wp-content/plugins/woocommerce-square/woocommerce-square.php:430 Stack trace: #0 /home2/psbake/cakes.pawsweetbakery.com/wp-includes/class-wp-hook.php(324): WooCommerce_Square_Loader->register_payment_method_block_integrations(Object(Automattic\WooCommerce\Blocks\Payments\PaymentMethodRegistry)) #1 /home2/psbake/cakes.pawsweetbakery.com/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(”, Array) #2 /home2/psbake/cakes.pawsweetbakery.com/wp-includes/plugin.php(517): WP_Hook->do_action(Array) #3 /home2/psbake/cakes.pawsweetbakery.com/wp-content/plugins/woocommerce/packages/woocommerce-blocks/src/Integrations/IntegrationRegistry.php(50): do_action(‘woocommerce_blo…’, Object(Automattic\WooCommerce\Blocks\Payments\PaymentMethodRegistry)) #4 /home2/psbake/cakes.pawsweetbakery.com/wp-includes/class-wp-hook.php(324): Automattic\WooCommerce\Blocks\Integrations\IntegrationRegistry->initialize(”) #5 /home2/psbake/cakes.pawsweetbakery.com/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(NULL, Array) #6 /home2/psbake/cakes.pawsweetbakery.com/wp-includes/plugin.php(517): WP_Hook->do_action(Array) #7 /home2/psbake/cakes.pawsweetbakery.com/wp-settings.php(643): do_action(‘init’) #8 /home2/psbake/cakes.pawsweetbakery.com/wp-config.php(96): require_once(‘/home2/psbake/c…’) #9 /home2/psbake/cakes.pawsweetbakery.com/wp-load.php(50): require_once(‘/home2/psbake/c…’) #10 /home2/psbake/cakes.pawsweetbakery.com/wp-admin/admin.php(34): require_once(‘/home2/psbake/c…’) #11 /home2/psbake/cakes.pawsweetbakery.com/wp-admin/plugins.php(10): require_once(‘/home2/psbake/c…’) #12 {main} thrown in /home2/psbake/cakes.pawsweetbakery.com/wp-content/plugins/woocommerce-square/woocommerce-square.php on line 430
I have everything updated with plugins and wordpress.
I have tried manually installing it as well as using the internal add plugin search.
Any ideas how to correct this error?
The topic ‘Critical Error when Activating Plugin’ is closed to new replies.