![]() |
The BlockCell does not have the asArray() method.
So "Call to undefined method App\Cells\BlockCell::asArray()". It seems you areĀ confusing the Cell class with the Model class. If you want to get the result of the Model, you need to call the Model's method in the Cell class. See the sample code: https://codeigniter4.github.io/CodeIgnit...mple-cells The $this->blogModel is used in that code. Of course you need to assign the model instance by yourself like: PHP Code: // ... |
Welcome Guest, Not a member yet? Register Sign In |