Hello, I just installed PrestaShop and found many coding errors ?
Can you pls tell me how to fix these?
We have enabled display_errors in php settings for this site.
Plus we have enabled dev mode in prestashop as it show in this manual:
http://mypresta.eu/en/art/developer/how-to-turn-on-error-reporting-in-newest-prestashop-1-5-3.html
In /var/www/vhosts/laabadeal.com/httpdocs/config/defines.inc.php
we have set true instead false
define('_PS_MODE_DEV_', true);
And now complete error is shown in the browser:
Fatal error: Call to undefined method AdminCustomersController::addMetaTitle() in /var/www/vhosts/laabadeal.com/httpdocs/controllers/admin/AdminCustomersController.php on line 246
We have find the following description in Google https://www.prestashop.com/forums/topic/434760-error-call-to-undefined-method-admincustomerscontrolleraddmetatitle/
Plus we have found errors in the administrator area of the customers site:
Warning on line 61 in file /var/www/vhosts/laabadeal.com/httpdocs/controllers/admin/AdminDashboardController.php
[2] array_pop() expects parameter 1 to be array, null given
Notice on line 375 in file /var/www/vhosts/laabadeal.com/httpdocs/cache/smarty/compile/0c/b3/f7/0cb3f7fe266647a14f4c96ce2664913be52a9534.file.header.tpl.php
[8] Undefined index: quick_access_current_link_name
Notice on line 375 in file /var/www/vhosts/laabadeal.com/httpdocs/cache/smarty/compile/0c/b3/f7/0cb3f7fe266647a14f4c96ce2664913be52a9534.file.header.tpl.php
[8] Trying to get property of non-object
Notice on line 377 in file /var/www/vhosts/laabadeal.com/httpdocs/cache/smarty/compile/0c/b3/f7/0cb3f7fe266647a14f4c96ce2664913be52a9534.file.header.tpl.php
[8] Undefined index: quick_access_current_link_icon
Notice on line 377 in file /var/www/vhosts/laabadeal.com/httpdocs/cache/smarty/compile/0c/b3/f7/0cb3f7fe266647a14f4c96ce2664913be52a9534.file.header.tpl.php
[8] Trying to get property of non-object
And of source on the top of http://laabadeal.com/en/ site:
Strict Standards: Declaration of FrontControllerCore::addCSS() should be compatible with ControllerCore::addCSS($css_uri, $css_media_type = 'all', $offset = NULL, $check_path = true) in /var/www/vhosts/laabadeal.com/httpdocs/override/classes/controller/FrontController.php on line 1319 Strict Standards: Declaration of FrontControllerCore::removeCSS() should be compatible with ControllerCore::removeCSS($css_uri, $css_media_type = 'all', $check_path = true) in /var/www/vhosts/laabadeal.com/httpdocs/override/classes/controller/FrontController.php on line 1319 Strict Standards: Declaration of FrontControllerCore::addJS() should be compatible with ControllerCore::addJS($js_uri, $check_path = true) in /var/www/vhosts/laabadeal.com/httpdocs/override/classes/controller/FrontController.php on line 1319 Strict Standards: Declaration of FrontControllerCore::removeJS() should be compatible with ControllerCore::removeJS($js_uri, $check_path = true) in /var/www/vhosts/laabadeal.com/httpdocs/override/classes/controller/FrontController.php on line 1319