This topic has 17 replies, 2 voices, and was last updated 1 years, 2 months ago ago by Rose Tyler
Hi,
So I had two times a critical error on my site when I changed the order status of an order to complete. It is related to the email customizer.
I got from wordpress an email about the error. See below.
Error details
===========
An error of the type E_ERROR was caused on line number 24 of the file /home/xd33uci/public_html/wp-content/plugins/et-core-plugin/packages/woocommerce-email-template-customizer/includes/templates/order-items/style-1.php. Foutmelding: Uncaught Error: Call to a member function get_permalink() on bool in /home/xd33uci/public_html/wp-content/plugins/et-core-plugin/packages/woocommerce-email-template-customizer/includes/templates/order-items/style-1.php:24
Stack trace:
#0 /home/xd33uci/public_html/wp-content/plugins/woocommerce/includes/wc-core-functions.php(345): include()
#1 /home/xd33uci/public_html/wp-content/plugins/et-core-plugin/packages/woocommerce-email-template-customizer/includes/email-render.php(326): wc_get_template()
#2 /home/xd33uci/public_html/wp-content/plugins/et-core-plugin/packages/woocommerce-email-template-customizer/includes/email-render.php(272): VIWEC\INC\Email_Render->render_html_order_detail()
#3 /home/xd33uci/public_html/wp-includes/class-wp-hook.php(312): VIWEC\INC\Email_Render->render_content()
#4 /home/xd33uci/public_html/wp-includes/class-wp-hook.php(334): WP_Hook->apply_filters()
#5 /home/xd33uci/public_html/wp-includes/plugin.php(517): WP_Hook->do_action()
#6 /home/xd33uci/public_html/wp-content/plugins/et-core-plugin/packages/woocommerce-email-template-customizer/includes/email-render.php(216): do_action()
#7 /home/xd33uci/public_html/wp-content/plugins/et-core-plugin/packages/woocommerce-email-template-customizer/includes/email-trigger.php(153): VIWEC\INC\Email_Render->render()
#8 /home/xd33uci/public_html/wp-includes/class-wp-hook.php(310): VIWEC\INC\Email_Trigger->load_template()
#9 /home/xd33uci/public_html/wp-includes/class-wp-hook.php(334): WP_Hook->apply_filters()
#10 /home/xd33uci/public_html/wp-includes/plugin.php(517): WP_Hook->do_action()
#11 /home/xd33uci/public_html/wp-content/plugins/et-core-plugin/packages/woocommerce-email-template-customizer/includes/templates/email-template.php(2): do_action()
#12 /home/xd33uci/public_html/wp-content/plugins/woocommerce/includes/wc-core-functions.php(345): include(‘/home/xd33uci/p…’)
#13 /home/xd33uci/public_html/wp-content/plugins/woocommerce/includes/wc-core-functions.php(364): wc_get_template()
#14 /home/xd33uci/public_html/wp-content/plugins/woocommerce/includes/emails/class-wc-email-customer-completed-order.php(109): wc_get_template_html()
#15 /home/xd33uci/public_html/wp-content/plugins/woocommerce/includes/emails/class-wc-email.php(588): WC_Email_Customer_Completed_Order->get_content_html()
#16 /home/xd33uci/public_html/wp-content/plugins/woocommerce/includes/emails/class-wc-email-customer-completed-order.php(69): WC_Email->get_content()
#17 /home/xd33uci/public_html/wp-includes/class-wp-hook.php(310): WC_Email_Customer_Completed_Order->trigger()
#18 /home/xd33uci/public_html/wp-includes/class-wp-hook.php(334): WP_Hook->apply_filters()
#19 /home/xd33uci/public_html/wp-includes/plugin.php(565): WP_Hook->do_action()
#20 /home/xd33uci/public_html/wp-content/plugins/woocommerce/includes/class-wc-emails.php(170): do_action_ref_array()
#21 /home/xd33uci/public_html/wp-includes/class-wp-hook.php(310): WC_Emails::send_transactional_email()
#22 /home/xd33uci/public_html/wp-includes/class-wp-hook.php(334): WP_Hook->apply_filters()
#23 /home/xd33uci/public_html/wp-includes/plugin.php(517): WP_Hook->do_action()
#24 /home/xd33uci/public_html/wp-content/plugins/woocommerce/includes/class-wc-order.php(395): do_action()
#25 /home/xd33uci/public_html/wp-content/plugins/woocommerce/includes/class-wc-order.php(253): WC_Order->status_transition()
#26 /home/xd33uci/public_html/wp-content/plugins/woocommerce/includes/admin/meta-boxes/class-wc-meta-box-order-data.php(714): WC_Order->save()
#27 /home/xd33uci/public_html/wp-includes/class-wp-hook.php(312): WC_Meta_Box_Order_Data::save()
#28 /home/xd33uci/public_html/wp-includes/class-wp-hook.php(334): WP_Hook->apply_filters()
#29 /home/xd33uci/public_html/wp-includes/plugin.php(517): WP_Hook->do_action()
#30 /home/xd33uci/public_html/wp-content/plugins/woocommerce/includes/admin/class-wc-admin-meta-boxes.php(263): do_action()
#31 /home/xd33uci/public_html/wp-includes/class-wp-hook.php(312): WC_Admin_Meta_Boxes->save_meta_boxes()
#32 /home/xd33uci/public_html/wp-includes/class-wp-hook.php(334): WP_Hook->apply_filters()
#33 /home/xd33uci/public_html/wp-includes/plugin.php(517): WP_Hook->do_action()
#34 /home/xd33uci/public_html/wp-includes/post.php(4751): do_action()
#35 /home/xd33uci/public_html/wp-includes/post.php(4853): wp_insert_post()
#36 /home/xd33uci/public_html/wp-admin/includes/post.php(445): wp_update_post()
#37 /home/xd33uci/public_html/wp-admin/post.php(227): edit_post()
#38 {main}
thrown
Hello, Stefan,
Thank you for getting in touch with us.
1/ Please record a video of your actions so we can see the problem.
2/ Please provide temporary wp-admin and FTP access.
To provide wp-admin access, you can create a new user account with administrator role via the Dashboard, and provide us with the username and password via the Private Content area.
To create FTP access (FTP host, FTP username, FTP password, FTP port, FTP encryption) , please contact your hosting provider for assistance.
Kind Regards,
8theme team
See private area
Hello, Stefan,
Thank you for the video.
You forgot to provide wp-admin access.
FTP access is incorrect, please check – https://prnt.sc/STm0njz9vSLM
Kind Regards,
8theme team
Please try again. See private part
Hello, Stefan,
Thank you for wp-admin access, but we can’t connect to FTP still.
Please try to connect to FTP using FileZilla by yourself and provide us with the correct credentials.
Kind Regards,
8theme team
Hi Rose,
I used the credentials with FileZilla and I can login.
But i see a username that is not correct above:
Please use this one (see private)
Hello, Stefan,
Thank you for your response.
1. Please create a test order that we can use for testing purposes and provide us with a link to it.
2. Try sending without our email builder to ensure everything is functioning correctly.
Kind Regards,
8theme team
1. what email adress can I use?
2. Well, the normal one is not configured because I was already sending for 2-3 weeks with your email builder. Everything was working just fine, until yesterdag or the day before.
Okay another thing that is strange. I tried sending an invoice manually to a customer where the status was not on ‘completed’, and than he just send the right email with the invoice.
But with another order (status completed) i get an critical error. See the order link in the private part.
Hello, Stefan,
1/ 8themes@gmail.com
2/ Could you please inform us about the changes you have made? Please take a moment to recall, it could be changes in the files or installation of an additional plugin.
3/ Kindly send more links to the working email (the order that was fine) and the faulty one.
Kind Regards,
8theme team
1. First test order is send
2. I haven’t change anything to the theme or source files. I do update plugins if there is an update, but I don’t know how i can find which one was update in the previous date. Do you know how we can check that?
3. see private. The order that worked is a actual customer, so be carefull please
Hello, Stefan,
Fixed. Please check now. The fix will be included in the next update also.
Kind Regards,
8theme team
I still got an error after trying to send the invoice email to the customer.
I’m talking about the ‘faulty one’
Hello, Stefan,
Sorry for the delay in answering due to the weekend.
Private Content
Kind Regards,
8theme team
Hi Rose,
Thank you for the information. Strange thing is that I receive an email after the critical error and there it is mentioned that the Xstore core was related to the error. But I think only this order is faulty, as all the other orders afterwords are going fine.
Thank you for the help and I’ll keep an eye on it for a while.
Hello, Stefan,
If you have any additional questions or concerns, please do not hesitate to reach out to us. Our support team is always available to assist you.
Kind Regards,
8theme team
You must be logged in to reply to this topic.Log in/Sign up