Jump to content
  • 0

problem z instalacją EVEPREST


arekb79

Question

Witam

Mam taki problem :

ContextErrorException in FrontController.php line 1203: Notice: Array to string conversion

  1. in FrontController.php line 1203
  2. 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
  3. at FrontControllerCore->requireAssets(array('font-awesome')) in jxcompareproduct.php line 236
  4. at Jxcompareproduct->hookDisplayHeader(array('cookie' => object(Cookie), 'cart' => object(Cart), 'altern' => '4')) in Hook.php line 924
  5. at HookCore::coreCallHook(object(Jxcompareproduct), 'hookdisplayHeader', array('cookie' => object(Cookie), 'cart' => object(Cart), 'altern' => '4')) in Hook.php line 328
  6. at HookCore::callHookOn(object(Jxcompareproduct), 'displayHeader', array('cookie' => object(Cookie), 'cart' => object(Cart), 'altern' => '4')) in Hook.php line 860
  7. at HookCore::exec('displayHeader') in FrontController.php line 542
  8. at FrontControllerCore->initContent() in IndexController.php line 37
  9. at IndexControllerCore->initContent() in Controller.php line 205
  10. at ControllerCore->run() in Dispatcher.php line 428
  11. at DispatcherCore->dispatch() in index.php line 28

 

Co mam zrobić żeby go rozwiązać?

Link to comment
Share on other sites

1 answer to this question

Recommended Posts

  • 0

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.

  • Thanks 1
Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...