• twitter image
  • facebook image
  • youtube image
  • linkedin image
Language: CMS Made Simple Czech CMS Made Simple France CMS Made Simple Hungary CMS Made Simple Russia CMS Made Simple Netherlands

All times are UTC




Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: FrontEndUsers errormessage with php 7.2
PostPosted: Tue Nov 13, 2018 7:39 am 
Offline
Forum Members
Forum Members

Joined: Wed Oct 22, 2014 7:04 pm
Posts: 43
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


Top
  Profile  
 
Share On:
Share on Facebook Share on Twitter Share on Google+
 Post subject: Re: FrontEndUsers errormessage with php 7.2
PostPosted: Tue Nov 13, 2018 4:01 pm 
Online
Dev Team Member
Dev Team Member
User avatar

Joined: Wed Feb 25, 2009 4:25 am
Posts: 501
Location: Victoria, BC
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.

_________________
Not getting the answer you need? CMSMS support options


Top
  Profile  
 
Share On:
Share on Facebook Share on Twitter Share on Google+
 Post subject: Re: FrontEndUsers errormessage with php 7.2
PostPosted: Wed Nov 14, 2018 6:41 am 
Offline
Forum Members
Forum Members

Joined: Wed Oct 22, 2014 7:04 pm
Posts: 43
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


Top
  Profile  
 
Share On:
Share on Facebook Share on Twitter Share on Google+
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Hosting Nation - Managed CMSMS Hosting