[eluser]Sytze Loor[/eluser]
Thanks for the reply.
I tried copy-pasting the user guide example, but it still gives an error on anything with $this->table in it.
The model function that creates $users returns
Code:
return $query->result_array();
so I'm pretty sure it's array and there are 2 records in it.
I think we can say for sure by now that the problem is in the Table class and not in the model. I also tried the Table class in several other controllers and they all give the same error ('Call to a member function generate() on a non-object'). I'm running on version 1.6.3, does anyone else have the same problem?
The strange thing is that I did all by the book;
load the table library
generate headers for the table
add a few rows
Sytze