Title: PHP Fatal error: Uncaught TypeError
Last modified: June 1, 2025

---

# PHP Fatal error: Uncaught TypeError

 *  Resolved [mtg169](https://wordpress.org/support/users/mtg169/)
 * (@mtg169)
 * [1 year ago](https://wordpress.org/support/topic/php-fatal-error-uncaught-typeerror-15/)
 * In latest 2.0.7 version this fatal is still thrown when mail fails to send:
 *     ```wp-block-code
       PHP Fatal error:  Uncaught TypeError: call_user_func_array(): Argument #1 ($callback) must be a valid callback, array must have exactly two members in /wordpress/core/6.8.1/wp-includes/class-wp-hook.php:324
       ```
   
 * This is from `wp_mail_failed` in **/include/Check_Email_Notify_Tab.php** on line
   21:
 *     ```wp-block-code
       add_action('wp_mail_failed', array($this, 'handle_failed_email', 10, 1));
       ```
   
 * This is malformed and should only pass 2 arguments instead of 4. You are passing
   priority incorrectly. It should be this:
 *     ```wp-block-code
       add_action('wp_mail_failed', array($this, 'handle_failed_email'), 10, 1);
       ```
   
 * Can you please fix so manual patching is not necessary?

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

 *  Plugin Support [Akshay A](https://wordpress.org/support/users/akshaycode1/)
 * (@akshaycode1)
 * [1 year ago](https://wordpress.org/support/topic/php-fatal-error-uncaught-typeerror-15/#post-18493243)
 * Hi,
 * Thank you for reaching out to us.
 * We have raised a [GitHub ticket](https://github.com/ahmedkaludi/check-email/issues/145)
   regarding this concern, and it will be addressed in an upcoming update. We kindly
   request your patience in the meantime.
 *  Plugin Support [Akshay A](https://wordpress.org/support/users/akshaycode1/)
 * (@akshaycode1)
 * [11 months ago](https://wordpress.org/support/topic/php-fatal-error-uncaught-typeerror-15/#post-18548891)
 * Hi,
 * Hope you’re doing well.
 * We’ve released an update **version 2.0.8** in which this issue has been fixed.
   Kindly update the plugin to the latest version, clear the cache, and give it 
   a try.

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

The topic ‘PHP Fatal error: Uncaught TypeError’ is closed to new replies.

 * ![](https://ps.w.org/check-email/assets/icon-256x256.png?rev=2691797)
 * [Check & Log Email - Easy Email Testing & Mail logging](https://wordpress.org/plugins/check-email/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/check-email/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/check-email/)
 * [Active Topics](https://wordpress.org/support/plugin/check-email/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/check-email/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/check-email/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [Akshay A](https://wordpress.org/support/users/akshaycode1/)
 * Last activity: [11 months ago](https://wordpress.org/support/topic/php-fatal-error-uncaught-typeerror-15/#post-18548891)
 * Status: resolved