• Resolved semmtex

    (@semmtex)


    We get a fatal error while using this plug-in. So far our succes with EMS has been abysmal. Finally got it to work somewhat, now our installation no longer sends out e-mails because of the following fatal error:

    NEED HELP ASAP!

    2021-08-17T11:41:34+00:00 CRITICAL Uncaught Error: Call to undefined function wc_add_notice() in /public_html/wp-content/plugins/ems-online/classes/class-wc-ginger-gateway.php:164
    Stack trace:
    #0 /public_html/wp-includes/class-wp-hook.php(305): WC_Ginger_Gateway->process_payment(1172)
    #1 /public_html/wp-includes/class-wp-hook.php(327): WP_Hook->apply_filters(NULL, Array)
    #2 /public_html/wp-includes/plugin.php(470): WP_Hook->do_action(Array)
    #3 /public_html/wp-content/plugins/woocommerce/includes/admin/class-wc-admin-meta-boxes.php(222): do_action('woocommerce_pro...', 1172, Object(WP_Post))
    #4 /public_html/wp-includes/class-wp-hook.php(305): WC_Admin_Meta_Boxes->save_meta_boxes(1172, Object(WP_Post))
    #5 /public_html/wp-includes/class-wp-hook.php(327): WP_Hook->apply_filters(' in /public_html/wp-content/plugins/ems-online/classes/class-wc-ginger-gateway.php op de lijn 164
    • This topic was modified 3 years, 3 months ago by semmtex.
Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter semmtex

    (@semmtex)

    The update from today added another problem in the mix:

    2021-08-17T18:53:08+00:00 CRITICAL Uncaught Ginger\ApiClient\ServerError: RetrievingAllOrdersNotPossible(400): Retrieving all orders is no longer possible; please use the created_since and created_until request parameters to retrieve a subset instead in /public_html/wp-content/plugins/ems-online/vendor/gingerpayments/ginger-php/src/ApiClient/ServerError.php:13
    Stack trace:
    #0 /public_html/wp-content/plugins/ems-online/vendor/gingerpayments/ginger-php/src/ApiClient.php(156): Ginger\ApiClient\ServerError::fromResult(Array)
    #1 /public_html/wp-content/plugins/ems-online/vendor/gingerpayments/ginger-php/src/ApiClient.php(139): Ginger\ApiClient->interpretResponse('{\n  "error": {\n...')
    #2 /public_html/wp-content/plugins/ems-online/vendor/gingerpayments/ginger-php/src/ApiClient.php(47): Ginger\ApiClient->send('GET', '/orders/')
    #3 /public_html/wp-content/plu in /public_html/wp-content/plugins/ems-online/vendor/gingerpayments/ginger-php/src/ApiClient/ServerError.php op de lijn 13
    Thread Starter semmtex

    (@semmtex)

    Okay, after several hours of debugging, I found a solution. The developers obviously don’t test their releases. So if you have the option of not using EMS, I’d recommend to steer clear, and run towards Mollie for instance which simply works. Definitely not recommend staying with EMS if you’ve got a choice.

    If like me you don’t have the luck of changing PSP’s then rollback to version 1.2.5, which at least for me seemed to resolve the problems.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Fatal Error!’ is closed to new replies.