• Resolved mveunen

    (@mveunen)


    After updating Woocommerce, I get a critical error on all pages that relate to Mollie (like the chekout page).
    The only thing that helps, is disabeling the Mollie plugin

    This is the log:

    
    2020-10-05T06:38:26+00:00 CRITICAL Uncaught Error: Undefined class constant 'VERSION' in /home/u29192p22973/domains/wintertuinexperience.nl/public_html/wp-content/plugins/mollie-payments-for-woocommerce/vendor/mollie/mollie-api-php/src/MollieApiClient.php:287
    Stack trace:
    #0 /home/u29192p22973/domains/wintertuinexperience.nl/public_html/wp-content/plugins/mollie-payments-for-woocommerce/src/Mollie/WC/Helper/Api.php(45): Mollie\Api\MollieApiClient->__construct()
    #1 /home/u29192p22973/domains/wintertuinexperience.nl/public_html/wp-content/plugins/mollie-payments-for-woocommerce/src/Mollie/WC/Helper/Data.php(341): Mollie_WC_Helper_Api->getApiClient(false)
    #2 /home/u29192p22973/domains/wintertuinexperience.nl/public_html/wp-content/plugins/mollie-payments-for-woocommerce/inc/utils.php(116): Mollie_WC_Helper_Data->getApiPaymentMethods(false, true)
    #3 /home/u29192p22973/domains/wintertuinexperience.nl/public_html/wp-content/plugins/mollie-payments-for-woocommerce/src/Mollie/WC/Gateway/Abstract.php(2251): mollieWooCommerceAvailablePaymentMethods()
    #4 in /home/u29192p22973/domains/wintertuinexperience.nl/public_html/wp-content/plugins/mollie-payments-for-woocommerce/vendor/mollie/mollie-api-php/src/MollieApiClient.php op de lijn 287
    
    2020-10-05T06:38:28+00:00 CRITICAL Uncaught Error: Undefined class constant 'VERSION' in /home/u29192p22973/domains/wintertuinexperience.nl/public_html/wp-content/plugins/mollie-payments-for-woocommerce/vendor/mollie/mollie-api-php/src/MollieApiClient.php:287
    Stack trace:
    #0 /home/u29192p22973/domains/wintertuinexperience.nl/public_html/wp-content/plugins/mollie-payments-for-woocommerce/src/Mollie/WC/Helper/Api.php(45): Mollie\Api\MollieApiClient->__construct()
    #1 /home/u29192p22973/domains/wintertuinexperience.nl/public_html/wp-content/plugins/mollie-payments-for-woocommerce/src/Mollie/WC/Helper/Data.php(341): Mollie_WC_Helper_Api->getApiClient(false)
    #2 /home/u29192p22973/domains/wintertuinexperience.nl/public_html/wp-content/plugins/mollie-payments-for-woocommerce/inc/utils.php(116): Mollie_WC_Helper_Data->getApiPaymentMethods(false, true)
    #3 /home/u29192p22973/domains/wintertuinexperience.nl/public_html/wp-content/plugins/mollie-payments-for-woocommerce/src/Mollie/WC/Gateway/Abstract.php(2251): mollieWooCommerceAvailablePaymentMethods()
    #4 in /home/u29192p22973/domains/wintertuinexperience.nl/public_html/wp-content/plugins/mollie-payments-for-woocommerce/vendor/mollie/mollie-api-php/src/MollieApiClient.php op de lijn 287
    
    2020-10-05T06:38:38+00:00 CRITICAL Uncaught Error: Undefined class constant 'VERSION' in /home/u29192p22973/domains/wintertuinexperience.nl/public_html/wp-content/plugins/mollie-payments-for-woocommerce/vendor/mollie/mollie-api-php/src/MollieApiClient.php:287
    Stack trace:
    #0 /home/u29192p22973/domains/wintertuinexperience.nl/public_html/wp-content/plugins/mollie-payments-for-woocommerce/src/Mollie/WC/Helper/Api.php(45): Mollie\Api\MollieApiClient->__construct()
    #1 /home/u29192p22973/domains/wintertuinexperience.nl/public_html/wp-content/plugins/mollie-payments-for-woocommerce/src/Mollie/WC/Helper/Data.php(341): Mollie_WC_Helper_Api->getApiClient(false)
    #2 /home/u29192p22973/domains/wintertuinexperience.nl/public_html/wp-content/plugins/mollie-payments-for-woocommerce/inc/utils.php(116): Mollie_WC_Helper_Data->getApiPaymentMethods(false, true)
    #3 /home/u29192p22973/domains/wintertuinexperience.nl/public_html/wp-content/plugins/mollie-payments-for-woocommerce/src/Mollie/WC/Gateway/Abstract.php(2251): mollieWooCommerceAvailablePaymentMethods()
    #4 in /home/u29192p22973/domains/wintertuinexperience.nl/public_html/wp-content/plugins/mollie-payments-for-woocommerce/vendor/mollie/mollie-api-php/src/MollieApiClient.php op de lijn 287
    
    2020-10-05T06:38:50+00:00 CRITICAL Uncaught Error: Undefined class constant 'VERSION' in /home/u29192p22973/domains/wintertuinexperience.nl/public_html/wp-content/plugins/mollie-payments-for-woocommerce/vendor/mollie/mollie-api-php/src/MollieApiClient.php:287
    Stack trace:
    #0 /home/u29192p22973/domains/wintertuinexperience.nl/public_html/wp-content/plugins/mollie-payments-for-woocommerce/src/Mollie/WC/Helper/Api.php(45): Mollie\Api\MollieApiClient->__construct()
    #1 /home/u29192p22973/domains/wintertuinexperience.nl/public_html/wp-content/plugins/mollie-payments-for-woocommerce/src/Mollie/WC/Helper/Data.php(341): Mollie_WC_Helper_Api->getApiClient(false)
    #2 /home/u29192p22973/domains/wintertuinexperience.nl/public_html/wp-content/plugins/mollie-payments-for-woocommerce/inc/utils.php(116): Mollie_WC_Helper_Data->getApiPaymentMethods(false, true)
    #3 /home/u29192p22973/domains/wintertuinexperience.nl/public_html/wp-content/plugins/mollie-payments-for-woocommerce/src/Mollie/WC/Gateway/Abstract.php(2251): mollieWooCommerceAvailablePaymentMethods()
    #4 in /home/u29192p22973/domains/wintertuinexperience.nl/public_html/wp-content/plugins/mollie-payments-for-woocommerce/vendor/mollie/mollie-api-php/src/MollieApiClient.php op de lijn 287
    
    2020-10-05T06:43:43+00:00 CRITICAL Uncaught Error: Undefined class constant 'VERSION' in /home/u29192p22973/domains/wintertuinexperience.nl/public_html/wp-content/plugins/mollie-payments-for-woocommerce/vendor/mollie/mollie-api-php/src/MollieApiClient.php:287
    Stack trace:
    #0 /home/u29192p22973/domains/wintertuinexperience.nl/public_html/wp-content/plugins/mollie-payments-for-woocommerce/src/Mollie/WC/Helper/Api.php(45): Mollie\Api\MollieApiClient->__construct()
    #1 /home/u29192p22973/domains/wintertuinexperience.nl/public_html/wp-content/plugins/mollie-payments-for-woocommerce/src/Mollie/WC/Helper/Data.php(341): Mollie_WC_Helper_Api->getApiClient(false)
    #2 /home/u29192p22973/domains/wintertuinexperience.nl/public_html/wp-content/plugins/mollie-payments-for-woocommerce/inc/utils.php(116): Mollie_WC_Helper_Data->getApiPaymentMethods(false, true)
    #3 /home/u29192p22973/domains/wintertuinexperience.nl/public_html/wp-content/plugins/mollie-payments-for-woocommerce/src/Mollie/WC/Gateway/Abstract.php(2251): mollieWooCommerceAvailablePaymentMethods()
    #4 in /home/u29192p22973/domains/wintertuinexperience.nl/public_html/wp-content/plugins/mollie-payments-for-woocommerce/vendor/mollie/mollie-api-php/src/MollieApiClient.php op de lijn 287
    
    2020-10-05T06:44:00+00:00 CRITICAL Uncaught Error: Undefined class constant 'VERSION' in /home/u29192p22973/domains/wintertuinexperience.nl/public_html/wp-content/plugins/mollie-payments-for-woocommerce/vendor/mollie/mollie-api-php/src/MollieApiClient.php:287
    Stack trace:
    #0 /home/u29192p22973/domains/wintertuinexperience.nl/public_html/wp-content/plugins/mollie-payments-for-woocommerce/src/Mollie/WC/Helper/Api.php(45): Mollie\Api\MollieApiClient->__construct()
    #1 /home/u29192p22973/domains/wintertuinexperience.nl/public_html/wp-content/plugins/mollie-payments-for-woocommerce/src/Mollie/WC/Helper/Data.php(341): Mollie_WC_Helper_Api->getApiClient(false)
    #2 /home/u29192p22973/domains/wintertuinexperience.nl/public_html/wp-content/plugins/mollie-payments-for-woocommerce/inc/utils.php(116): Mollie_WC_Helper_Data->getApiPaymentMethods(false, true)
    #3 /home/u29192p22973/domains/wintertuinexperience.nl/public_html/wp-content/plugins/mollie-payments-for-woocommerce/src/Mollie/WC/Gateway/Abstract.php(2251): mollieWooCommerceAvailablePaymentMethods()
    #4 in /home/u29192p22973/domains/wintertuinexperience.nl/public_html/wp-content/plugins/mollie-payments-for-woocommerce/vendor/mollie/mollie-api-php/src/MollieApiClient.php op de lijn 287
    
    • This topic was modified 4 years, 1 month ago by Yui.
    • This topic was modified 4 years, 1 month ago by Yui. Reason: please use CODE button for code formatting

    The page I need help with: [log in to see the link]

Viewing 15 replies - 1 through 15 (of 29 total)
  • I have this same error!

    ik heb ook deze problemen met de mollie plug in

    Plugin Support Syde Niklas

    (@niklasinpsyde)

    Hey there @mveunen , @norberthoenderop & @confettienmeer ,

    Thank you for bringing this error to our attention.
    So far, we were unable to reproduce this behavior in our systems and would like to learn more about your sites.
    To learn more about your sites similarities & to have all information in one place, I would like to invite everyone with this issue open a support ticket with us directly on our website. Click here to learn how to contact us directly.
    Please include your WooCommerce system report and any additional log files (server/PHP) that may show anything of potential interest.
    Thanks!

    Kind regards,
    Niklas

    Plugin Support Syde Niklas

    (@niklasinpsyde)

    Hey there @mveunen , @norberthoenderop & @confettienmeer ,

    Thanks for your patience while we work on this case.
    We have identified the issue and are preparing an update. It will likely be available sometime early next week.
    The issue is a version conflict between GuzzleHttp version 6 and 7.
    We found that one plugin potentially causing this conflict was WooCommerce Bookings.
    If you disable either mollie or WooCommerce Bookings, you will see that you can access your WooCommerce settings again. If you encounter this issue and do not have WooCommerce Bookings installed, please contact us by clicking on this link.

    Our plugin will soon be updated to prevent this conflict in the future. We will notify you as soon as the new update is available.

    Kind regards,
    Niklas

    digitaalvoorallemaal

    (@digitaalvoorallemaal)

    I have the same error. I will wait for the fix!

    Andreas W.

    (@aweissinpsyde)

    Hello @digitaalvoorallemaal

    Thank you. We will provide it asap.

    Have a nice day
    Regards
    Andreas

    Thread Starter mveunen

    (@mveunen)

    Hi @aweissinpsyde @niklasinpsyde

    Do you have an update for us, or a status.
    A week without income is quite hard these days….

    Plugin Support Syde Niklas

    (@niklasinpsyde)

    Hey there @mveunen,

    We are currently testing our fix and will release it once all tests have been passed.
    If you, or anyone else for that sake, would like to help us with testing the fix, please contact us here and we will make it available to you.

    We will publicly release the fix once we know for sure that the problem has been solved.
    Thank you for your understanding!

    Kind regards,
    Niklas

    Plugin Support Syde Niklas

    (@niklasinpsyde)

    Hey there @mveunen , @norberthoenderop , @confettienmeer & @digitaalvoorallemaal

    Thanks for your patience! We now have a stable but temporary workaround until our next regular update.
    Please deactivate mollie Payments and then install this package. This link will be removed once the update is released.

    Please keep the normal mollie Payments plugin deactivated until the next regular update. That’s when we will include a code refactor to permanently resolve conflicts like this.
    When the next update is available, please remove the test package and update the normal mollie plugin instead.

    If you have any other questions please do not hesitate to reach out.

    Kind regards,
    Niklas

    Thread Starter mveunen

    (@mveunen)

    Hi @niklasinpsyde

    I activated the new package and it seems t work.

    I have products on this page:
    https://wintertuinexperience.nl/theetuin-terras/

    Thread Starter mveunen

    (@mveunen)

    Status update:

    Mollie seems to work.
    Now I still get a critical error when making adaptions to a booking.

    Plugin Support Syde Niklas

    (@niklasinpsyde)

    Hey @mveunen ,

    Thanks for the feedback!
    Can you please open a ticket directly on our site, so we can gather some more information regarding your site config?
    We have received multiple positive reports and would like to learn more about what’s different for you.

    Kind regards,
    Niklas

    digitaalvoorallemaal

    (@digitaalvoorallemaal)

    @mveunen Als je een oudere versie van mollie EN woocommerce bookings terugzet moet het goedkomen voor nu!

    Thread Starter mveunen

    (@mveunen)

    Ha @digitaalvoorallemaal ,

    Hoe kom ik aan een ‘oudere’ versie van beide?

    digitaalvoorallemaal

    (@digitaalvoorallemaal)

    @mveunen

    Oudere versie voor Mollie kan je downloaden (zip):
    https://github.com/mollie/WooCommerce/releases/tag/5.8.3

    Voor Woocommerce Bookings zou ik de WooCommerce chat benaderen om de oudere versie te sturen. Ik gebruik zelf versie: 1.15.21

    Dit werkt bij mij prima zoals voorheen.
    Succes!

Viewing 15 replies - 1 through 15 (of 29 total)
  • The topic ‘Mollie plugin crashes site’ is closed to new replies.