Jump to content

Dispatcher::createUrl() miss required parameter "categories" for route "category_rule"


Recommended Posts

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 

image_2022_08_31T10_32_28_793Z.png

Link to comment
Share on other sites

  • 2 weeks later...

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

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...