• Resolved davomc

    (@davomc)


    See loom video of the issue, and also showing when user switching is deactivated the checkout works correctly both in native WP checkout and FunnelKit Checkout.

    I never used to get this issue so something has changed recently.

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

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author John Blackbourn

    (@johnbillion)

    WordPress Core Developer

    Thanks for the report.

    Even with Funnelkit deactivated, what you’re seeing is not the native WooCommerce checkout screen, it’s a custom one either from your theme or from a plugin on your site.

    Judging by the output of the ajax response that I can see in the video, something on your site is calling the wp_meta action when it shouldn’t, which causes User Switching to output its “Switch back” link which is normally shown in the “Meta” sidebar widget, if it’s in use. This is what’s breaking the ajax response.

    I recommend that you try switching to one of the default WordPress themes and test this again, and if that doesn’t work try deactivating your other plugins one by one until you find out which one is triggering that ajax request on the checkout screen.

    Best of luck!

    Thread Starter davomc

    (@davomc)

    This is what drives me crazy about WordPress, every plugin blames the theme or another plugin and noone ever seems to want to fix an issue.

    I have found a workaround for this so I’m not fussed if it gets fixed or not. But as I mentioned, this issue also occurs on the standard checkout (have tested), it has nothing to do with my theme, and it previoously worked perfectly.

    I have also tested turning off all the plugins, and the plugin which causes the issue is the “User Switching” plugin.

    Plugin Author John Blackbourn

    (@johnbillion)

    WordPress Core Developer

    Working with WordPress is my day job, so believe me that I know how crazy it drives you.

    I cannot fix something that’s not broken. As I said, the root cause is something on your site is calling the wp_meta action when it shouldn’t. This causes User Switching to output its Switch Back link the in ajax response on the checkout screen.

    If you do decide to investigate further, you should find out what is triggering that ajax request (either your theme, a plugin, or a mu-plugin) and go from there.

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

The topic ‘Checkout Breaks when using user switching’ is closed to new replies.