I have received these exceptions
“Exception: Argument 1 passed to Cake\ORM\Entity::__construct() must be of the type array, bool given, called in /app/vendor/cakephp/cakephp/src/ORM/ResultSet.php on line 603 in [/app/vendor/cakephp/cakephp/src/ORM/Entity.php, line 48]”
“Warning Error: array_combine(): Both parameters should have an equal number of elements in [/app/vendor/cakephp/cakephp/src/ORM/ResultSet.php, line 529]”
this issue is occured because my table field length is greater than 65. So, below $row variable contain truncated column name.
$row = $this->_statement->fetch(‘assoc’);
And failded to combine at
array_combine($keys, array_intersect_key($row, $keys));