-1
foreach ( $this->_defaultModel->getFields() as $field )
$this->data['rowNew'][$field] = null;
/*echo("defaultModel");
debug($this->_defaultModel);
*/
$this->data+= $this->_defaultModel->findAllByFields($search, $page, $limitPerPage, $orderBy, $order);
I’m making a codeigniter migration Unsupported operand types
Changed the default of the operators?
The return of
$this->_defaultModel->findAllByFields
is a array?– Woss
No, it’s an object!
– Kauê gouveia lima
And what would be the expected result for an operation "array + object"?
– Woss
I changed it to array and it’s still the same problem. Thanks for the help friend!
– Kauê gouveia lima
And how you turned?
– Woss