• Resolved yaroslav87

    (@yaroslav87)


    Hello. I need your help. When clicking place order in woocommerce checkout it is not redirecting to “thank you page” and there is no confirmation emails about orders. In console I see an error “failed to load resource the server responded with a status of 500 () ajax checkout”

    Then in server logs I see this “Uncaught Error: Using $this when not in object context in /var/www/clients/…/…/web/wp-content/plugins/currency-exc$

    If to turn off the plugin – everything is working. I need your help

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author RazyRx

    (@razyrx)

    Hello,

    Please provide full error text with file and line with error.

    Regards,
    Oleg

    Thread Starter yaroslav87

    (@yaroslav87)

    Hi Oleg. Here it is

    2022/02/14 10:47:44 [error] 8928#8928: *29223 FastCGI sent in stderr: "PHP message: PHP Fatal error:  Uncaught Error: Using $this when not in object context in /var/www/.../.../.../web/wp-content/plugins/currency-exchange-for-woocommerce/main.php:393
    Stack trace:
    #0 /var/www/.../.../.../web/wp-content/plugins/currency-exchange-for-woocommerce/main.php(387): BeRocket_CE::get_woocommerce_currency()
    #1 /var/www/.../.../.../web/wp-includes/class-wp-hook.php(305): BeRocket_CE::update_meta_data_with_new_currency()
    #2 /var/www/.../.../.../web/wp-includes/class-wp-hook.php(327): WP_Hook->apply_filters()
    #3 /var/www/.../.../.../web/wp-includes/plugin.php(470): WP_Hook->do_action()
    #4 /var/www/.../.../.../web/wp-content/plugins/deposits-partial-payments-for-woocommerce/includes/class-awcdp-front-end.php(1610): do_action()
    #5 /var/www/.../.../.../web/wp-includes/class-wp-hook.php(303): AWCDP_Front_End->awcdp_create_order()
    #6 /var/www/.../.../.../web/wp-includes/plugin.php(189): WP_Hook->app" while reading response header from upstream, client: ..., server:..., request: "POST /?wc-ajax=checkout HTTP/2.0", upstream: "fastcgi://unix:/var/lib/php7.2-fpm/web88.sock:", host: "....", referrer: "https://.../checkout/"
    Plugin Author RazyRx

    (@razyrx)

    Hello,

    Please try to update plugin to latest version and check this issue.

    Regards,
    Oleg

    Thread Starter yaroslav87

    (@yaroslav87)

    Hello Oleg. Just checked it twice, everything is working. Thank you for such fast help and your good product!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Woocommerce checkout error caused by exchange’ is closed to new replies.