Lambu Posted September 7, 2020 Share Posted September 7, 2020 (edited) 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 September 7, 2020 by Lambu (see edit history) Link to comment Share on other sites More sharing options...
musicmaster Posted September 12, 2020 Share Posted September 12, 2020 Sounds like a problem with the Homefeatured module. But for theme specific questions it is always better to ask the author of the theme. 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