-
AuthorPosts
-
October 7, 2014 at 11:36 am #331501
Hi, I have a very annoying bug that occurs during checkout of free products. After the place order button is clicked the page just keeps loading forever and it doesn’t redirect to the order summery page. The order does show up under the WooCommerce orders but no emails are being sent (not to the admin and not to the customer).
I asked WP Engine to see if thy can find the reason and here is what they found:
When that checkout page is submitted, a request to admin-ajax.php is made and that request is showing a 500 error, so the checkout does not submit correctly. Here is one of those errors on the log:
05/Oct/2014:16:00:59 +0000|v1|127.0.0.1|polytown.co.il |500|20|127.0.0.1:6788|1.493|1.493|POST /wp-admin/admin-ajax.php?action=woocommerce_checkout HTTP/1.0
I did some digging into the error logs, and it appears to be caused by this error:
[Sun Oct 05 16:00:59 2014] [error] [client 66.162.212.19] PHP Parse error: syntax error, unexpected ';' in /nas/wp/www/cluster-2147/polytowncoil/wp-content/themes/enfold/woocommerce/emails/customer-completed-order.php on line 55, referer: https://polytown.co.il/checkout/
Each time that that 500 error showed up on the access logs, there was a corresponding error syntax error, so I am fairly sure this is the case.
I would recommend reaching out to the theme developer, or working to update that theme if at all possible.
I also contacted Woothemes support and this is what they said:
The problem that you’re having might be related to your theme. Did you recently update WooCommerce? I see that the Enfold theme does not declare compatibility for WooCommerce 2.2 yet (http://cld.wthms.co/VghZ ). Can you please try placing an order with free products in a default WordPress theme, such as Twenty Twelve? If the problem does not occur, then you’ll have to contact the support folks at Kriesi: https://kriesi.at/support/?envato_item_id=4519990
Can you look into this issue and see if you can find the solution?
October 8, 2014 at 7:21 am #332157Hey DROR!
Please try the following to see if it helps.
Disable all third-party plugins to see if the issue gets fixed. 90% of the time, issues are caused by conflicting code from third party plugins. Disabling these plugins one by one and checking if this helps sort the issue helps pin-point the exact source of the issue.
If disabling any third party plugins does not help, please forward us FTP and WordPress administrative credentials to your site for us to have a closer look and raise a bug issue.
Please check the “Set as private reply (Only you and moderators will see the content of this post)” option before posting any sensitive information.
Regards,
Arvish -
AuthorPosts
- You must be logged in to reply to this topic.