• Resolved farky85

    (@farky85)


    Posted previously but was closed without resolution:

    There appears to be a known conflict between WooCommerce & Yoast SEO (https://docs.woocommerce.com/document/known-conflicts) where, when checking out from the store / submitting payment details, the order does not go through. Disabling Yoast seems to make this work ok again.

    Website suggests “The setting “Redirect ugly URL’s to clean permalinks” in SEO > Permalinks is known to break the checkout process since it strips the query string. Turn this option Off” however this option doesn’t seem to appear anywhere on WordPress any more. I’m using Divi Extra theme.

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

Viewing 11 replies - 1 through 11 (of 11 total)
  • Hello!

    That feature has long been removed from the plugin. It was removed in version 7.0. The latest version is 15.5.

    Regarding your issue, before we check further, can you please make sure you’re running the latest version of WordPress, theme, and ALL plugins?

    Thread Starter farky85

    (@farky85)

    Everything is running latest versions:
    – WordPress 5.6–en_GB
    – Divi Extra theme 4.7.7
    – Yoast SEO 15.5
    – WooCommerce 4.8.0

    …and all other plugins are latest versions.

    Plugin Support devnihil

    (@devnihil)

    @farky85 Thanks for your reply.

    If after ensuring that both WordPress, Yoast SEO, and your other plugins and themes are up to date the issue is still occurring, we’d next recommend performing a conflicting check to see whether another plugin or theme is interfering with the Yoast SEO Plugin. This will help us narrow down the exact cause and determine what the next steps are while saving you time.

    The fastest way to do this is to?deactivate all non-Yoast plugins and switch to a standard theme?like?Twenty Nineteen.?Test this on your development or staging site, if you have one. If not, we recommend using the?Health Check & Troubleshooting?plugin. This plugin allows you to run a conflict check?without affecting normal visitors to your site.

    If you’re unfamiliar with checking for conflicts, we’d like to point you to a step-by-step guide that will walk you through the process:?How to check for plugin conflicts.

    Thread Starter farky85

    (@farky85)

    Thanks. I’ve done a full conflict check on both a standard theme as well as the actual theme (Divi Extra) being used – turning all plugins off, and then on one at a time vs Yoast. This produced no errors on the test site – but the issue still remains when replicated on the live site.

    Thread Starter farky85

    (@farky85)

    To clarify: the issue still remains on the live site unless I turn off the Yoast SEO plugin. If that is disabled, then there is no problem in using the WooCommerce checkout process.

    Plugin Support Michael Ti?a

    (@mikes41720)

    Hi,

    Would it be possible for you to enable the troubleshooting mode of the Health Check & Troubleshooting plugin to revert to a default theme and only activate Yoast SEO and WooCommerce and see if you are able to reproduce the issue on your live site? (enabling troubleshooting mode won’t affect the frontend view of the website)

    Thread Starter farky85

    (@farky85)

    Hi Michael. That’s already been done (sorry if reply above wasn’t clear) – I’ve run troubleshooting mode and been able to run all the plugins successfully on both my default and existing themes, and haven’t been able to reproduce the problem. Everything worked fine. But switching back to the live site the problem still exists whenever Yoast SEO is enabled.

    Plugin Support devnihil

    (@devnihil)

    @farky85 Thanks for your reply and sorry for the confusion.

    So to clarify, even when your normal theme for the site and all other plugins are enabled, the issue doesn’t occur on your test site, but when running a default theme (such as TwentyNineteen) and only WooCommerce and Yoast SEO enabled, it does occur on your live site?

    If that is the case, the issue is likely due to something specific on your live site outside of the themes/plugins in use.

    Can you please first check whether when the issue occurs if any errors are logged on your server? For some types of error logs it may require having this checked by your hosting provider as accessing them may require a higher level of permissions.

    Also, can you confirm your server has all the right requirements? If you are not sure, speak to your host provider. This guide explains more: https://yoast.com/help/plugin-requirements/.

    Thread Starter farky85

    (@farky85)

    Hi

    Yes – that is correct: even if EVERY plugin is enabled, and using the original (Divi Extra) theme, on the test site everything is working fine. It’s only when switching to the live site that there’s an issue – which can only be sorted by disabling the Yoast SEO plugin.

    Server is running the right requirements for Yoast SEO.

    I’ve just replicated the error on the live site and checked the WooCommerce Fatal Errors logs. It shows the following (‘ZZZ’ represents the domain name):

    2021-01-11T09:53:28+00:00 CRITICAL Uncaught Error: Class ‘ET_Builder_Element’ not found in /home/customer/www/ZZZ/public_html/wp-content/themes/Extra/includes/builder/core.php:6397
    Stack trace:
    #0 /home/customer/www/ZZZ/public_html/wp-content/themes/Extra/includes/core.php(778): et_builder_maybe_wrap_css_selector(‘h1’)
    #1 /home/customer/www/ZZZ/public_html/wp-content/themes/Extra/includes/core.php(888): extra_get_dynamic_selectors()
    #2 /home/customer/www/ZZZ/public_html/wp-content/themes/Extra/includes/customizer.php(715): extra_get_dynamic_selector(‘accent_color_co…’)
    #3 /home/customer/www/ZZZ/public_html/wp-includes/class-wp-hook.php(287): extra_customizer_register_general_layout_settings(Array)
    #4 /home/customer/www/ZZZ/public_html/wp-includes/plugin.php(212): WP_Hook->apply_filters(Array, Array)
    #5 /home/customer/www/ZZZ/public_html/wp-content/themes/Extra/includes/customizer.php(559): apply_filters(‘extra_customize…’, Array)
    #6 /home/customer/www/ZZZ/public_html/wp-content/themes/Extra/i in /home/customer/www/ZZZ/public_html/wp-content/themes/Extra/includes/builder/core.php on line 6397

    Hi,

    It is odd that it works well on the testing site but the issue remains on the live site.

    A. Uncaught Error: Class ‘ET_Builder_Element’ not found in
    We are not sure if this is or is not related to the issue but we would recommend the following actions:

    1. Confirm if this error also appears on the testing site.

    2. The error message means there is some file “not found” in the Extra theme. We recommend contacting the Extra theme authors for specifics.

    3. We have seen edge cases where sometimes pushing from a staging site to a live site results in files going missing. Sometimes it is a Yoast file other times it is something else. In this cases, re-installing the plugin or theme on the live site usually fixes it. We can’t see if that will fix the “not found” issue with the Extra theme but it is something to bringing it up to them.

    B. Order Fails to Go Through
    We would like some more information.

    1. Can you elaborate a bit more on how the order fails to go through to work exactly? Are you able to go through the checkout process and get to a “Thank you for your order page” but no order is generated in WooCommerce? Or do you click submit for the order and the page hangs? OR do you click submit for the order and are just redirected somewhere?

    2. Can you confirm there are no stray redirects or rules in the server that could create an issue? If you are not sure how to check this, your host provider can help

    Thread Starter farky85

    (@farky85)

    With the recent updates to Yoast SEO (15.6.2) and Divi Themes (4.8.0) over the past 48 hours, it appears the issue has been resolved.

    Many thanks for your assistance. Case closed!

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘Yoast/WooCommerce Checkout Issue’ is closed to new replies.