Warning: count(): Parameter must be an array or an object that implements Countable
Posté : 12 nov. 2019, 11:23
la variable $this->_data est un array[63] généré dynamiquement au moment du warning sur la ligne
Comment éviter ce Warning: count(): Parameter must be an array or an object that implements Countable ?
Code : Tout sélectionner
if ( count( $this->_data > 0 ) && $task != 'create' )