rthakur Posted August 31, 2022 Share Posted August 31, 2022 Aftre upgrate 1.7.6.5 to 1.7.8.7 [PrestaShopException] Dispatcher::createUrl() miss required parameter "categories" for route "category_rule" at line 923 in file classes/Dispatcher.php 918. if (!$data['required']) { 919. continue; 920. } 921. 922. if (!array_key_exists($key, $params)) { 923. throw new PrestaShopException('Dispatcher::createUrl() miss required parameter "' . $key . '" for route "' . $route_id . '"'); 924. } 925. if (isset($this->default_routes[$route_id])) { 926. $query_params[$this->default_routes[$route_id]['keywords'][$key]['param']] = $params[$key]; 927. } 928. } Please help me how to fix this issue Link to comment Share on other sites More sharing options...
ComGrafPL Posted September 3, 2022 Share Posted September 3, 2022 This error occurs when you have an override for dispatcher.php class check /override/classes/dispatcher.php and repair it or simply remove it. Link to comment Share on other sites More sharing options...
rthakur Posted September 5, 2022 Author Share Posted September 5, 2022 Hello, I have alredy remove override class but still i have same issue. Please guide me how to fix this issue Link to comment Share on other sites More sharing options...
musicmaster Posted September 18, 2022 Share Posted September 18, 2022 Removing the override files doesn't seem a sound strategy to me. I don't see any sign that an override is here the problem. And overrides are there to serve some module. So when you remove an override they module may become instable and cause errors. Seeing that it is the module ps_categorytree that calls this function I would expect some problem there. Link to comment Share on other sites More sharing options...
rthakur Posted September 19, 2022 Author Share Posted September 19, 2022 ok thanks 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