• Resolved samtulana

    (@samtulana)


    Hello. Unable to make payment in cart – gives 502 error – problem in ?wc-ajax=checkout – https://i.imgur.com/hobcshZ.png.

    When trying to enable

    define('WP_DEBUG', true);
    define('WP_DEBUG_LOG', true); 

    the error code does not appear and the payment goes through, here’s the deal. Please help.

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

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support AW a11n

    (@slash1andy)

    Automattic Happiness Engineer

    Hey there!

    a 502 error means your server is not allowing it to process the request it’s asking.

    It looks like you turned on WordPress debug logging. Can you share the logs here?

    Thread Starter samtulana

    (@samtulana)

    That’s the thing, when I turn on the logs, everything works. Please help.

    https://dropmefiles.com/tvpl7

    Plugin Support mouli a11n

    (@mouli)

    This may be related to caching, since enabling debug bypasses any caching, so please try clearing and disabling any caches on your site.
    There may also be server side caching that you will need to talk to your host about.

    Thread Starter samtulana

    (@samtulana)

    Turned off all plugins and removed the caching, but the error persists. Perhaps the problem is in the plugin Yozer, as clean checkout works. We wrote to them.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Error 502 – ?wc-ajax=checkout’ is closed to new replies.