• Priority: 0
  • Status: Closed
  • Theme: Venedor
  • Assigned To: Alex
  • Private: No
  • Open Date: 03.11.16, 11:43
  • Opened by: David
  • Closed by: Alex
  • Closed on: 31.01.17, 14:42
  • Reason: Closed
  • Comment: Glad to help!

Ticket #10031 - bug in column slider

Hi, when I try to erase a slide of column slider it appears this:

Fatal error: Call to a member function rowCount() on boolean in /usr/home/enbotella.com/web/classes/db/DbPDO.php on line 206 [PrestaShop] Fatal error in module file :/usr/home/enbotella.com/web/classes/db/DbPDO.php:
Call to a member function rowCount() on boolean

and doesnt work.

Need help to fix this!

Comments

Alex 03 Nov 2016, 17:35

Try to reset the module and reconfigure it. It should help

Marek 10 Mar 2017, 11:32

The fix is following:
File: pk_columnslider.php
Line: 370

Db::getInstance()->delete(_DB_PREFIX_.'minic_slider', 'id_slide = '.(int)Tools::getValue('slideId'));

Fix:

Db::getInstance()->delete(_DB_PREFIX_.'pk_columnslider', 'id_slide = '.(int)Tools::getValue('slideId'));