omixam Posted April 5, 2016 Share Posted April 5, 2016 Hello, I'm developing searching module and I'm overriding find method of Seach.php class, but I'm getting the following message: [PrestaShopDatabaseException] Db->executeS() must be used only with select, show, explain or describe queriesat line 488 in file classes/db/Db.php I don't understand why this error if I only use SELECT clause. See the complete error in the image attached I also attached the file of override Search.php class. Anyone have an idea how can I solve this error? Thanks in Advanced! I'm working in localhost. Prestashop 1.6 Search.php Link to comment Share on other sites More sharing options...
presta4you.com Posted April 5, 2016 Share Posted April 5, 2016 (edited) Can you try erase next 'true' parameter? You don't override Db classes? Edited April 5, 2016 by presta4you.com (see edit history) Link to comment Share on other sites More sharing options...
omixam Posted April 6, 2016 Author Share Posted April 6, 2016 1. I tried but the same error. 2. No, I don't over ride Db classes, I only override Search.php class. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now