• Resolved Carl Rozema

    (@carlrozemaaxcintnl)


    I get this error on a fresh install.
    WordPress 5.8.1
    Woocommerce 5.6.0
    Mollie for WooCommerce 6.6.0
    Theme Twenty Nineteen

    Originaly I used the Bookshop Storefront Child theme and had some other plugins active like Jetpack and WooCommerce Shipping & Tax

    What can be the problem?
    Thanks,
    Carl

    2021-09-17T14:41:05+00:00 CRITICAL Uncaught Error: Call to undefined method Mollie_WC_Helper_GatewaySurchargeHandler::calculate_() in /var/www/nlbttr-kapaishta/wordpress/current/wp-content/plugins/mollie-payments-for-woocommerce/src/Mollie/WC/Helper/GatewaySurchargeHandler.php:209
    Stack trace:
    #0 /var/www/nlbttr-kapaishta/wordpress/current/wp-content/plugins/mollie-payments-for-woocommerce/src/Mollie/WC/Helper/GatewaySurchargeHandler.php(152): Mollie_WC_Helper_GatewaySurchargeHandler->calculteFeeAmount()
    #1 /var/www/nlbttr-kapaishta/wordpress/current/wp-includes/class-wp-hook.php(303): Mollie_WC_Helper_GatewaySurchargeHandler->add_engraving_fees()
    #2 /var/www/nlbttr-kapaishta/wordpress/current/wp-includes/class-wp-hook.php(327): WP_Hook->apply_filters()
    #3 /var/www/nlbttr-kapaishta/wordpress/current/wp-includes/plugin.php(470): WP_Hook->do_action()
    #4 /var/www/nlbttr-kapaishta/wordpress/current/wp-content/plugins/woocommerce/includes/class-wc-cart.php(1885): do_action()
    #5 /var/www/nlbttr-kapaishta/wordpress/current/wp-content/plugins/woocomme in /var/www/nlbttr-kapaishta/wordpress/current/wp-content/plugins/mollie-payments-for-woocommerce/src/Mollie/WC/Helper/GatewaySurchargeHandler.php op de lijn 209`e

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter Carl Rozema

    (@carlrozemaaxcintnl)

    My issue is solved, but I am not sure why.
    I downgraded to version 6.0 and then it worked. After that I upgraded to the current version and it kept working

    Plugin Support Syde Niklas

    (@niklasinpsyde)

    Hi @carlrozemaaxcintnl,

    Thanks for the report.
    This error could potentially occur when the gateway has not been saved previously and we will fix it for our next update.
    The easiest way to work around this error for now, is to manually save the gateway settings once. Afterward the error should be gone.

    Kind regards,
    Niklas

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘CRITICAL Uncaught Error: Call to undefined method Mollie_WC_Helper_GatewaySurcha’ is closed to new replies.