Title: PHP error: `extract() expects parameter 1 to be array, null given`
Last modified: August 21, 2016

---

# PHP error: `extract() expects parameter 1 to be array, null given`

 *  Resolved [goldenatlas](https://wordpress.org/support/users/goldenatlas/)
 * (@goldenatlas)
 * [12 years, 11 months ago](https://wordpress.org/support/topic/php-error-extract-expects-parameter-1-to-be-array-null-given/)
 * When I activate Hammy, I’m getting the following error:
 * `Warning: extract() expects parameter 1 to be array, null given in <...>/wp-content/
   plugins/hammy/WPThumb/wpthumb.php on line 408`
 * This doesn’t display in the admin, only on the user-facing portion of the site.
   Andy ideas what’s causing this?
 * [http://wordpress.org/extend/plugins/hammy/](http://wordpress.org/extend/plugins/hammy/)

Viewing 1 replies (of 1 total)

 *  Plugin Author [Noel Tock](https://wordpress.org/support/users/noel_tock/)
 * (@noel_tock)
 * [12 years, 11 months ago](https://wordpress.org/support/topic/php-error-extract-expects-parameter-1-to-be-array-null-given/#post-3819571)
 * Not sure to be honest, that’s a weird one and likely to be an edge case. Could
   you post it here: [https://github.com/humanmade/WPThumb/issues](https://github.com/humanmade/WPThumb/issues)

Viewing 1 replies (of 1 total)

The topic ‘PHP error: `extract() expects parameter 1 to be array, null given`’ is
closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/hammy_e3e3e3.svg)
 * [Hammy](https://wordpress.org/plugins/hammy/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/hammy/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/hammy/)
 * [Active Topics](https://wordpress.org/support/plugin/hammy/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/hammy/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/hammy/reviews/)

## Tags

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

 * 1 reply
 * 2 participants
 * Last reply from: [Noel Tock](https://wordpress.org/support/users/noel_tock/)
 * Last activity: [12 years, 11 months ago](https://wordpress.org/support/topic/php-error-extract-expects-parameter-1-to-be-array-null-given/#post-3819571)
 * Status: resolved