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:
- fix cause of error.
- disable notice level
error_reporting
directive in php.ini. (make sure restart webserver/php after change)
Comments
Post a Comment