php - after migrating magento site to aws ec2 I got 'Undefined index' error -


i have migrated magento site shared hosting aws ec2 ubuntu server. have done database import successfully. when hit public ip of ec2 server. got

undefined index: items in /var/www/html/app/code/core/mage/page/block/html/head.php on line 166

notice: undefined index: items in /var/www/html/app/code/core/mage/page/block/html/head.php on line 166

please give suggestion fix these issue

in php, notices errors things may have done wrong, or have potential causing bugs.

its previous environment had error level disabled, why didn't see before.

you have 2 options:

  1. fix cause of error.
  2. disable notice level error_reporting directive in php.ini. (make sure restart webserver/php after change)

Comments

Popular posts from this blog

php - Zend Framework / Skeleton-Application / Composer install issue -

c# - Better 64-bit byte array hash -

python - PyCharm Type error Message -