Jump to content

error after remove smarty cache


ps3z

Recommended Posts

hi 

 

 

when i remove cache from admin panel, site gives error on frontend,  

 

i have to remove public_html/cache/class_index.php,  so sites is being active

 

what is your idea? its happend when i did after upgrade my prestashop 1.6.1.0 to 1.6.1.11

 

Greetings

PS3z

[PrestaShopException]

Dispatcher::createUrl() miss required parameter "categories" for route "category_rule"
at line 661 in file classes/Dispatcher.php

656.             if (!$data['required']) {
657.                 continue;
658.             }
659. 
660.             if (!array_key_exists($key, $params)) {
661.                 throw new PrestaShopException('Dispatcher::createUrl() miss required parameter "'.$key.'" for route "'.$route_id.'"');
662.             }
663.             if (isset($this->default_routes[$route_id])) {
664.                 $query_params[$this->default_routes[$route_id]['keywords'][$key]['param']] = $params[$key];
665.             }
666.         }

    DispatcherCore->createUrl - [line 197 - classes/Link.php] - [6 Arguments]
    LinkCore->getCategoryLink - [line 1310 - modules/zeromanager/zeromanager.php] - [2 Arguments]
    ZeroManager->hookDisplayNav - [line 587 - classes/Hook.php] - [1 Arguments]
    HookCore::coreCallHook - [line 542 - classes/Hook.php] - [3 Arguments]
    HookCore::exec - [line 207 - config/smarty.config.inc.php] - [3 Arguments]
    smartyHook - [line - ] - [2 Arguments]
    call_user_func_array - [line 270 - config/smarty.config.inc.php] - [2 Arguments]
    SmartyLazyRegister->__call - [line 153 - tools/smarty/sysplugins/smarty_internal_templatebase.php(157) : eval()'d code] - [2 Arguments]
    Warning: file(/home/sitename/public_html/tools/smarty/sysplugins/smarty_internal_templatebase.php(157) : eval()'d code): failed to open stream: No such file or directory in /home/sitename/public_html/classes/exception/PrestaShopException.php on line 103

    Warning: array_slice() expects parameter 1 to be array, boolean given in /home/sitename/public_html/classes/exception/PrestaShopException.php on line 110
    SmartyLazyRegister->smartyHook - [line 153 - tools/smarty/sysplugins/smarty_internal_templatebase.php(157) : eval()'d code] - [2 Arguments]
    Warning: file(/home/sitename/public_html/tools/smarty/sysplugins/smarty_internal_templatebase.php(157) : eval()'d code): failed to open stream: No such file or directory in /home/sitename/public_html/classes/exception/PrestaShopException.php on line 103

    Warning: array_slice() expects parameter 1 to be array, boolean given in /home/sitename/public_html/classes/exception/PrestaShopException.php on line 110
    content_58af3f90cb5a86_78384183 - [line 188 - tools/smarty/sysplugins/smarty_internal_templatebase.php] - [1 Arguments]
    Smarty_Internal_TemplateBase->fetch - [line 317 - classes/SmartyCustom.php] - [7 Arguments]
    Smarty_Custom_Template->fetch - [line 303 - tools/smarty/sysplugins/smarty_internal_template.php] - [7 Arguments]
    Smarty_Internal_Template->getSubTemplate - [line 38 - tools/smarty/sysplugins/smarty_internal_templatebase.php(157) : eval()'d code] - [7 Arguments]
    Warning: file(/home/sitename/public_html/tools/smarty/sysplugins/smarty_internal_templatebase.php(157) : eval()'d code): failed to open stream: No such file or directory in /home/sitename/public_html/classes/exception/PrestaShopException.php on line 103

    Warning: array_slice() expects parameter 1 to be array, boolean given in /home/sitename/public_html/classes/exception/PrestaShopException.php on line 110
    content_58af3f90ad0e82_11797199 - [line 188 - tools/smarty/sysplugins/smarty_internal_templatebase.php] - [1 Arguments]
    Smarty_Internal_TemplateBase->fetch - [line 110 - classes/SmartyCustom.php] - [7 Arguments]
    SmartyCustomCore->fetch - [line 529 - classes/controller/Controller.php] - [1 Arguments]
    ControllerCore->smartyOutputContent - [line 723 - classes/controller/FrontController.php] - [1 Arguments]
    FrontControllerCore->display - [line 209 - classes/controller/Controller.php]
    ControllerCore->run - [line 367 - classes/Dispatcher.php]
    DispatcherCore->dispatch - [line 28 - index.php]
Edited by ps3z (see edit history)
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...