Title: Error Email
Last modified: April 20, 2020

---

# Error Email

 *  [danigrast](https://wordpress.org/support/users/danigrast/)
 * (@danigrast)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/error-email-3/)
 * Hello I keep on receiving the below email, when there seems to be nothing wrong
   and everything is working on the front end. How do I solve the issue or have 
   it stop sending?
    [http://www.perladigemma.ch](http://www.perladigemma.ch) Cyon.
   ch WordPress- Mipro theme – Yith woocommerce Wishlist plugin
 * THE EMAIL
    Hallo!
 * Seit WordPress 5.2 gibt es eine eingebaute Funktion, die erkennt, wenn ein Plugin
   oder ein Theme einen fatalen Fehler auf deiner Website verursacht, und dich deswegen
   mit dieser automatisierten E-Mail benachrichtigt.
 * In diesem Fall hat WordPress einen Fehler in einem deiner Plugins, YITH WooCommerce
   Wishlist, abgefangen.
 * Besuche zunächst deine Website ([https://perladigemma.ch/](https://perladigemma.ch/))
   und überprüfe sie auf sichtbare Probleme. Besuche als nächstes die Seite, auf
   der der Fehler aufgetreten ist ([https://perladigemma.ch/wp-admin/post.php?add_to_wishlist=6170](https://perladigemma.ch/wp-admin/post.php?add_to_wishlist=6170))
   und prüfe, ob es sichtbare Probleme gibt.
 * Bitte kontaktiere dein Hosting-Unternehmen, um Unterstützung bei der weiteren
   Untersuchung dieses Problems zu erhalten.
 * Wenn deine Website fehlerhaft zu sein scheint und du nicht mehr wie gewohnt auf
   dein Dashboard zugreifen kannst, hat WordPress jetzt einen speziellen „Wiederherstellungsmodus“.
   Auf diese Weise kannst du dich sicher in deinem Dashboard anmelden und weitere
   Untersuchungen durchführen.
 * [https://perladigemma.ch/wp-login.php?action=enter_recovery_mode&rm_token=JKKGS0xEL0lZSl4NFqTO5w&rm_key=ofQK5sR5lkg8lAqXXV0R4r](https://perladigemma.ch/wp-login.php?action=enter_recovery_mode&rm_token=JKKGS0xEL0lZSl4NFqTO5w&rm_key=ofQK5sR5lkg8lAqXXV0R4r)
 * Um deine Website zu schützen, läuft dieser Link in 1 Tag ab. Aber keine Sorge:
   Ein neuer Link wird dir per E-Mail zugeschickt, wenn der Fehler nach Ablauf der
   Frist erneut auftritt.
 * Wenn du Hilfe bei diesem Problem suchst, wirst du möglicherweise nach einigen
   der folgenden Informationen gefragt:
    WordPress-Version 5.4 Aktuelles Theme: 
   Mipro (Version 1.1.4) Aktuelles Plugin: YITH WooCommerce Wishlist (Version 3.0.9)
   PHP-Version 7.1.33
 * Fehler-Details
    ============== Ein Fehler vom Typ E_ERROR wurde in der Zeile 
   51 der Datei /home/perladig/public_html/wp-content/plugins/yith-woocommerce-wishlist/
   includes/class.yith-wcwl-form-handler.php verursacht. Fehlermeldung: Uncaught
   Error: Call to undefined function wc_add_notice() in /home/perladig/public_html/
   wp-content/plugins/yith-woocommerce-wishlist/includes/class.yith-wcwl-form-handler.
   php:51 Stack trace: #0 /home/perladig/public_html/wp-includes/class-wp-hook.php(
   287): YITH_WCWL_Form_Handler::add_to_wishlist(”) #1 /home/perladig/public_html/
   wp-includes/class-wp-hook.php(311): WP_Hook->apply_filters(NULL, Array) #2 /home/
   perladig/public_html/wp-includes/plugin.php(478): WP_Hook->do_action(Array) #
   3 /home/perladig/public_html/wp-settings.php(540): do_action(‘init’) #4 /home/
   perladig/public_html/wp-config.php(90): require_once(‘/home/perladig/…’) #5 /
   home/perladig/public_html/wp-load.php(37): require_once(‘/home/perladig/…’) #
   6 /home/perladig/public_html/wp-admin/admin.php(34): require_once(‘/home/perladig/…’)#
   7 /home/perladig/public_html/wp-admin/post.php(12): require_once(‘/home/perladig/…’)#
   8 {main} thrown This email is been sent by Dani Rast (email. [dani@renker-works.ch](https://wordpress.org/support/topic/error-email-3/dani@renker-works.ch?output_format=md)),
   from YIThemes “Contact Us” form.
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Ferror-email-3%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 5 replies - 1 through 5 (of 5 total)

 *  Plugin Author [YITHEMES](https://wordpress.org/support/users/yithemes/)
 * (@yithemes)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/error-email-3/#post-12706301)
 * Hi there
 * Please, for the future, never post recover url to a public post
 * Anyway, back to the issue: it is a very odd one
    It seems like your site is calling“
   Add to Wishlist” method in a place where wc_add_notice default WooCommerce function
   is not defined (this typically is the case just for the backend section of your
   site)
 * As a good measure, in the next version of the plugin I will include a check every
   time I call wc_add_notice, to avoid this kind of issues
 *  Thread Starter [danigrast](https://wordpress.org/support/users/danigrast/)
 * (@danigrast)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/error-email-3/#post-12706318)
 * Thank you. How can i stop these emails from happening?
 *  Plugin Author [YITHEMES](https://wordpress.org/support/users/yithemes/)
 * (@yithemes)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/error-email-3/#post-12706402)
 * If you want you can try the patch that will be released within next version of
   the plugin
 * Anyway, I should warn you that this is beta code, and you should definitely test
   it on a staging installation, before moving to production
 * If you want to go on, just download attached [files](https://we.tl/t-QNcnUwRwJY),
   and upload them under wp-content/plugins/yith-woocommerce-wishlist-premium/includes/,
   overwriting previous version
 * Hope this helps
 *  Thread Starter [danigrast](https://wordpress.org/support/users/danigrast/)
 * (@danigrast)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/error-email-3/#post-12706945)
 * If you do not have a simple way of disabling the email. I will just wait for 
   the updated plugin. Thank you for the help
 *  Plugin Author [YITHEMES](https://wordpress.org/support/users/yithemes/)
 * (@yithemes)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/error-email-3/#post-12712124)
 * If you want to disable error recovery emails (but I don’t suggest to proceed 
   this way), the easiest option is to make WordPress send them to a non-exisiting
   email address
 * You can achieve that adding this constant to wp-config.php file of your installation
 *     ```
       define('RECOVERY_MODE_EMAIL', 'foo@bar.com');
       ```
   

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Error Email’ is closed to new replies.

 * ![](https://ps.w.org/yith-woocommerce-wishlist/assets/icon-128x128.gif?rev=3129302)
 * [YITH WooCommerce Wishlist](https://wordpress.org/plugins/yith-woocommerce-wishlist/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/yith-woocommerce-wishlist/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/yith-woocommerce-wishlist/)
 * [Active Topics](https://wordpress.org/support/plugin/yith-woocommerce-wishlist/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/yith-woocommerce-wishlist/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/yith-woocommerce-wishlist/reviews/)

## Tags

 * [email](https://wordpress.org/support/topic-tag/email/)

 * 5 replies
 * 2 participants
 * Last reply from: [YITHEMES](https://wordpress.org/support/users/yithemes/)
 * Last activity: [6 years, 1 month ago](https://wordpress.org/support/topic/error-email-3/#post-12712124)
 * Status: not resolved