Corrupted Block Builder & Support
-
I think the latest update corrupted the block support. I can’t open any page that is built by the Gutenberg block builder unless I disable MyFatoorah plugin. The error logs while trying to open any block-page:
PHP Fatal error: Uncaught Error: Class "WC_Gateway_Myfatoorah_v2" not found in /public_html/wp-content/plugins/myfatoorah-woocommerce/includes/payments/blocks/MyFatoorahV2.php:80
Stack trace:
#0 /public_html/wp-content/plugins/woocommerce/src/Blocks/Payments/PaymentMethodRegistry.php(62): MyFatoorah\WooCommerce\Payments\Blocks\MyFatoorahV2->get_payment_method_data()
#1 /public_html/wp-content/plugins/woocommerce/src/Blocks/Payments/Api.php(92): Automattic\WooCommerce\Blocks\Payments\PaymentMethodRegistry->get_all_registered_script_data()
#2 /public_html/wp-includes/class-wp-hook.php(341): Automattic\WooCommerce\Blocks\Payments\Api->add_payment_method_script_data('')
#3 /public_html/wp-includes/class-wp-hook.php(365): WP_Hook->apply_filters('', Array)
#4 /public_html/wp-includes/plugin.php(522): WP_Hook->do_action(Array)
#5 /public_html/wp-content/plugins/woocommerce/src/Blocks/BlockTypes/MiniCart.php(287): do_action('woocommerce_blo...')
#6 /public_html/wp-content/plugins/woocommerce/src/Blocks/BlockTypes/AbstractBlock.php(111): Automattic\WooCommerce\Blocks\BlockTypes\MiniCart->enqueue_data()
#7 /public_html/wp-includes/class-wp-hook.php(341): Automattic\WooCommerce\Blocks\BlockTypes\AbstractBlock->enqueue_editor_assets('')
#8 /public_html/wp-includes/class-wp-hook.php(365): WP_Hook->apply_filters(NULL, Array)
#9 /public_html/wp-includes/plugin.php(522): WP_Hook->do_action(Array)
#10 /public_html/wp-admin/edit-form-blocks.php(339): do_action('enqueue_block_e...')
#11 /public_html/wp-admin/post.php(187): require('...')
#12 {main}
thrown in /public_html/wp-content/plugins/myfatoorah-woocommerce/includes/payments/blocks/MyFatoorahV2.php on line 80
PHP Fatal error: Uncaught Error: Class "WC_Gateway_Myfatoorah_v2" not found in /public_html/wp-content/plugins/myfatoorah-woocommerce/includes/payments/blocks/MyFatoorahV2.php:80
Stack trace:
#0 /public_html/wp-content/plugins/woocommerce/src/Blocks/Payments/PaymentMethodRegistry.php(62): MyFatoorah\WooCommerce\Payments\Blocks\MyFatoorahV2->get_payment_method_data()
#1 /public_html/wp-content/plugins/woocommerce/src/Blocks/Payments/Api.php(92): Automattic\WooCommerce\Blocks\Payments\PaymentMethodRegistry->get_all_registered_script_data()
#2 /public_html/wp-includes/class-wp-hook.php(341): Automattic\WooCommerce\Blocks\Payments\Api->add_payment_method_script_data('')
#3 /public_html/wp-includes/class-wp-hook.php(365): WP_Hook->apply_filters('', Array)
#4 /public_html/wp-includes/plugin.php(522): WP_Hook->do_action(Array)
#5 /public_html/wp-content/plugins/woocommerce/src/Blocks/BlockTypes/MiniCart.php(287): do_action('woocommerce_blo...')
#6 /public_html/wp-content/plugins/woocommerce/src/Blocks/BlockTypes/AbstractBlock.php(111): Automattic\WooCommerce\Blocks\BlockTypes\MiniCart->enqueue_data()
#7 /public_html/wp-includes/class-wp-hook.php(341): Automattic\WooCommerce\Blocks\BlockTypes\AbstractBlock->enqueue_editor_assets('')
#8 /public_html/wp-includes/class-wp-hook.php(365): WP_Hook->apply_filters(NULL, Array)
#9 /public_html/wp-includes/plugin.php(522): WP_Hook->do_action(Array)
#10 /public_html/wp-admin/edit-form-blocks.php(339): do_action('enqueue_block_e...')
#11 /public_html/wp-admin/post.php(187): require('...')
#12 {main}
thrown in /public_html/wp-content/plugins/myfatoorah-woocommerce/includes/payments/blocks/MyFatoorahV2.php on line 80- MyFatoorah Version 2.2.9
- WooCommerce Version 10.3.7
- WordPress Version 6.9
- PHP Version 8.2.30
You must be logged in to reply to this topic.