Title: depreciated PHP array
Last modified: August 21, 2016

---

# depreciated PHP array

 *  [claybaby](https://wordpress.org/support/users/claybaby/)
 * (@claybaby)
 * [12 years, 6 months ago](https://wordpress.org/support/topic/depreciated-php-array/)
 * I got an error code trying to upload pictures into Nexgen gallery. I check the
   php error log on my server and found the error here: wp-content/plugins/nextgen-
   gallery/products/photocrati_nextgen/modules/security/class.wordpress_security_manager.
   php on line 69
 * The error is “PHP Warning: Invalid argument supplied for foreach()”
 * That argument is the “HTTP_COOKIE_VARS” which is depreciated in PHP 4.01.
 * I’m not sure if that’s what’s throwing the error…
 * Here’s line 69 in total`foreach ($GLOBALS['HTTP_COOKIE_VARS'] as $key => $value)`
 * [http://wordpress.org/plugins/nextgen-gallery/](http://wordpress.org/plugins/nextgen-gallery/)

The topic ‘depreciated PHP 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

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

 * 0 replies
 * 1 participant
 * Last reply from: [claybaby](https://wordpress.org/support/users/claybaby/)
 * Last activity: [12 years, 6 months ago](https://wordpress.org/support/topic/depreciated-php-array/)
 * Status: not resolved