Title: TypeError on extract()
Last modified: January 9, 2026

---

# TypeError on extract()

 *  Resolved [joeparadis2](https://wordpress.org/support/users/joeparadis2/)
 * (@joeparadis2)
 * [4 months, 3 weeks ago](https://wordpress.org/support/topic/typeerror-on-extract/)
 * Received this in the error log recently:
 * PHP Fatal error: Uncaught TypeError: extract(): Argument #1 ($array) must be 
   of type array, false given in \wp-content\plugins\disable-emails\includes\class.
   PHPMailerMock.php:123

Viewing 1 replies (of 1 total)

 *  Plugin Author [webaware](https://wordpress.org/support/users/webaware/)
 * (@webaware)
 * [4 months, 2 weeks ago](https://wordpress.org/support/topic/typeerror-on-extract/#post-18783814)
 * Sorry, I fixed that last September but never got a release out! I’ve just released
   v1.8.3 with a fix for this, which happens when another plugin hooks a filter 
   and returns something other than an array.
 * cheers,
   Ross

Viewing 1 replies (of 1 total)

You must be [logged in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Ftypeerror-on-extract%2F%3Foutput_format%3Dmd&locale=en_US)
to reply to this topic.

 * ![](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/)

 * 1 reply
 * 2 participants
 * Last reply from: [webaware](https://wordpress.org/support/users/webaware/)
 * Last activity: [4 months, 2 weeks ago](https://wordpress.org/support/topic/typeerror-on-extract/#post-18783814)
 * Status: resolved