php7 error: Parameter must be an array or an object that implements Countable in CaptchaBuilder.php on line 333
php7 error: Parameter must be an array or an object that implements Countable in CaptchaBuilder.php on line 333

I got this error using xampp with php7 under windows 10 64bit.

Parameter must be an array or an object that implements Countable in CaptchaBuilder.php on line 333

I fixed it by declaring $textColor as array() at line 29.
Gregwar/Captcha