Jump to content
selectshop.at

[PrestaShop] Fatal error in module file :/xxxxx/classes/db/DbPDO.php: Call to a member function rowCount() on boolean - cannot delete images themeconfigurator

Recommended Posts

If you are having this error by trying to delete the native pictures from themeconfigurator on PS 1.6.1.18, so this is a BUG.

If you further activate debug mode you will get the following error:

[PrestaShopDatabaseException]

Table 'xxxxxx.ps_ps_themeconfigurator' doesn't exist

 

xxxx stands for your shop-name.

For to debug this error apply this workaround:

 

Open the file modules/themeconfigurator/themeconfigurator.php.
On line 397, you have:

Db::getInstance()->delete(DB_PREFIX.'themeconfigurator', 'id_item = '.(int)$id_item);

Replace with:

Db::getInstance()->delete('themeconfigurator', 'id_item = '.(int)$id_item);

Then save the file.

 

 

  • Thanks 1

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.

Guest
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