managed to downgrade the installation to 1.7, the frontend is working (mostly) but now i get this error when im trying to login into the backend
CRITICAL
18:01:02
php Uncaught Exception: Unable to generate a URL for the named route "admin_security" as such route does not exist.
CRITICAL
18:01:02
request Uncaught PHP Exception Symfony\Component\Routing\Exception\RouteNotFoundException: "Unable to generate a URL for the named route "admin_security" as such route does not exist." at /home/c0945442/public_html/var/cache/dev/appDevDebugProjectContainerUrlGenerator.php line 614
the cache is deleted when the error occurs
appDevDebugProjectContainerUrlGenerator->generate('admin_security', array(), 1)
in vendor/symfony/symfony/src/Symfony/Component/Routing/Router.php (line 240)
/** * {@inheritdoc} */ public function generate($name, $parameters = [], $referenceType = self::ABSOLUTE_PATH) { return $this->getGenerator()->generate($name, $parameters, $referenceType); } /** * {@inheritdoc} */
Router->generate('admin_security', array(), 1)
in src/PrestaShopBundle/Service/Routing/Router.php (line 67)
// Do not generate token each time we want to generate a route for a user if (!isset($this->tokens[$username])) { $this->tokens[$username] = $this->tokenManager->getToken($username)->getValue(); } $url = parent::generate($name, $parameters, $referenceType); return self::generateTokenizedUrl($url, $this->tokens[$username]); } public function setTokenManager(CsrfTokenManager $tokenManager)
Router->generate('admin_security')
in classes/Link.php (line 881)
$sfContainer = SymfonyContainer::getInstance(); if (null !== $sfContainer) { /** @var UrlGeneratorInterface $sfRouter */ $sfRouter = $sfContainer->get('router'); return $sfRouter->generate($tab['route_name']); } } return $this->getAdminLink($tab['class_name']); }
LinkCore->getTabLink(array('id_tab' => '299', 'id_parent' => '298', 'class_name' => 'AdminSecurity', 'module' => '', 'position' => '1', 'active' => '1', 'icon' => '', 'wording' => 'Security', 'wording_domain' => 'Admin.Navigation.Menu', 'enabled' => '1', 'route_name' => 'admin_security', 'name' => 'Security'))
in classes/controller/AdminController.php (line 2126)
$tabs[$index]['current_level'] = $level; } else { $tabs[$index]['current'] = false; } $tabs[$index]['img'] = null; $tabs[$index]['href'] = $this->context->link->getTabLink($tab); $tabs[$index]['sub_tabs'] = array_values($this->getTabs($tab['id_tab'], $level + 1)); $subTabHref = $this->getTabLinkFromSubTabs($tabs[$index]['sub_tabs']); if (!empty($subTabHref)) { $tabs[$index]['href'] = $subTabHref;