Title: Critical Uncaught TypeError: extract(): Argument #1 ($array)
Last modified: September 21, 2025

---

# Critical Uncaught TypeError: extract(): Argument #1 ($array)

 *  Resolved [vikasTYAGI87](https://wordpress.org/support/users/vikastyagi87/)
 * (@vikastyagi87)
 * [8 months, 2 weeks ago](https://wordpress.org/support/topic/critical-uncaught-typeerror-extract-argument-1-array/)
 * Hello,
 * Please fix this error –
 * **Critical** Uncaught TypeError: extract(): Argument #1 ($array) must be of type
   array, false given in
 * /wp-content/plugins/disable-emails/includes/class.PHPMailerMock.php:123 Additional
   context{ “error”: {
 * Thanks

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

 *  Plugin Author [webaware](https://wordpress.org/support/users/webaware/)
 * (@webaware)
 * [8 months, 2 weeks ago](https://wordpress.org/support/topic/critical-uncaught-typeerror-extract-argument-1-array/#post-18650916)
 * G’day vikasTYAGI87,
 * That indicates that another plugin is hooking the `wp_mail` filter hook, and 
   it’s returning a `false` instead of the array that it should be returning. What
   other email-related plugins do you have activated?
 * I can modify the call to handle an improper value passed back from the filter
   hook. Next version, ETA unsure. But please check to see what plugin is triggering
   this.
 * cheers,
   Ross
 *  Plugin Author [webaware](https://wordpress.org/support/users/webaware/)
 * (@webaware)
 * [8 months, 2 weeks ago](https://wordpress.org/support/topic/critical-uncaught-typeerror-extract-argument-1-array/#post-18651031)
 * Here’s a development build which should fix your error:
 * [https://www.dropbox.com/scl/fi/u2a3nfabrtz2cmorde47f/disable-emails-1.8.3-dev.zip?rlkey=qdqo5d8q7uqudkst7hthksuoq&dl=1](https://www.dropbox.com/scl/fi/u2a3nfabrtz2cmorde47f/disable-emails-1.8.3-dev.zip?rlkey=qdqo5d8q7uqudkst7hthksuoq&dl=1)
 * Please let me know if this doesn’t fix the error.
 * cheers,
   Ross

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

The topic ‘Critical Uncaught TypeError: extract(): Argument #1 ($array)’ is closed
to new replies.

 * ![](https://ps.w.org/disable-emails/assets/icon-256x256.png?rev=2590619)
 * [Disable Emails](https://wordpress.org/plugins/disable-emails/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/disable-emails/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/disable-emails/)
 * [Active Topics](https://wordpress.org/support/plugin/disable-emails/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/disable-emails/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/disable-emails/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [webaware](https://wordpress.org/support/users/webaware/)
 * Last activity: [8 months, 2 weeks ago](https://wordpress.org/support/topic/critical-uncaught-typeerror-extract-argument-1-array/#post-18651031)
 * Status: resolved