Jump to content

[SOLVED] Can't create categories & sub categories


anarchy99

Recommended Posts

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

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

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

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