• Resolved rodman38

    (@rodman38)


    Bonjour,

    Unable to place an order, during the order process (after clicking on the “Pay” of stripe button), I get the following error message => “Error processing the order. Try Again.” I have no stripe or woocommerce errors in the logs, I activated WordPress debugging mode and I have this: :

    [05-Dec-2023 10:00:23 UTC] WordPress database error Commands out of sync; you can't run this command now for query SELECT option_value FROM 8432f_options WHERE option_name = '_transient_timeout_woocommerce_blocks_asset_api_script_data_ssl' LIMIT 1 made by shutdown_action_hook, do_action('shutdown'), WP_Hook->do_action, WP_Hook->apply_filters, Automattic\WooCommerce\Blocks\Assets\Api->update_script_data_cache, set_transient, add_option, get_option
    [05-Dec-2023 10:00:23 UTC] WordPress database error Commands out of sync; you can't run this command now for query INSERT INTO 8432f_options (option_name, option_value, autoload) VALUES ('_transient_timeout_woocommerce_blocks_asset_api_script_data_ssl', '1704362423', 'no') ON DUPLICATE KEY UPDATE option_name = VALUES(option_name), option_value = VALUES(option_value), autoload = VALUES(autoload) made by shutdown_action_hook, do_action('shutdown'), WP_Hook->do_action, WP_Hook->apply_filters, Automattic\WooCommerce\Blocks\Assets\Api->update_script_data_cache, set_transient, add_option
    [05-Dec-2023 10:00:23 UTC] WordPress database error Commands out of sync; you can't run this command now for query INSERT INTO 8432f_options (option_name, option_value, autoload) VALUES ('_transient_woocommerce_blocks_asset_api_script_data_ssl', '{\"script_data\":{\"build\/wc-settings.js\":{\"src\":\"https:\/\/globalremorques.fr\/wp-content\/plugins\/woocommerce\/packages\/woocommerce-blocks\/build\/wc-settings.js\",\"version\":\"811714876abd43a87bd7\",\"dependencies\":[\"wp-hooks\",\"wp-i18n\",\"wp-polyfill\"]},\"build\/wc-blocks-middleware.js\":{\"src\":\"https:\/\/globalremorques.fr\/wp-content\/plugins\/woocommerce\/packages\/woocommerce-blocks\/build\/wc-blocks-middleware.js\",\"version\":\"ca04183222edaf8a26be\",\"dependencies\":[\"wp-api-fetch\",\"wp-polyfill\"]},\"build\/wc-blocks-data.js\":{\"src\":\"https:\/\/globalremorques.fr\/wp-content\/plugins\/woocommerce\/packages\/woocommerce-blocks\/build\/wc-blocks-data.js\",\"version\":\"44400df383376f8b7fe7\",\"dependencies\":[\"wc-blocks-registry\",\"wc-settings\",\"wp-api-fetch\",\"wp-data\",\"wp-data-controls\",\"wp-deprecated\",\"wp-element\",\"wp-html-entities\",\"wp-i18n\",\"wp-is-shallow-equal\",\"wp-notices\",\"wp-polyfill\",\"wp-url\"]},\"build\/wc-blocks-vendors.js\":{\"src\":\"https:\/\/globalremorques.fr\/wp-

    I don’t understand where the problem could come from ?
    The site is up to date, I deactivated my cache plugin

    • This topic was modified 2 years, 4 months ago by rodman38.
    • This topic was modified 2 years, 4 months ago by rodman38.
    • This topic was modified 2 years, 4 months ago by rodman38.
    • This topic was modified 2 years, 4 months ago by rodman38.
Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter rodman38

    (@rodman38)

    Is this error message in the log file linked to the fact that I am unable to place an order on the site? Because it could be nothing to do with it, I’m not knowledgeable enough to determine that.

    Hi @rodman38,

    Unable to place an order, during the order process (after clicking on the “Pay” of stripe button), I get the following error message => “Error processing the order. Try Again.”

    From what I understand, you’re encountering an error message when trying to place an order on your site. You’ve mentioned that the error occurs after clicking the “Pay” button of Stripe and that despite having no Stripe or WooCommerce errors in your logs, you’ve found some database error messages in your WordPress debugging mode.

    The error messages you’ve shared seem to be related to database queries related to WooCommerce Blocks Assets. While these errors could potentially affect your site’s functionality, it’s not entirely clear if they’re directly causing the issue with placing an order.

    Here are a few steps you can take to resolve this issue:

    1. Clear all transients: Since you’ve already deactivated your cache plugin, you might want to try clearing all transients. You can do this by navigating to WooCommerce > Status > Tools and using the ‘Clear transients‘ tool.
    2. Update all plugins: Ensure that all your plugins, themes, and WordPress itself are up-to-date. An outdated plugin or theme could potentially cause conflicts with WooCommerce or Stripe.
    3. Check WooCommerce and Stripe settings: Make sure all your WooCommerce and Stripe settings are correct, including payment gateways and API keys. If you need help with this, here’s a handy guide on setting up 👉 Stripe.
    4. Test other payment gateways: To determine if this issue is specific to Stripe, try placing an order using a different payment gateway, such as Cash on Delivery (COD). Here’s a guide on how to configure 👉 Cash on Delivery (COD).
    5. Disable all plugins except WooCommerce and Stripe: To rule out any plugin conflicts, temporarily disable all other plugins and try placing an order again. If it works, enable your plugins one by one to identify any that may be causing conflict.
    6. Switch to a default WordPress theme: Theme conflicts could also cause this issue. Try switching to a default WordPress theme like Storefront and attempt to place an order again. Here’s a handy guide on testing for conflicts: 👉 How to Test for Plugin and Theme Conflicts.

    If the issue persists, we’ll need more information to further investigate. Please enable error logging in WooCommerce > Settings > Payments > Stripe under “Advanced Settings”, and tick ‘Log Error Messages‘. This will save logs that can help us troubleshoot your site.

    We would also appreciate seeing your site’s System Status report. It can give us a clearer picture of your site’s setup and help us identify the problem. You can find the report under WooCommerce > Status. Choose Get system report and then Copy for support.

    Once you’ve collected this information, please paste it inside a Code block in your reply, or use https://pastebin.com to paste it and share the link with us.

    Thanks for your patience and cooperation in this matter! We’re here to help you get this sorted.

    Thread Starter rodman38

    (@rodman38)

    Plugin Support Shameem – a11n

    (@shameemreza)

    Hi @rodman38

    I’m glad you were able to find a solution to your inquiry here and thanks for sharing it with the community too! 🙂

    Should you have further inquiries, kindly create a new topic here.

    Thanks!

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Error processing the order. Please try again’ is closed to new replies.