arekb79 Posted May 6, 2018 Share Posted May 6, 2018 Witam Mam taki problem : ContextErrorException in FrontController.php line 1203: Notice: Array to string conversion in FrontController.php line 1203 at ErrorHandler->handleError('8', 'Array to string conversion', '/everest3/classes/controller/FrontController.php', '1203', array('libraries' => array('font-awesome'), 'library' => 'font-awesome', 'assets' => array(array('id' => 'font-awesome-css', 'type' => 'registerStylesheet', 'path' => '/themes/_libraries/font-awesome/css/font-awesome.min.css', 'params' => array('media' => 'all', 'priority' => '10'))), 'asset' => array('id' => 'font-awesome-css', 'type' => 'registerStylesheet', 'path' => '/themes/_libraries/font-awesome/css/font-awesome.min.css', 'params' => array('media' => 'all', 'priority' => '10')))) in FrontController.php line 1203 at FrontControllerCore->requireAssets(array('font-awesome')) in jxcompareproduct.php line 236 at Jxcompareproduct->hookDisplayHeader(array('cookie' => object(Cookie), 'cart' => object(Cart), 'altern' => '4')) in Hook.php line 924 at HookCore::coreCallHook(object(Jxcompareproduct), 'hookdisplayHeader', array('cookie' => object(Cookie), 'cart' => object(Cart), 'altern' => '4')) in Hook.php line 328 at HookCore::callHookOn(object(Jxcompareproduct), 'displayHeader', array('cookie' => object(Cookie), 'cart' => object(Cart), 'altern' => '4')) in Hook.php line 860 at HookCore::exec('displayHeader') in FrontController.php line 542 at FrontControllerCore->initContent() in IndexController.php line 37 at IndexControllerCore->initContent() in Controller.php line 205 at ControllerCore->run() in Dispatcher.php line 428 at DispatcherCore->dispatch() in index.php line 28 Co mam zrobić żeby go rozwiązać? Link to comment Share on other sites More sharing options...
0 Thibault Posted June 12, 2018 Share Posted June 12, 2018 Hello arekb79, on /classes/controller/FrontController.php line 1203 replace this code: $this->$asset['type']($library, $asset['path'], $asset['params']); by $this->{$asset['type']}($library, $asset['path'], $asset['params']); Regards. 1 Link to comment Share on other sites More sharing options...
Question
arekb79
Witam
Mam taki problem :
ContextErrorException in FrontController.php line 1203: Notice: Array to string conversion
Co mam zrobić żeby go rozwiązać?
Link to comment
Share on other sites
1 answer to this question
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