August 13, 2019 at 17:53 UTC - Views: 10 #61310EmmanuelParticipant
We keep getting these email error notifications from wp which said they were related to something we had in our weaver child theme functions.php …when I follow their link to the page on our site, it was in Orders, and 2 orders have that error message but it was way back in february 18!
Does anyone know how to stop those emails for this specific error?!
This is what the email says:
Since WordPress 5.2 there is a built-in feature that detects when a plugin or theme causes a fatal error on your site, and notifies you with this automated email.
In this case, WordPress caught an error with your theme, Weaver Xtreme Child Demo.
First, visit your website (https://classiccarbs.co.uk/) and check for any visible issues. Next, visit the page where the error was caught (https://classiccarbs.co.uk/wp-admin/edit.php?s=Frost&post_status=all&post_type=shop_order&action=-1&m=0&_customer_user&_shop_order_pip_print_status&paged=1&action2=-1) and check for any visible issues.
Please contact your host for assistance with investigating this issue further.
If your site appears broken and you can’t access your dashboard normally, WordPress now has a special “recovery mode”. This lets you safely login to your dashboard and investigate further.
To keep your site safe, this link will expire in 1 day. Don’t worry about that, though: a new link will be emailed to you if the error occurs again after it expires.
An error of type E_ERROR was caused in line 254 of the file /nas/content/live/classiccarbs/wp-content/themes/weavex-child/functions.php. Error message: Uncaught Error: Call to a member function get_image() on bool in /nas/content/live/classiccarbs/wp-content/themes/weavex-child/functions.php:254
#0 [internal function]: product_thumbs_display(‘product_thumbs’)
#1 /nas/content/live/classiccarbs/wp-includes/class-wp-hook.php(288): call_user_func_array(‘product_thumbs_…’, Array)
#2 /nas/content/live/classiccarbs/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters(”, Array)
#3 /nas/content/live/classiccarbs/wp-includes/plugin.php(465): WP_Hook->do_action(Array)
#4 /nas/content/live/classiccarbs/wp-admin/includes/class-wp-posts-list-table.php(1257): do_action(‘manage_shop_ord…’, ‘product_thumbs’, 11191)
#5 /nas/content/live/classiccarbs/wp-admin/includes/class-wp-list-table.php(1332): WP_Posts_List_Table->column_default(Object(WP_Post), ‘product_thumbs’)
#6 /nas/content/live/classiccarbs/wp-admin/includes/class-wp-posts-list-table.php(1290): WP_List_Table->single_row_columns(Object(WP_Post))
#7 /nas/content/live/classiccarbs/wp-admin/incluAugust 13, 2019 at 18:02 UTC - Views: 9 #61311scramblerModerator
Sounds like you have some errors in your child theme function.php
@weaver may be able to help.August 13, 2019 at 18:20 UTC - Views: 10 #61312WeaverKeymaster
We really can’t support errors in PHP code in child themes, which this is as clearly listed in your notification. The error apparently involves some kind of attempt to interface to a product plugin to show product thumbnails. There is some error in the PHP code.
- You must be logged in to reply to this topic.