flyclothing Posted August 24, 2014 Share Posted August 24, 2014 My site was working fine until I updated 3 modules today and now I am getting a fatal error whenever I click on any of the products in the store. Unfortunately, I dont know what the 3 modules were but I know they are stock. Any thoughts? Link to comment Share on other sites More sharing options...
fasda Posted August 24, 2014 Share Posted August 24, 2014 I have the same issue after upgrade to 1.6.0.9 version. Only statement "Fatal error" appears on the page, without any additional info. There is nothing useful in the logfiles - what is the best way to investigate this kind of issue? Link to comment Share on other sites More sharing options...
gandalf330 Posted August 24, 2014 Share Posted August 24, 2014 Same issue here. I have noticed that things works when you are connected to the shop, but as a visitor, I get a fatal error message. G Link to comment Share on other sites More sharing options...
Alexgaw Posted August 24, 2014 Share Posted August 24, 2014 (edited) Me too but I found the issue. The PrestaShop team AGAIN!! not doing their testing and releasing CRAP! The level of incompetence is amazing. New version, new bugs. So the issues is with the latest wishlist module. Go to the blockwishlist module In the file blockwishlist.php file FIND: 'wishlists' => WishList::getByIdCustomer($cookie->id_customer), Replace with : 'wishlists' => WishList::getByIdCustomer((int)$cookie->id_customer), That should do it. To the prestashop team: This bug cause my to waist 4 hours on a Sunday afternoon, Mo..Fo... Edited August 24, 2014 by Alexgaw (see edit history) 14 Link to comment Share on other sites More sharing options...
FunC0207 Posted August 24, 2014 Share Posted August 24, 2014 Me too but I found the issue. The PrestaShop team AGAIN!! not doing their testing and releasing CRAP! The level of incompetence is amazing. New version, new bugs. So the issues is with the latest wishlist module. Go to the blockwishlist module In the file blockwishlist.php file FIND: 'wishlists' => WishList::getByIdCustomer($cookie->id_customer), Replace with : 'wishlists' => WishList::getByIdCustomer((int)$cookie->id_customer), That should do it. To the prestashop team: This bug cause my to waist 4 hours on a Sunday afternoon, Mo..Fo... Thanks alexgraw, Link to comment Share on other sites More sharing options...
Lugorcorp Posted August 24, 2014 Share Posted August 24, 2014 Me too but I found the issue. The PrestaShop team AGAIN!! not doing their testing and releasing CRAP! The level of incompetence is amazing. New version, new bugs. So the issues is with the latest wishlist module. Go to the blockwishlist module In the file blockwishlist.php file FIND: 'wishlists' => WishList::getByIdCustomer($cookie->id_customer), Replace with : 'wishlists' => WishList::getByIdCustomer((int)$cookie->id_customer), That should do it. To the prestashop team: This bug cause my to waist 4 hours on a Sunday afternoon, Mo..Fo... Thanks dude :') Link to comment Share on other sites More sharing options...
gandalf330 Posted August 24, 2014 Share Posted August 24, 2014 Yeap, spot on, that fixes it ! Thanks G Link to comment Share on other sites More sharing options...
prospect Posted August 24, 2014 Share Posted August 24, 2014 Me too but I found the issue. The PrestaShop team AGAIN!! not doing their testing and releasing CRAP! The level of incompetence is amazing. New version, new bugs. So the issues is with the latest wishlist module. Go to the blockwishlist module In the file blockwishlist.php file FIND: 'wishlists' => WishList::getByIdCustomer($cookie->id_customer), Replace with : 'wishlists' => WishList::getByIdCustomer((int)$cookie->id_customer), That should do it. To the prestashop team: This bug cause my to waist 4 hours on a Sunday afternoon, Mo..Fo... Thanks !!! Link to comment Share on other sites More sharing options...
vekia Posted August 24, 2014 Share Posted August 24, 2014 hello what else upgrades you applied? i mean what modules you updated before error started to appear? its necessary to check them too! Link to comment Share on other sites More sharing options...
hatjoe Posted August 24, 2014 Share Posted August 24, 2014 Me too but I found the issue. The PrestaShop team AGAIN!! not doing their testing and releasing CRAP! The level of incompetence is amazing. New version, new bugs. So the issues is with the latest wishlist module. Go to the blockwishlist module In the file blockwishlist.php file FIND: 'wishlists' => WishList::getByIdCustomer($cookie->id_customer), Replace with : 'wishlists' => WishList::getByIdCustomer((int)$cookie->id_customer), That should do it. To the prestashop team: This bug cause my to waist 4 hours on a Sunday afternoon, Mo..Fo... Thx man worked for me!!! Link to comment Share on other sites More sharing options...
orion246 Posted August 24, 2014 Share Posted August 24, 2014 Me too but I found the issue. The PrestaShop team AGAIN!! not doing their testing and releasing CRAP! The level of incompetence is amazing. New version, new bugs. So the issues is with the latest wishlist module. Go to the blockwishlist module In the file blockwishlist.php file FIND: 'wishlists' => WishList::getByIdCustomer($cookie->id_customer), Replace with : 'wishlists' => WishList::getByIdCustomer((int)$cookie->id_customer), That should do it. To the prestashop team: This bug cause my to waist 4 hours on a Sunday afternoon, Mo..Fo... Thank you so much Link to comment Share on other sites More sharing options...
flyclothing Posted August 24, 2014 Author Share Posted August 24, 2014 Vekia, It looks like Alex solved it for you. Need to put him on the payroll! Jonathan Link to comment Share on other sites More sharing options...
mkkorleone Posted August 24, 2014 Share Posted August 24, 2014 i have problem with android with desktop no problem I tried this solution but still have problem. Link to comment Share on other sites More sharing options...
metmichiel Posted August 24, 2014 Share Posted August 24, 2014 Hi, Thanks for the fix! greetings Michiel Me too but I found the issue. The PrestaShop team AGAIN!! not doing their testing and releasing CRAP! The level of incompetence is amazing. New version, new bugs. So the issues is with the latest wishlist module. Go to the blockwishlist module In the file blockwishlist.php file FIND: 'wishlists' => WishList::getByIdCustomer($cookie->id_customer), Replace with : 'wishlists' => WishList::getByIdCustomer((int)$cookie->id_customer), That should do it. To the prestashop team: This bug cause my to waist 4 hours on a Sunday afternoon, Mo..Fo... Link to comment Share on other sites More sharing options...
mkkorleone Posted August 24, 2014 Share Posted August 24, 2014 Works:) Thanks. Link to comment Share on other sites More sharing options...
rschwendeman Posted August 24, 2014 Share Posted August 24, 2014 (edited) same problem and this fix worked perfectly! Thanks for the fast fix! Edited August 24, 2014 by rschwendeman (see edit history) Link to comment Share on other sites More sharing options...
vekia Posted August 25, 2014 Share Posted August 25, 2014 Vekia, It looks like Alex solved it for you. Need to put him on the payroll! Jonathan yess i see :-) i asked about other modules that you upgraded, it's worth to check changes applied to these modules too i know that everything works now, but who knows ... Link to comment Share on other sites More sharing options...
Roffleman Posted August 25, 2014 Share Posted August 25, 2014 Hi guys, first, let me say thanks for the solution. I would never have guessed. In my case, the thing is that i did not do any update at all. I simply installed pure 1.6.0.9 Prestashop on my host, everything was working but i could not access any product detail > fatal error. Hope the Prestashop guys will soon fix this. 1 Link to comment Share on other sites More sharing options...
ivanomino Posted August 25, 2014 Share Posted August 25, 2014 I was the same mistake. THANKS ALEXGRAW !!! You have started again my hope, because i have no hope when put a question on this forum. Example: 8 question, no answer. Only 1 other question on that. You have right, in the last time Prestashop team have many many issues and bugs in the update. Link to comment Share on other sites More sharing options...
Joan23 Posted August 25, 2014 Share Posted August 25, 2014 Thanks a lot Alexgaw. Good job!! Me too but I found the issue. The PrestaShop team AGAIN!! not doing their testing and releasing CRAP! The level of incompetence is amazing. New version, new bugs. So the issues is with the latest wishlist module. Go to the blockwishlist module In the file blockwishlist.php file FIND: 'wishlists' => WishList::getByIdCustomer($cookie->id_customer), Replace with : 'wishlists' => WishList::getByIdCustomer((int)$cookie->id_customer), That should do it. To the prestashop team: This bug cause my to waist 4 hours on a Sunday afternoon, Mo..Fo... Link to comment Share on other sites More sharing options...
Sacha FROMENT Posted August 25, 2014 Share Posted August 25, 2014 Hello everybody, We are sorry for this. This fix should fix the bug: https://github.com/PrestaShop/blockwishlist/commit/115bf4170147 . You need to remove red line by green line and don't take the plus and minus which are on the side. Best regards. Link to comment Share on other sites More sharing options...
vivianne Posted August 25, 2014 Share Posted August 25, 2014 (edited) Well, I do have the same fatal error problem on product pages, but I don´t even have the wishlist module installed. I downloaded prestashop this morning and installed it on my server. Before I started to change anything in the backend, the error was already there! So maybe it´s a core thing?? Can you help please? Edited August 25, 2014 by vivianne (see edit history) Link to comment Share on other sites More sharing options...
Sacha FROMENT Posted August 25, 2014 Share Posted August 25, 2014 Hello, It's cause blockwishlist is installed by default when you install prestashop. Best regards. Link to comment Share on other sites More sharing options...
vivianne Posted August 25, 2014 Share Posted August 25, 2014 So, where can I finde these two files where I should make a change? I can´t find a folder for blockwishlist in my module folder on the server. Link to comment Share on other sites More sharing options...
El Patron Posted August 25, 2014 Share Posted August 25, 2014 The PrestaShop team has quickly fixed this issue. See forge report for official fix: http://forge.prestashop.com/browse/PSCSX-3115 Link to comment Share on other sites More sharing options...
flyclothing Posted August 25, 2014 Author Share Posted August 25, 2014 Do we need to modify this manually using the github fix or will the mod be updated correctly? Link to comment Share on other sites More sharing options...
El Patron Posted August 25, 2014 Share Posted August 25, 2014 Do we need to modify this manually using the github fix or will the mod be updated correctly? If module is saying update available, I would use that path. Please let us know if it's saying upgrade available. If not then this take more manual update, i.e. replace the affected file(s) in module folder. Link to comment Share on other sites More sharing options...
kokosmin Posted August 25, 2014 Share Posted August 25, 2014 (edited) In blockwishlist-extra.tpl I had an extra line, on line 31, compared to the code on github It said: {$wishlist|var_dump} I don't know why ... I deleted that also No regrets so far. Please post if you also have this extra line. Edited August 25, 2014 by kokosmin (see edit history) Link to comment Share on other sites More sharing options...
flyclothing Posted August 25, 2014 Author Share Posted August 25, 2014 Just updated the module via Prestashop and seems to be working fine on both PC and phone. 1 Link to comment Share on other sites More sharing options...
Recommended Posts