Home › Forums › Themes Support › Claue › Error in checkout page
- This topic has 3 replies, 2 voices, and was last updated 5 years, 6 months ago by Harry.
-
AuthorPosts
-
-
November 10, 2018 at 2:39 pm #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
-
November 10, 2018 at 5:31 pm #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 -
November 10, 2018 at 5:35 pm #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. -
November 10, 2018 at 5:41 pm #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
-
-
AuthorPosts
You must be logged in to reply to this topic.