Getting Fatal Error
-
I need help with this fatal error.
When I want to edit the Gutenberg content, I get an Error, see screenshot. Then I get the below error from Mollie Payments for Woocommerce / Woocommerce blocks.

WordPress versie 6.2
Actief thema: Bricks Child Theme (versie 1.1)
Huidige plugin: Mollie Payments for WooCommerce (versie 7.3.7)
WooCommerce blocks for the Gutenberg editor (Version 10.0.2)
PHP versie 8.2.42023-04-19T08:36:34+00:00 CRITICAL Uncaught Error: Call to a member function get_cart_contents() on null in /home/kakauw/domains/kakauwlovers.nl/public_html/wp-content/plugins/mollie-payments-for-woocommerce/src/Gateway/Voucher/MaybeDisableGateway.php:92
Stack trace: 0 /home/kakauw/domains/kakauwlovers.nl/public_html/wp-content/plugins/mollie-payments-for-woocommerce/src/Gateway/Voucher/MaybeDisableGateway.php(59): Mollie\WooCommerce\Gateway\Voucher\MaybeDisableGateway->numberProductsWithCategory() 1 /home/kakauw/domains/kakauwlovers.nl/public_html/wp-content/plugins/mollie-payments-for-woocommerce/src/Gateway/GatewayModule.php(197): Mollie\WooCommerce\Gateway\Voucher\MaybeDisableGateway->maybeDisableMealVoucherGateway() 2 /home/kakauw/domains/kakauwlovers.nl/public_html/wp-includes/class-wp-hook.php(308): Mollie\WooCommerce\Gateway\GatewayModule::Mollie\WooCommerce\Gateway{closure}() 3 /home/kakauw/domains/kakauwlovers.nl/public_html/wp-includes/plugin.php(205): WP_Hook->apply_filters() 4 /home/kakauw/domains/kakauwlovers.nl/public_html/wp-content/plugins/woocommerce/includes/class-wc-payment-gateways.php(88): apply_filters() 5 /home/kakauw/domains/kakauwlovers.nl/public_html/wp-content/plugins/woocommerce/includes/class-wc-payment-gateways.php(70): WC_Payment_Gateways->init() 6 /home/kakauw/domains/kakauwlovers.nl/public_html/wp-content/plugins/woocommerce/includes/class-wc-payment-gateways.php(43): WC_Payment_Gateways->__construct() 7 /home/kakauw/domains/kakauwlovers.nl/public_html/wp-content/plugins/woocommerce/includes/class-woocommerce.php(932): WC_Payment_Gateways::instance() 8 /home/kakauw/domains/kakauwlovers.nl/public_html/wp-content/plugins/woocommerce/includes/class-woocommerce.php(174): WooCommerce->payment_gateways() 9 /home/kakauw/domains/kakauwlovers.nl/public_html/wp-content/plugins/woo-gutenberg-products-block/src/StoreApi/Schemas/V1/CheckoutSchema.php(122): WooCommerce->__get() 10 /home/kakauw/domains/kakauwlovers.nl/public_html/wp-content/plugins/woo-gutenberg-products-block/src/StoreApi/Schemas/V1/AbstractSchema.php(62): Automattic\WooCommerce\StoreApi\Schemas\V1\CheckoutSchema->get_properties() 11 /home/kakauw/domains/kakauwlovers.nl/public_html/wp-content/plugins/woo-gutenberg-products-block/src/StoreApi/Routes/V1/AbstractRoute.php(85): Automattic\WooCommerce\StoreApi\Schemas\V1\AbstractSchema->get_item_schema() 12 /home/kakauw/domains/kakauwlovers.nl/public_html/wp-content/plugins/woo-gutenberg-products-block/src/StoreApi/Routes/V1/AbstractRoute.php(265): Automattic\WooCommerce\StoreApi\Routes\V1\AbstractRoute->get_item_schema() 13 /home/kakauw/domains/kakauwlovers.nl/public_html/wp-content/plugins/woo-gutenberg-products-block/src/StoreApi/Routes/V1/Checkout.php(71): Automattic\WooCommerce\StoreApi\Routes\V1\AbstractRoute->get_context_param() 14 /home/kakauw/domains/kakauwlovers.nl/public_html/wp-content/plugins/woo-gutenberg-products-block/src/StoreApi/RoutesController.php(113): Automattic\WooCommerce\StoreApi\Routes\V1\Checkout->get_args() 15 /home/kakauw/domains/kakauwlovers.nl/public_html/wp-content/plugins/woo-gutenberg-products-block/src/StoreApi/RoutesController.php(68): Automattic\WooCommerce\StoreApi\RoutesController->register_routes() 16 /home/kakauw/domains/kakauwlovers.nl/public_html/wp-content/plugins/woo-gutenberg-products-block/src/StoreApi/StoreApi.php(28): Automattic\WooCommerce\StoreApi\RoutesController->register_all_routes() 17 /home/kakauw/domains/kakauwlovers.nl/public_html/wp-includes/class-wp-hook.php(308): Automattic\WooCommerce\StoreApi\StoreApi->Automattic\WooCommerce\StoreApi{closure}() 18 /home/kakauw/domains/kakauwlovers.nl/public_html/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters() 19 /home/kakauw/domains/kakauwlovers.nl/public_html/wp-includes/plugin.php(517): WP_Hook->do_action() 20 /home/kakauw/domains/kakauwlovers.nl/public_html/wp-includes/rest-api.php(577): do_action() 21 /home/kakauw/domains/kakauwlovers.nl/public_html/wp-includes/rest-api.php(535): rest_get_server() 22 /home/kakauw/domains/kakauwlovers.nl/public_html/wp-includes/rest-api.php(2889): rest_do_request() 23 [internal function]: rest_preload_api_request() 24 /home/kakauw/domains/kakauwlovers.nl/public_html/wp-includes/block-editor.php(631): array_reduce() 25 /home/kakauw/domains/kakauwlovers.nl/public_html/wp-admin/edit-form-blocks.php(77): block_editor_rest_api_preload() 26 /home/kakauw/domains/kakauwlovers.nl/public_html/wp-admin/post.php(187): require('…') 27 {main} thrown in /home/kakauw/domains/kakauwlovers.nl/public_html/wp-content/plugins/mollie-payments-for-woocommerce/src/Gateway/Voucher/MaybeDisableGateway.php on line 92
Viewing 11 replies - 1 through 11 (of 11 total)
Viewing 11 replies - 1 through 11 (of 11 total)
The topic ‘Getting Fatal Error’ is closed to new replies.