Jump to content

Prestashopexception In Link.php


prckin

Recommended Posts

Caute. Pouzivam verziu Prestap 1.6.1.2 a dnes som vymazat testovacie produkty, ktore sa nahraju vzdy pri instalacii. Doteraz vsetko fungovalo bez najmensich problemov, ale po vymazani tychto produktov mi zacalo vsak vyhadzovat chybu 500. Chyba je nasledovna:

[PrestaShopException]

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

101. 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();
 
Viete mi prosim niekto s tymto problemom poradit?
 
Dakujem. 
 
EDIT: 13.1.2016: Problem som vyriesil, vznikol vymazanim produktu, ktory bol pouzity ako polozka v menu.

post-1174225-0-33602900-1452701330_thumb.png

Edited by prckin (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...