• Resolved postduif

    (@postduif)


    Hi! I was very glad to see support for WooCommerce block based checkout in the latest release.

    However, for me it doesn’t work and leads to fatal errors on the checkout page immediately. Any idea what might cause this? I hope it can be fixed!

    Error log indicates a lot of errors, including these:

    [proxy_fcgi:error?[pid 410553:tid 410975?[client:0?AH01071: Got error ‘PHP message: PHP Warning: touch(): Utime failed: Operation not permitted in /XXXXXXXXX/public_h…………PHP message: PHP Warning: chmod(): Operation not permitted in /XXXXXXXXXX/public_html/wp-admin/includes/class-wp-filesystem-direct.php on line 173’, referer: https://XXXXXX.com/checkout

    [proxy_fcgi:error?[pid 410553:tid 410975?[client:0?AH01071: Got error ‘PHP message: PHP Fatal error: Uncaught Error: Call to a member function ajax_update_checkout_totals() on bool in /XXXXXXXXX/woocommerce/src/StoreApi/Routes/V1/AbstractRoute.php(119): Automattic\\WooCommerce\\StoreApi\\Routes\\V1\\CartUpdateCustomer->get_route_post_response()\n#5 /home/909256.cl…’, referer: https://XXXXXXXXX.com/checkout

    [proxy_fcgi:error?[pid 410553:tid 410968?[client 45.134.142.216:0?AH01071: Got error ‘PHP message: PHP Warning: touch(): Utime failed: Operation not permitted in /XXXXXXXXX/public_h…………PHP message: PHP Warning: chmod(): Operation not permitted in /XXXXXXXXX/public_html/wp-admin/includes/class-wp-filesystem-direct.php on line 173’, referer: https://XXXXXXXXX/checkout

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author David Anderson

    (@davidanderson)

    Hi,

    Thank you for the report. Can you confirm which errors appear newly in the log at the moment of fatal errors appearing on the checkout? (Others in the log from other times will be false trails). What is the exact wording of the error you see on the checkout?

    Do the errors occur if our plugin is the only other plugin than WooCommerce active, and do the errors go away if you deactivate our plugin?

    What version of WooCommerce are you using?

    David

    Thread Starter postduif

    (@postduif)

    Hi,

    I am using the latest version of WooCommerce, 9.3.1.

    The errors only appear in the log when both the new checkout and this plugin are enabled. Disabling the plugin removes the errors and makes the checkout work like normal.

    On the user side / front end there is a “fatal error occurred” warning when filling out billing / contact details.

    Plugin Author David Anderson

    (@davidanderson)

    Thank you. When you say “Error log indicates a lot of errors, including these”, which ones precisely are the ones that appear at the same moment that you visit the checkout page and see the error there?

    For example, in your copy of the logs above, there’s one error appearing twice – does that means it appears twice each time the error is seen, or are those from separate visits, or something else?

    Plugin Author David Anderson

    (@davidanderson)

    Hi,

    No worries about answering those latest questions now – we’ve managed to reproduce this in our own testing, and are working on a fix.

    David

    Plugin Author David Anderson

    (@davidanderson)

    We have a fix for this, but we’re not making a new release until we’ve also fixed a second issue which we identified during testing.

    If you want to apply the fix now, then edit the file wp-content/plugins/woocommerce-eu-vat-compliance/bootstrap.php and change line 253 from:

    $vat_controller->ajax_update_checkout_totals($form_data);

    to:

    if ($vat_controller) $vat_controller->ajax_update_checkout_totals($form_data);

    David

    Plugin Author David Anderson

    (@davidanderson)

    Hi,

    Please try today’s version 1.31.1 release.

    David

Viewing 6 replies - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.