MaxShop7 Posted May 14, 2015 Share Posted May 14, 2015 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 Link to comment Share on other sites More sharing options...
las3r Posted May 14, 2015 Share Posted May 14, 2015 Is this after a clean install? What is your server software? What version of PrestaShop is this? Where did you download prestashop? These issues sound like a corrupt download to me, get the latest version from the frontpage and do a clean install. Link to comment Share on other sites More sharing options...
MaxShop7 Posted May 14, 2015 Author Share Posted May 14, 2015 (edited) Hi, Thank you for your response. Yes clean install with the Theme. I downloaded it with the themeforest-10803331-market-responsive-multipurpose-prestashop-theme. What do I have to do now /. PrestaShop™ 1.6.0.14 Edited May 14, 2015 by MaxShop7 (see edit history) Link to comment Share on other sites More sharing options...
las3r Posted May 15, 2015 Share Posted May 15, 2015 Some coding errors are "warnings". These are warnings, but not big issues. Some warnings appear only on some versions of PHP - it's has been like this for ages. I thought you were referring to actually errors on the screen without display_errors set to true. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now