Example code:Fuel\Core\Database_Exception [ 2014 ]: Commands out of sync; you can't run this command now
$result = \DB::query('CALL get_activities()', \DB::SELECT) ->execute(); $result = \DB::query('CALL get_another()', \DB::SELECT) ->execute();
This can happen, for example, if you are using mysql_use_result() and try to execute a new query before you have called mysql_free_result(). It can also happen if you try to execute two queries that return data without calling mysql_use_result() or mysql_store_result() in between.
It looks like you're new here. If you want to get involved, click one of these buttons!