Jump to content

Cannot access any product pages after upgrade to 1.5.6.0


Recommended Posts

Hi,

 

After upgrading from 1.5.4.1 to 1.5.6.0 I cannot access any product page on www.prospeed.dk.

 

The problem is the same if I disable Freindly URL in BackOffice.

 

So regenerating the .htaccess file doesn't help and enabling canonical url doesn't help either.

 

Any ideas to fix this problem? Here are some debug info:

[PrestaShopException]

Invalid product vars
at line 104 in file classes/Link.php

98.             if (is_array($product) && isset($product['id_product']))
99.                 $product = new Product($product['id_product'], false, $id_lang, $id_shop);
100.             elseif ((int)$product)
101.                 $product = new Product((int)$product, false, $id_lang, $id_shop);
102.             else
103.                 throw new PrestaShopException('Invalid product vars');
104.         }
105.
106.         // Set available keywords
107.         $params = array();
108.         $params['id'] = $product->id;
Edited by elund (see edit history)
Link to comment
Share on other sites

  • 10 months later...
×
×
  • Create New...