FrontEndUsers errormessage with php 7.2
Posted: Tue Nov 13, 2018 7:39 am
Hi!
I have had zero problems with FEU and old php 5.6. I upgraded php version to 7.2 and now after login there is error message below welcome text.
Warning: count(): Parameter must be an array or an object that implements Countable in .../modules/FrontEndUsers/lib/class.feu_user_cache.php on line 161
Line 161 code is: if( count($fprops) && $rec['userid'] != $prev_uid && $prev_uid != null) {
I have updated to latest FEU version, but it's not working.
Is there any fix with that? I must update my website php version in a month.
Best regards
- Aleksi
I have had zero problems with FEU and old php 5.6. I upgraded php version to 7.2 and now after login there is error message below welcome text.
Warning: count(): Parameter must be an array or an object that implements Countable in .../modules/FrontEndUsers/lib/class.feu_user_cache.php on line 161
Line 161 code is: if( count($fprops) && $rec['userid'] != $prev_uid && $prev_uid != null) {
I have updated to latest FEU version, but it's not working.
Is there any fix with that? I must update my website php version in a month.
Best regards
- Aleksi