• 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 14 replies - 16 through 29 (of 29 total)
  • Thread Starter mveunen

    (@mveunen)

    So I downgraded to the old Mollie version (5.8.3.) , and kept the most recent Bookings plugin (1.15.29)

    This configuration seems to work.

    Hence, the trouble seems so come from the Mollie plugin.

    @niklasinpsyde

    Plugin Support Syde Niklas

    (@niklasinpsyde)

    Hey @mveunen,

    Thanks for letting us know.
    This is a good workaround, thanks for giving it a try.
    We will keep you updated on our progress.

    Kind regards,
    Niklas

    digitaalvoorallemaal

    (@digitaalvoorallemaal)

    @niklasinpsyde Unfortunately the error still exists… Is the bugfix still in progress?

    Thread Starter mveunen

    (@mveunen)

    I have the same question. Is there an status update?

    Plugin Support Syde Niklas

    (@niklasinpsyde)

    Hello @digitaalvoorallemaal & @mveunen ,

    We are currently preparing our next release which is planned for early next week.
    Since the fix for this issue is more complex than anticipated, we were not able to include our final implementation in this next update and will push it as an additional update later on.
    So for now and a short period after our next update, we still recommend using Mollie 5.8.3 if you rely on Subscriptions.
    Thanks for your patience while we work on this issue. As mentioned before I will notify all related threads as soon as we have a better solution.

    Kind regards,
    Niklas

    michaellammers

    (@michaellammers)

    The error still persists in the current version but this and the other topic about this bug have a status ‘resolved’. How come @niklasinpsyde?

    Plugin Support Syde Niklas

    (@niklasinpsyde)

    Hey @michaellammers,

    My apologies for the delay regarding this issue. The threads have been marked resolved for our internal issue tracking and since there is a workaround in using Mollie 5.8.3 with Bookings 1.15.21.
    We understand that this is a critical issue with a semi-optimal workaround and therefore it is our top priority.
    Unfortunately there was a bug in a package which we have to utilise to resolve this behavior and had to wait for it to be fixed ourself.
    This means that our latest version 5.11.0 did not fix the conflict with WooCommerce Bookings just yet.
    However, the next release will include a final solution. I can’t tell exactly when it will be released, but as mentioned before I will update this thread once we have a fix ready for you.
    Thanks for hanging in there with us!

    Kind regards,
    Niklas

    michaellammers

    (@michaellammers)

    Thanks for the heads up @niklasinpsyde ??

    MartijnO

    (@sanadome)

    I have the same issue. With the workaround plugin it works, but is don’t get a conformation mail when paid. So i have to manualy do this for every order.
    I hope the new release will be live soon.

    Plugin Support Syde Niklas

    (@niklasinpsyde)

    Hello @mveunen, @norberthoenderop, @confettienmeer, @digitaalvoorallemaal, @michaellammers & @sanadome

    Thank you so much for your patience regarding this issue.
    We have created a new Mollie version, which should resolve this issue for now.
    The core problematic is very complex to solve for good, that means this fix is not yet our final implementation and we will continue to work on it.
    But at least, it should work properly for now. ??

    Please download the new Mollie version from this link here and give it a try:
    https://drive.google.com/file/d/1uUQx7I9UYodGKxRzAyeS40znL0Ru04ox/view?usp=sharing

    So far, our internal tests with WooCommerce Bookings and Simple Calender were successful.
    But we of course appreciate your feedback regarding this fix, so we can potentially include it in our next regular update in the first half of december, in case we cannot get our final implementation done in time.
    Thank you so much!

    Kind regards,
    Niklas

    MartijnO

    (@sanadome)

    Hello Niklas,

    Thanks for the new version. I installed and tested it right away.
    I did one test myself and 1 test from a real customer and i don’t see any errors anymore with Woocommerce Bookings v1.1.5.30 (most recent).
    However both orders are still on “waiting for payment” in woocommerce, while both are paid. In the side bar i see the notice “Mollie – iDEAL betaling gestart (ord_pycfbw).”, but it doesn’t receive the payment succesfull information..
    If you want to have a look on my site to see any logs or so, please let me know.

    MartijnO

    (@sanadome)

    hello Niklas,

    While writing the last reply i had 3 new orders and they do get updated to payment succesful. So it works sometimes, sometime not.. But maybe this has an other cause?

    Plugin Support Syde Niklas

    (@niklasinpsyde)

    Hello @sanadome,

    Thanks for testing.
    Can you please open a support ticket with us directly as described in this article here?
    To learn more about your site, please include your WooCommerce System Report and a link to this thread.
    Thanks!

    Kind regards,
    Niklas

    Plugin Support Syde Niklas

    (@niklasinpsyde)

    Hello everyone,

    Our new update – Mollie 6.0 – has been released yesterday.
    You can update to the newest version without worries, as this conflict has been fixed among some other improvements.

    Big thanks for the feedback, it is much appreciated.
    Please let us know if any issues remain with our latest version.

    Kind regards,
    Niklas

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