Friday, April 17, 2020

Fix Error count() dan sizeof() Codeigniter pada PHP 7.x

ErrorException in helper.php line 1231:
count(): Parameter must be an array or an object that implements Countable
Cara Fixnya cukup mudah cukup tambahkan "(array)" didalam fungsi sizeOf() atau count()
Contoh : 
Sebelum .
Sesudah . 

Share:

0 comments:

Post a Comment

This Blog is protected by DMCA.com