Jump to content

ERROR 500: "throw new PrestaShopException('Invalid category vars')"


Lambu

Recommended Posts

Hello,

Since I bought and installed a new theme, I have the ERROR 500 on my website home page (all the other pages such as articles and even my back office works).

My error code says: 

Invalid category vars
at line 388 in file classes/Link.php

383. if (is_array($category) && isset($category['id_category'])) {
384. $category = new Category($category, $idLang);
385. } elseif ((int) $category) {
386. $category = new Category((int) $category, $idLang);
387. } else {
388. throw new PrestaShopException('Invalid category vars');
389. }
390. }
391.
392. return $category;
393. }

 

Does anyone knows what to do in this case?

Edited by Lambu (see edit history)
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...