anarchy99 Posted December 14, 2019 Share Posted December 14, 2019 (edited) Hi, After upgrade to 1.7.6.1. Both categories & sub categories can't be created. Already try to search for solution but didn't see the answer. Thank you in advance for the answer. Edited December 14, 2019 by anarchy99 (see edit history) Link to comment Share on other sites More sharing options...
anarchy99 Posted December 14, 2019 Author Share Posted December 14, 2019 1 minute ago, ndiaga said: Hi, I think the variables your are submitting for the category is not valid, like the category name , description or image. Hi, This is occur since i click " Add new categories" Do you have any ideas what they come from ? Link to comment Share on other sites More sharing options...
anarchy99 Posted December 14, 2019 Author Share Posted December 14, 2019 1 minute ago, ndiaga said: Since you did an update it maybe related to that. Enable the debug mode to see the line error in AdminCategoryController.php This is the error after turn on debug mode. Link to comment Share on other sites More sharing options...
anarchy99 Posted December 14, 2019 Author Share Posted December 14, 2019 I have try to clear cache then disable debug mode but it is the same. These are more information from Debug mode. PrestaShopException PrestaShopException: Invalid category vars at override/classes/Link.php:70 at Link->getCategoryLink(0, '{friendy-url}') (src/Adapter/Shop/Url/CategoryProvider.php:60) at PrestaShop\PrestaShop\Adapter\Shop\Url\CategoryProvider->getUrl(0, '{friendy-url}') (src/PrestaShopBundle/Controller/Admin/Sell/Catalog/CategoryController.php:155) at PrestaShopBundle\Controller\Admin\Sell\Catalog\CategoryController->createAction(object(Request)) (vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpKernel.php:151) at Symfony\Component\HttpKernel\HttpKernel->handleRaw(object(Request), 1) (vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpKernel.php:68) at Symfony\Component\HttpKernel\HttpKernel->handle(object(Request), 1, false) (vendor/symfony/symfony/src/Symfony/Component/HttpKernel/Kernel.php:200) at Symfony\Component\HttpKernel\Kernel->handle(object(Request), 1, false) (adminshop/index.php:86) Link to comment Share on other sites More sharing options...
anarchy99 Posted December 14, 2019 Author Share Posted December 14, 2019 Just now, ndiaga said: Yes, sorry enable debug mode again. The problem is in override/classes/Link.php . A module is probabily using it , try to find witch one and uninstall it or just desable all overrides from Performance . I think i have found it. It's from module SeoPro - All-In-One SEO. After disable it every thing is working correctly. Thank you so much for an advice : ) 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