12-22-2016, 06:56 PM
PHP didn't give you the most helpful error there. That error is part of the db->query method, so there is a problem with one of your queries. Go through any time you did any db queries on that page and see if there are any errors...
If you're kind of lost on where you messed up, just put
die();
after a query (starting from the top of the page) and reload the page. If you don't get that error, remove that die and put it after the next one.
Once you get the error, the query before the die is the one that is causing you a problem.
If you're kind of lost on where you messed up, just put
die();
after a query (starting from the top of the page) and reload the page. If you don't get that error, remove that die and put it after the next one.
Once you get the error, the query before the die is the one that is causing you a problem.