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
FrontEndUsers errormessage with php 7.2
Re: FrontEndUsers errormessage with php 7.2
Currently CMSMS supports PHP 7.1, as do most of the major modules. PHP 7.2 works for the most part, but won't be officially supported by the core until 2.3.
You can still file a bug report for the module if there isn't one already, and perhaps just disable PHP warnings on the production site if the module still functions alright otherwise.
You can still file a bug report for the module if there isn't one already, and perhaps just disable PHP warnings on the production site if the module still functions alright otherwise.
Not getting the answer you need? CMSMS support options
Re: FrontEndUsers errormessage with php 7.2
Thanks for the reply! How I can disable php warnings? I tried with .htaccess and with php.ini, but with no luck. Warning message is still showing.
I tried .htaccess with code: php_flag display_errors off
And php.ini with: error_reporting(0);
Best regards
Aleksi
I tried .htaccess with code: php_flag display_errors off
And php.ini with: error_reporting(0);
Best regards
Aleksi