ThingEngineer / PHP-MySQLi-Database-Class

Wrapper for a PHP MySQL class, which utilizes MySQLi and prepared statements.
Other
3.28k stars 1.35k forks source link

SQL doesn't exist query error #724

Open sanjuwdr opened 6 years ago

sanjuwdr commented 6 years ago

Fatal error: Uncaught exception 'Exception' with message 'Table 'usageDetails' doesn't exist query: UPDATE usageDetails SET currentVal = ?, calcCost = ?, updated_at = ? WHERE id = ? ' in /home/admin/lib/MysqliDb.php:1819 Stack trace: #0 /home/admin/lib/MysqliDb.php(1427): MysqliDb->_prepareQuery() #1 /home/admin/lib/MysqliDb.php(768): MysqliDb->_buildQuery(NULL, Array) #2 /home/getUsage.php(53): MysqliDb->update('usageDetails', Array) #3 {main} thrown in /home/admin/lib/MysqliDb.php on line 1819

VeNoMouS commented 6 years ago

Can we see your code for your query...