Title: Critical Error
Last modified: May 15, 2022

---

# Critical Error

 *  Resolved [iamvarung](https://wordpress.org/support/users/iamvarung/)
 * (@iamvarung)
 * [4 years, 1 month ago](https://wordpress.org/support/topic/critical-error-341/)
 * Got this critical error but it luckily fixed itself. What could have caused the
   error?
 * Howdy! 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 one of your plugins, YayMail–
   WooCommerce Email Customizer. First, visit your website ([https://weavemaya.com/](https://weavemaya.com/))
   and check for any visible issues. Next, visit the page where the error was caught(
   [https://weavemaya.com/wp-admin/edit.php?s=&post_status=all&post_type=shop_order&_wpnonce=56ec9ed03b&_wp_http_referer=%2Fwp-admin%2Fedit.php%3Fpost_type%3Dshop_order&action=mark_completed&m=0&_customer_user=&paged=1&post%5B%5D=29483&action2=mark_completed](https://weavemaya.com/wp-admin/edit.php?s=&post_status=all&post_type=shop_order&_wpnonce=56ec9ed03b&_wp_http_referer=%2Fwp-admin%2Fedit.php%3Fpost_type%3Dshop_order&action=mark_completed&m=0&_customer_user=&paged=1&post%5B%5D=29483&action2=mark_completed))
   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. [https://weavemaya.com/wp-login.php?action=enter_recovery_mode&rm_token=ZKMKgvWMmFknaylH1m90xW&rm_key=9lJmPsghNt1sLozVx2HXTU](https://weavemaya.com/wp-login.php?action=enter_recovery_mode&rm_token=ZKMKgvWMmFknaylH1m90xW&rm_key=9lJmPsghNt1sLozVx2HXTU)
   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. When seeking help with this issue, you may be asked for some of the 
   following information: WordPress version 5.8.4 Current theme: Amartha (version
   1.1.9) Current plugin: YayMail – WooCommerce Email Customizer (version 2.9) PHP
   version 7.3.33-1+0~20211119.91+debian9~1.gbp618351 Error Details ============
   = An error of type E_ERROR was caused in line 1501 of the file /home/340028.cloudwaysapps.
   com/gumeqvpjhj/public_html/wp-content/plugins/yaymail/includes/MailBuilder/Shortcodes.
   php. Error message: Uncaught Error: Call to undefined function YayMail\MailBuilder\
   str_contains() in /home/340028.cloudwaysapps.com/gumeqvpjhj/public_html/wp-content/
   plugins/yaymail/includes/MailBuilder/Shortcodes.php:1501 Stack trace: #0 /home/
   340028.cloudwaysapps.com/gumeqvpjhj/public_html/wp-content/plugins/yaymail/includes/
   MailBuilder/Shortcodes.php(1062): YayMail\MailBuilder\Shortcodes->billingShippingAddressContent(”,
   Object(WC_Order)) #1 /home/340028.cloudwaysapps.com/gumeqvpjhj/public_html/wp-
   content/plugins/yaymail/includes/MailBuilder/Shortcodes.php(348): YayMail\MailBuilder\
   Shortcodes->collectOrderData(true, Array) #2 /home/340028.cloudwaysapps.com/gumeqvpjhj/
   public_html/wp-content/plugins/yaymail/views/templates/single-mail-template.php(
   112): YayMail\MailBuilder\Shortcodes->shortCodesOrderDefined(true, Array) #3 /
   home/340028.cloudwaysapps.com/gumeqvpjhj/public_html/wp-content/plugins/woocommerce/
   includes/wc-core-functions.php(345): include(‘/home/340028.cl…’) #4 /home/340028.
   cloudwaysapps.com/gumeqvpjhj/public_htm
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fcritical-error-341%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Plugin Support [Bruce](https://wordpress.org/support/users/ninjateamwp/)
 * (@ninjateamwp)
 * [4 years, 1 month ago](https://wordpress.org/support/topic/critical-error-341/#post-15646349)
 * Hi [@iamvarung](https://wordpress.org/support/users/iamvarung/) ,
 * Thanks for using YayMail!
 * I think that was WordPress’s false positive feedback or something not important.
   
   However, its just my guesses, so please allow me to check more with our developers
   unit and feed you back soon.
 * Kind regards,
    -Bruce-
 *  Plugin Support [Bruce](https://wordpress.org/support/users/ninjateamwp/)
 * (@ninjateamwp)
 * [4 years, 1 month ago](https://wordpress.org/support/topic/critical-error-341/#post-15648879)
 * Hi [@iamvarung](https://wordpress.org/support/users/iamvarung/) ,
 * Our developers unit acknowledged this issue, and we will fix it in upcoming update.
   
   Thanks a lot.
 * Kind regards,
    -Bruce-
 *  Plugin Author [YayCommerce](https://wordpress.org/support/users/yaycommerce/)
 * (@yaycommerce)
 * [4 years, 1 month ago](https://wordpress.org/support/topic/critical-error-341/#post-15659427)
 * Hello [@iamvarung](https://wordpress.org/support/users/iamvarung/)
 * It was fixed in our latest version. Please check again.
    Cheers!
 * Kelly

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

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

 * ![](https://ps.w.org/yaymail/assets/icon-256x256.gif?rev=2900992)
 * [YayMail - WooCommerce Email Customizer](https://wordpress.org/plugins/yaymail/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/yaymail/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/yaymail/)
 * [Active Topics](https://wordpress.org/support/plugin/yaymail/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/yaymail/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/yaymail/reviews/)

 * 3 replies
 * 3 participants
 * Last reply from: [YayCommerce](https://wordpress.org/support/users/yaycommerce/)
 * Last activity: [4 years, 1 month ago](https://wordpress.org/support/topic/critical-error-341/#post-15659427)
 * Status: resolved