Struckle with my model and the builder - "Call to a member function get() on null" |
If you need to work with the query builder, you need to call the builder function, it’s not a variable:
PHP Code: $builder = $this->builder(); But in your case, you don’t need your getAll() function, just call the findAll() function: PHP Code: $this->data['epochen'] = $this->model->findAll(); |
Messages In This Thread |
Struckle with my model and the builder - "Call to a member function get() on null" - by sprhld - 05-15-2021, 05:02 AM
RE: Struckle with my model and the builder - "Call to a member function get() on null" - by InsiteFX - 05-15-2021, 05:52 AM
RE: Struckle with my model and the builder - "Call to a member function get() on null" - by sprhld - 05-15-2021, 07:13 AM
RE: Struckle with my model and the builder - "Call to a member function get() on null" - by InsiteFX - 05-15-2021, 11:53 AM
RE: Struckle with my model and the builder - "Call to a member function get() on null" - by includebeer - 05-15-2021, 04:35 PM
|