• Resolved Darren Ellis

    (@dazsmodels)


    hi i am getting this error when updated to version 8.0.0

    Warning: Undefined array key “directdebit” in /home/dazsmode/public_html/wp-content/plugins/mollie-payments-for-woocommerce/src/Gateway/DeprecatedGatewayBuilder.php on line 59

    Warning: Undefined array key “directdebit” in /home/dazsmode/public_html/wp-content/plugins/mollie-payments-for-woocommerce/src/Gateway/DeprecatedGatewayBuilder.php on line 59

    Fatal error: Uncaught TypeError: Mollie\WooCommerce\Subscription\MollieSepaRecurringGatewayHandler::__construct(): Argument #1 ($directDebitPaymentMethod) must be of type Mollie\WooCommerce\PaymentMethods\PaymentMethodI, null given, called in /home/dazsmode/public_html/wp-content/plugins/mollie-payments-for-woocommerce/src/Gateway/DeprecatedGatewayBuilder.php on line 60 and defined in /home/dazsmode/public_html/wp-content/plugins/mollie-payments-for-woocommerce/src/Subscription/MollieSepaRecurringGatewayHandler.php:32 Stack trace: #0 /home/dazsmode/public_html/wp-content/plugins/mollie-payments-for-woocommerce/src/Gateway/DeprecatedGatewayBuilder.php(60): Mollie\WooCommerce\Subscription\MollieSepaRecurringGatewayHandler->__construct() #1 /home/dazsmode/public_html/wp-content/plugins/mollie-payments-for-woocommerce/src/Gateway/inc/services.php(41): Mollie\WooCommerce\Gateway\DeprecatedGatewayBuilder->instantiatePaymentMethodGateways() #2 /home/dazsmode/public_html/wp-content/plugins/mollie-payments-for-woocommerce/vendor/inpsyde/modularity/src/Container/ReadOnlyContainer.php(46): Mollie\WooCommerce\Gateway\GatewayModule::Mollie\{closure}() #3 /home/dazsmode/public_html/wp-content/plugins/mollie-payments-for-woocommerce/src/PaymentMethods/AbstractPaymentMethod.php(261): Mollie\Inpsyde\Modularity\Container\ReadOnlyContainer->get() #4 /home/dazsmode/public_html/wp-content/plugins/mollie-payments-for-woocommerce/vendor/inpsyde/modularity/src/Container/ReadOnlyContainer.php(46): Mollie\WooCommerce\PaymentMethods\AbstractPaymentMethod->availabilityCallback() #5 /home/dazsmode/public_html/wp-content/plugins/mollie-payments-for-woocommerce/lib/payment-gateway/src/PaymentGateway.php(431): Mollie\Inpsyde\Modularity\Container\ReadOnlyContainer->get() #6 /home/dazsmode/public_html/wp-content/plugins/mollie-payments-for-woocommerce/lib/payment-gateway/src/PaymentGateway.php(92): Mollie\Inpsyde\PaymentGateway\PaymentGateway->locate() #7 /home/dazsmode/public_html/wp-content/plugins/woocommerce/includes/class-wc-payment-gateways.php(327): Mollie\Inpsyde\PaymentGateway\PaymentGateway->is_available() #8 /home/dazsmode/public_html/wp-content/plugins/woocommerce/src/Internal/Admin/Suggestions/Incentives/WooPayments.php(139): WC_Payment_Gateways->get_available_payment_gateways() #9 /home/dazsmode/public_html/wp-content/plugins/woocommerce/src/Internal/Admin/Suggestions/Incentives/Incentive.php(47): Automattic\WooCommerce\Internal\Admin\Suggestions\Incentives\WooPayments->get_incentives() #10 /home/dazsmode/public_html/wp-content/plugins/woocommerce/src/Internal/Admin/Suggestions/PaymentExtensionSuggestionIncentives.php(67): Automattic\WooCommerce\Internal\Admin\Suggestions\Incentives\Incentive->get_all() #11 /home/dazsmode/public_html/wp-content/plugins/woocommerce/src/Internal/Admin/Suggestions/PaymentExtensionSuggestions.php(2312): Automattic\WooCommerce\Internal\Admin\Suggestions\PaymentExtensionSuggestionIncentives->get_incentives() #12 /home/dazsmode/public_html/wp-content/plugins/woocommerce/src/Internal/Admin/Suggestions/PaymentExtensionSuggestions.php(1975): Automattic\WooCommerce\Internal\Admin\Suggestions\PaymentExtensionSuggestions->get_extension_incentive() #13 /home/dazsmode/public_html/wp-content/plugins/woocommerce/src/Internal/Admin/Settings/PaymentProviders.php(257): Automattic\WooCommerce\Internal\Admin\Suggestions\PaymentExtensionSuggestions->get_country_extensions() #14 /home/dazsmode/public_html/wp-content/plugins/woocommerce/src/Internal/Admin/Settings/Payments.php(65): Automattic\WooCommerce\Internal\Admin\Settings\PaymentProviders->get_extension_suggestions() #15 /home/dazsmode/public_html/wp-content/plugins/woocommerce/src/Internal/Admin/Settings/PaymentsController.php(227): Automattic\WooCommerce\Internal\Admin\Settings\Payments->get_payment_providers() #16 /home/dazsmode/public_html/wp-content/plugins/woocommerce/src/Internal/Admin/Settings/PaymentsController.php(137): Automattic\WooCommerce\Internal\Admin\Settings\PaymentsController->store_has_providers_with_incentive() #17 /home/dazsmode/public_html/wp-includes/class-wp-hook.php(324): Automattic\WooCommerce\Internal\Admin\Settings\PaymentsController->add_menu() #18 /home/dazsmode/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters() #19 /home/dazsmode/public_html/wp-includes/plugin.php(517): WP_Hook->do_action() #20 /home/dazsmode/public_html/wp-admin/includes/menu.php(161): do_action() #21 /home/dazsmode/public_html/wp-admin/menu.php(412): require_once(‘/home/dazsmode/…’) #22 /home/dazsmode/public_html/wp-admin/admin.php(158): require(‘/home/dazsmode/…’) #23 /home/dazsmode/public_html/wp-admin/update-core.php(10): require_once(‘/home/dazsmode/…’) #24 {main} thrown in /home/dazsmode/public_html/wp-content/plugins/mollie-payments-for-woocommerce/src/Subscription/MollieSepaRecurringGatewayHandler.php on line 32

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Support Femi

    (@femiyb)

    Hello @dazsmodels

    We have a temporary workaround fix package for this issue available for testing:

    🔗 Download the fix here

    If you apply this fix, we’d really appreciate it if you could let us know whether it resolves the issue on your end. Your feedback helps us validate and refine the solution more quickly.

    ⚠️ Note: Downloads may take a few seconds to start.

    Thanks again for helping us get to the bottom of this!

    Regards,
    Femi.

    Thread Starter Darren Ellis

    (@dazsmodels)

    Femi

    Thanks for this i have installed it and so far so good and is no longer showing the error and allowing me to access WP-admin

    i assume a proper update will follow soon

    mediavinc

    (@mediavinc)

    Hey @femiyb
    The Temporary fix has not solved the error on my side. I keep receiving error when Mollie plugin is activated with the following infos
    What can yo advise here to solve this ?

    Une erreur de type E_ERROR a été causée dans la ligne 305 du fichier /wp-content/plugins/mollie-payments-for-woocommerce/src/PaymentMethods/AbstractPaymentMethod.php. Message d’erreur : Uncaught Error: Class "Mollie\WooCommerce\PaymentMethods\Icon\GatewayIconsRenderer" not found in /wp-content/plugins/mollie-payments-for-woocommerce/src/PaymentMethods/AbstractPaymentMethod.php:305 Stack trace: #0 /wp-content/plugins/mollie-payments-for-woocommerce/vendor/inpsyde/modularity/src/Container/ReadOnlyContainer.php(46): Mollie\WooCommerce\PaymentMethods\AbstractPaymentMethod->gatewayIconsRenderer(Object(Mollie\Inpsyde\Modularity\Container\ReadOnlyContainer))
    #1 /wp-content/plugins/mollie-payments-for-woocommerce/lib/payment-gateway/src/PaymentGateway.php(431): Mollie\Inpsyde\Modularity\Container\ReadOnlyContainer->get('payment_gateway...')
    #2 /wp-content/plugins/mollie-payments-for-woocommerce/lib/payment-gateway/src/PaymentGateway.php(124): Mollie\Inpsyde\PaymentGateway\PaymentGateway->locate('gateway_icons_r...')
    #3 /wp-content/plugins/mollie-payments-for-woocommerce/src/Assets/MollieCheckoutBlocksSupport.php(100): Mollie\Inpsyde\PaymentGateway\PaymentGateway->get_icon()
    #4 /wp-content/plugins/mollie-payments-for-woocommerce/src/Assets/MollieCheckoutBlocksSupport.php(50): Mollie\WooCommerce\Assets\MollieCheckoutBlocksSupport::gatewayDataForWCBlocks(Object(Mollie\WooCommerce\Shared\Data), Array, Object(Mollie\Inpsyde\Modularity\Container\ReadOnlyContainer))
    #5 /wp-content/plugins/mollie-payments-for-woocommerce/src/Assets/MollieCheckoutBlocksSupport.php(44): Mollie\WooCommerce\Assets\MollieCheckoutBlocksSupport::localizeWCBlocksData(Object(Mollie\WooCommerce\Shared\Data), Array, Object(Mollie\Inpsyde\Modularity\Container\ReadOnlyContainer))
    #6 /wp-content/plugins/woocommerce/src/Blocks/Payments/Integrations/AbstractPaymentMethodType.php(70): Mollie\WooCommerce\Assets\MollieCheckoutBlocksSupport->get_payment_method_script_handles()
    #7 /wp-content/plugins/woocommerce/src/Blocks/Payments/PaymentMethodRegistry.php(45): Automattic\WooCommerce\Blocks\Payments\Integrations\AbstractPaymentMethodType->get_payment_method_script_handles_for_admin()
    #8 /wp-content/plugins/woocommerce/src/Blocks/Payments/Api.php(133): Automattic\WooCommerce\Blocks\Payments\PaymentMethodRegistry->get_all_active_payment_method_script_dependencies()
    #9 /wp-includes/class-wp-hook.php(324): Automattic\WooCommerce\Blocks\Payments\Api->verify_payment_methods_dependencies('')
    #10 /wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters('', Array)
    #11 /wp-includes/plugin.php(517): WP_Hook->do_action(Array)
    #12 /wp-includes/script-loader.php(2109): do_action('wp_print_script...')
    #13 /wp-includes/class-wp-hook.php(324): print_head_scripts('')
    #14 /wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(NULL, Array)
    #15 /wp-includes/plugin.php(517): WP_Hook->do_action(Array)
    #16 /wp-admin/admin-header.php(151): do_action('admin_print_scr...')
    #17 /wp-admin/index.php(137): require_once('/...')
    #18 {main} thrown

    Plugin Support Femi

    (@femiyb)

    Hello @mediavinc

    Looks like your case might be differeny from what was initially reported in this support thread. Please start a new thread next time so we can attend to different issues correctly.

    However, our developers have provided a beta release that fixes this issue. You can download the beta fix here.

    We would appreciate some feedback on this beta fix.

    Thank you.

    Regards,
    Femi

    mediavinc

    (@mediavinc)

    Hey @femiyb ! Thank you for the beta2. We have tested it on our install and it does not solved the issue (It keeps crashing the wordpress when we activate it). I will open a new thread with the errors. Cheers,

    Plugin Support Femi

    (@femiyb)

    Hello @mediavinc

    Kindly confirm if you have opened a new support thread for your case?

    Thanks.

    hello @femiyb , the issue has finally been resolved using the last beta2 and updating to the last WooCommerce version 9.7.1.

    Plugin Support Femi

    (@femiyb)

    Hi everyone,

    Thanks again for your reports and patience regarding this issue.
    We’re happy to confirm that this has been addressed in version 8.0.1.

    If you’re still experiencing the issue:

    • Please make sure you’ve updated to version 8.0.1.
    • Clear any relevant caches after the update.
    • If the issue persists, please reach out so we can assist further.

    Thanks for your cooperation and for helping us track this down!

    Regards,
    Femi

Viewing 8 replies - 1 through 8 (of 8 total)

The topic ‘Updated to Version 8.0.0 error’ is closed to new replies.