What's New
You must be logged in to reply to this topic.
When i deleted multistore i get this error i posted below when i want to enter product. yobo do You know a safe way to delete multistore? My store dont have shared orders, clients etc. The error also appears when i disable multistore in back office without deleting any stuff.
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. }
Ok i found the error causing this it was no number set up in the st module called “Featured products slider”.
The one thing that is bothering me after disabling the multistore or deleting other store some configurations for main store are changed or disappears? Why? When i have multistore turned on in “Featured products slider” plugin i have “Category from which to pick products to be displayed Choose the category ID of the products that you would like to display on homepage (default: 2 for “Home”).” set up for 2. But after i disable the multistore or delete the other store and leave main store the setup is changed to blank and that causes error. Another thing is the “Featured categories” i have 6 categories when multistore is on they display ok when its off only one category display the categories are still visible in back office and sttheme setup like pictures sizes large changed to medium, rows columns are changed some of the translations missing.
Why this is happening if on multistore everything working ok.
I thought all settings made on seperate store will be saved but it seems there is a mismatch with this.
You must be logged in to reply to this topic.