anhth Posted May 29, 2017 Share Posted May 29, 2017 (edited) Hi, Im trying to install prestashop to my server, i use prestashop version 1.7.0.4, when installing has been finish, i open back office page and it show HTTP ERROR 500. i open error_log file it shows ContextErrorException in SmartyLazyRegister.php line 87:Warning: Missing argument 1 for SmartyLazyRegister::getInstance(), called in C:\xampp\htdocs\dtshop\modules\fieldsmartcodes\fieldsmartcodes.php on line 281 and definedin SmartyLazyRegister.php line 87 at ErrorHandler->handleError('2', 'Missing argument 1 for SmartyLazyRegister::getInstance(), called in C:\xampp\htdocs\dtshop\modules\fieldsmartcodes\fieldsmartcodes.php on line 281 and defined', 'C:\xampp\htdocs\dtshop\classes\Smarty\SmartyLazyRegister.php', '87', array()) in SmartyLazyRegister.php line 87 at SmartyLazyRegister::getInstance() in fieldsmartcodes.php line 281 at FieldSmartCodes->_prepHook(array('cookie' => object(Cookie), 'cart' => object(Cart), 'altern' => '3')) in fieldsmartcodes.php line 293 at FieldSmartCodes->hookDisplayHeader(array('cookie' => object(Cookie), 'cart' => object(Cart), 'altern' => '3')) in Hook.php line 758 at HookCore::coreCallHook(object(FieldSmartCodes), 'hookdisplayHeader', array('cookie' => object(Cookie), 'cart' => object(Cart), 'altern' => '3')) in Hook.php line 723 at HookCore::exec('displayHeader') in FrontController.php line 528 at FrontControllerCore->initContent() in IndexController.php line 37 at IndexControllerCore->initContent() in Controller.php line 201 at ControllerCore->run() in Dispatcher.php line 366 at DispatcherCore->dispatch() in index.php line 28 how to fix it? Edited May 29, 2017 by anhth (see edit history) Link to comment Share on other sites More sharing options...
eliran2 Posted March 5, 2018 Share Posted March 5, 2018 Hi . if you don't have any solution, disable debug mode in advanced parameters / performance and use prestashop but after finding solution repair it. 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