Home Forums Themes Support Claue Error in checkout page

Topic Resolution: Resolved
Viewing 3 reply threads
  • Author
    Posts
    • #26485

      Hi,

      I have migrated recently to VPS and I have a problem with the checkout page when customer make order and click on process order button it gives an error (Internal Server Error)

      I enabled the debug mood and this is the bug details

      SyntaxError: Unexpected token < in JSON at position 0

      However the order is done and I receive it from admin panel but I don’t receive email confirmation as a customer.

      Please advise

    • #26492

      Could you take a screenshot with more detail of issue. I check but don’t see the error message and which file cause the issue.

      Please add below code in wp-config.php to know which cause issue.

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

      After done please remove these code.

      Regards

      Harry
      Premium Wordpress themes and plugins, Best WooCommerce theme https://themeforest.net/user/janstudio/portfolio?ref=janstudio

    • #26494

      HI,

      I have added the requested lines but please let me know once you fix it as the website is live

      Screenshot attached

      Attachments:
      You must be logged in to view attached files.
    • #26498

      Hi,

      Please follow this topic https://stackoverflow.com/questions/47308095/wordpress-woocommerce-checkout-syntaxerror-unexpected-token-in-json-at-posi

      This issue maybe related to folder permission.

      Regards

      Harry
      Premium Wordpress themes and plugins, Best WooCommerce theme https://themeforest.net/user/janstudio/portfolio?ref=janstudio

Viewing 3 reply threads

You must be logged in to reply to this topic.