bestestmostpro Posted December 12, 2018 Share Posted December 12, 2018 I tried to update from 1.6.1.6 to 1.7 and failed miserably. Before I made this attempt I did a manual back up of the site and database but upon restoration, I am getting the following error when I click on a product to go to the main product page I get an error. Below is the error and below that is my server setup. Any ideas on how I screwed up? I changed the url rewrite settings around and got nothing also. Quote Notice: Undefined offset: 0 in /home/agilistech/apparelexpressions.com/modules/productscategory/productscategory.php on line 181 [PrestaShopException] Invalid product varsat line 106 in file classes/Link.php if (is_array($product) && isset($product['id_product'])) { 102. $product = new Product($product['id_product'], false, $id_lang, $id_shop); 103. } elseif ((int)$product) { 104. $product = new Product((int)$product, false, $id_lang, $id_shop); 105. } else { 106. throw new PrestaShopException('Invalid product vars'); 107. } 108. } 109. 110. // Set available keywords 111. $params = array(); Quote Server information Linux #1 SMP Wed Nov 2 10:45:38 UTC 2016 x86_64 Server software version Apache PHP version 5.6.36 Memory limit 512M Max execution time 1000 STORE INFORMATION PrestaShop version 1.6.1.6 Shop URL http://apparelexpressions.com/ Current theme in use maxima Link to comment Share on other sites More sharing options...
shacker Posted December 16, 2018 Share Posted December 16, 2018 delete te cache from back office, and if still have issues, just remove the module product comments and check if the rest is ok, you can reinstall it if works 1 Link to comment Share on other sites More sharing options...
bestestmostpro Posted December 18, 2018 Author Share Posted December 18, 2018 Thanks for the info. I reinstalled and it worked. 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