Title: PHP Warning:  extract() expects parameter 1 to be array
Last modified: August 21, 2016

---

# PHP Warning: extract() expects parameter 1 to be array

 *  [creativecubecompany](https://wordpress.org/support/users/creativecubecompany/)
 * (@creativecubecompany)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/php-warning-extract-expects-parameter-1-to-be-array/)
 * Hi Photocrati,
 * We recently migrated our site from Rackspace to rackAID, updated WordPress, and
   updated our NextGEN Gallery plugin.
 * We’re currently debugging the site, and I see that every minute, we receive this
   PHP Warning at least twice, and it’s eating our bandwidth and processing power.
 * PHP Warning: extract() expects parameter 1 to be array, string given in /var/
   www/vhosts/rumorfix.com/httpdocs/wp-content/plugins/nextgen-gallery/products/
   photocrati_nextgen/modules/router/class.routing_app.php on line 587
 * Could you provide some insight on why this warning is occurring constantly?
 * Thanks!
 * -Jon
 * [https://wordpress.org/plugins/nextgen-gallery/](https://wordpress.org/plugins/nextgen-gallery/)

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

 *  Plugin Contributor [photocrati](https://wordpress.org/support/users/photocrati/)
 * (@photocrati)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/php-warning-extract-expects-parameter-1-to-be-array/#post-5000277)
 * [@creativecubecompany](https://wordpress.org/support/users/creativecubecompany/)–
   Can you try using the Reset Option under Gallery > Other Options. This is often
   needed after a server/site migration.
 * You may also need to clear your image cache afterward under Gallery > Other Options
   > Miscellaneous.
 * Thanks!
 * – Cais.
 *  Thread Starter [creativecubecompany](https://wordpress.org/support/users/creativecubecompany/)
 * (@creativecubecompany)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/php-warning-extract-expects-parameter-1-to-be-array/#post-5000570)
 * Hi Cais,
 * I cleared the cache and reset options a day after your reply.
 * I’ve still been seeing the same PHP warning though. Are there any other options
   for me to try?
 * Thanks!
 * -Jon
 *  Plugin Contributor [photocrati](https://wordpress.org/support/users/photocrati/)
 * (@photocrati)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/php-warning-extract-expects-parameter-1-to-be-array/#post-5000571)
 * [@creativecubecompany](https://wordpress.org/support/users/creativecubecompany/)–
   Have you checked for conflicts with other active plugins and/or your current 
   theme?
 * – Cais.

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

The topic ‘PHP Warning: extract() expects parameter 1 to be array’ is closed to 
new replies.

 * ![](https://ps.w.org/nextgen-gallery/assets/icon-256x256.png?rev=2083961)
 * [Photo Gallery, Sliders, Proofing and Themes - NextGEN Gallery](https://wordpress.org/plugins/nextgen-gallery/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/nextgen-gallery/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/nextgen-gallery/)
 * [Active Topics](https://wordpress.org/support/plugin/nextgen-gallery/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/nextgen-gallery/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/nextgen-gallery/reviews/)

## Tags

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

 * 3 replies
 * 2 participants
 * Last reply from: [photocrati](https://wordpress.org/support/users/photocrati/)
 * Last activity: [11 years, 11 months ago](https://wordpress.org/support/topic/php-warning-extract-expects-parameter-1-to-be-array/#post-5000571)
 * Status: not resolved