Controller
I have multiple functions from the model
passing data to the view
I was doing this successfully like this:
$var1 = $this->model_name->function_name();
$var2 = $this->model_name->function_name();
$var3 = $this->model_name->function_name();
$data = $var1 + $var2 + $var3;
$this->load->view('page_name', $data);
Now I am using the above method in other areas which is working flawlessly. However I am getting an error Fatal error: Unsupported operand types What happened? Why was it working an hour ago and suddenly broke without modification to the code..