Jump to content

Prestashopexception In Link.php

Recommended Posts

Caute. Pouzivam verziu Prestap 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:


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. }
110. // Set available keywords
111. $params = array();
Viete mi prosim niekto s tymto problemom poradit?
EDIT: 13.1.2016: Problem som vyriesil, vznikol vymazanim produktu, ktory bol pouzity ako polozka v menu.


Edited by prckin (see edit history)

Share this post

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More