I am receiving the next error
Fatal error: Call to a member function result() on a non-object in /htdocs/public/www/application/models/grocery_model.php on line 45
This happens to me only with the flexigrid theme.
I can see how the data is loaded ok, but then, at the bottom of the flexigrid theme, there is a spinner, i don't know how it works, may be is making some kind of request to the groceryCrud to validate the amount left, or loading more data... i don't know, but after i can see the data, it gets removed and the message is shown.
The line of code in grocery_model is
$results = $this->db->get($this->table_name)->result();
The most weird part is that i have another table, that work just as expected, and in my local system both are working fine.
I try to change the table in the controller that works by the one that doesn't but with no luck at all, same error. Tried to dump de data and delete the table and upload it agani... even try to wipe out the entire code and upload it agan and the error persist.
I change the theme to datatables and work fine... i think this is just personal! i need to know what is going wrong.
So please, any kind of help will be much welcome, on how to track the problem or if some one has experience the same issue. I just hope that this is not a lame error bye me.
If you need more info i will be glad to give the adress and the source.
Thanks in advances and btw... awesome work!