1

We just recently moved our Magento 1.9.2.2 site to a new server. We tried a few tests and noticed that we can't update products and attributes in the backend. The page refreshes but there is no success message. We checked our error_logs and this is the error:

2016-04-08T09:01:33+00:00 ERR (3): Warning: array_key_exists() expects parameter 2 to be array, null given  in /var/www/vhosts/xxx/xxx/app/code/core/Mage/Adminhtml/controllers/Catalog/ProductController.php on line 507
2016-04-08T09:01:33+00:00 ERR (3): Warning: array_key_exists() expects parameter 2 to be array, null given  in /var/www/vhosts/xxx/xxx/app/code/core/Mage/Adminhtml/controllers/Catalog/ProductController.php on line 507
2016-04-08T09:01:33+00:00 ERR (3): Warning: array_key_exists() expects parameter 2 to be array, null given  in /var/www/vhosts/xxx/xxx/app/code/core/Mage/Adminhtml/controllers/Catalog/ProductController.php on line 507
2016-04-08T09:01:33+00:00 ERR (3): Warning: array_key_exists() expects parameter 2 to be array, null given  in /var/www/vhosts/xxx/xxx/app/code/core/Mage/Adminhtml/controllers/Catalog/ProductController.php on line 507
2016-04-08T09:01:33+00:00 ERR (3): Warning: array_key_exists() expects parameter 2 to be array, null given  in /var/www/vhosts/xxx/xxx/app/code/core/Mage/Adminhtml/controllers/Catalog/ProductController.php on line 507
2016-04-08T09:01:33+00:00 ERR (3): Warning: array_key_exists() expects parameter 2 to be array, null given  in /var/www/vhosts/xxx/xxx/app/code/core/Mage/Adminhtml/controllers/Catalog/ProductController.php on line 507
2016-04-08T09:01:33+00:00 ERR (3): Recoverable Error: Argument 1 passed to Varien_Object::addData() must be of the type array, null given, called in /var/www/vhosts/xxx/xxx/app/code/core/Mage/Adminhtml/controllers/Catalog/ProductController.php on line 514 and defined  in /var/www/vhosts/xxx/xxx/lib/Varien/Object.php on line 243
2016-04-08T09:01:33+00:00 ERR (3): Warning: Invalid argument supplied for foreach()  in /var/www/vhosts/xxx/xxx/lib/Varien/Object.php on line 245

We have tried running the compiler as well as clearing the cache but it didn't work.

Anyone that can help me out with this is much, much appreciated.

Thanks!

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.