• 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 totalforeach ($GLOBALS['HTTP_COOKIE_VARS'] as $key => $value)

    https://www.ads-software.com/plugins/nextgen-gallery/

  • The topic ‘depreciated PHP array’ is closed to new replies.