Join our new community forum for support & discussion
Join NowInternal Server Error
-
AuthorPosts
-
damibabs 2 years, 4 months ago
I’m getting this error message at checkout. The transaction still goes through, and the confirmation email comes through, etc.
The message shows at the top of the checkout page, so it’s unclear to users if the payment went through.
If you have the detailed error message (your hosting provider should provide access to the error logs) please post it here or send it privately via email and I’ll check it.
damibabs 2 years, 4 months agoThank you. I think this is the error log:
2020-11-13T00:08:16+00:00 CRITICAL syntax error, unexpected ‘Complete’ (T_STRING), expecting ‘)’ in /var/www/wp-content/themes/taskhive/woocommerce/emails/customer-processing-order.php on line 30
2020-11-13T00:08:28+00:00 CRITICAL syntax error, unexpected ‘Complete’ (T_STRING), expecting ‘)’ in /var/www/wp-content/themes/taskhive/woocommerce/emails/customer-processing-order.php on line 30
2020-11-13T00:11:31+00:00 CRITICAL syntax error, unexpected ‘Complete’ (T_STRING), expecting ‘)’ in /var/www/wp-content/themes/taskhive/woocommerce/emails/customer-processing-order.php on line 30
2020-11-13T00:19:46+00:00 CRITICAL syntax error, unexpected ‘Complete’ (T_STRING), expecting ‘)’ in /var/www/wp-content/themes/taskhive/woocommerce/emails/customer-processing-order.php on line 30
It seems to be caused by customizations, there’s no taskhive/woocommerce/emails/customer-processing-order.php file in TaskHive by default.
If you or your developer added this file to override the WooCommerce email template please make sure that it contains no errors. Also, please add a child theme for customizations, because any direct changes in TaskHive folder will be erased on update https://wordpress.org/plugins/child-theme-generator/
damibabs 2 years, 4 months agoHi Ihor,
Thanks for checking! I figured it out – I edited the automated email template and put some quotation marks in the wrong place.
How does the child theme plugin work – do I just need to activate it?
Thanks,
Dami
Please check the instructions and screenshots on their page https://wordpress.org/plugins/child-theme-generator/ After you generate a child theme for TaskHive you can delete this plugin. Then if you make any changes in the theme files (like overriding WooCommerce email template) please place it in the child theme folder. You can read more about child themes here https://woocommerce.com/posts/why-child-themes-matter/
damibabs 2 years, 4 months agoThank you!
-
AuthorPosts
New Reply
This forum has been archived and is no longer accepting new posts or replies. Please join our new community forum for support & discussion.