- This topic has 5 replies, 3 voices, and was last updated 8 years, 3 months ago by .
Viewing 6 posts - 1 through 6 (of 6 total)
Viewing 6 posts - 1 through 6 (of 6 total)
- You must be logged in to reply to this topic.
WordPress Membership Plugin
Simple Membership Plugin › Forums › Simple Membership Plugin › Warning: count(): Parameter must be an array or an object that implements Counta
Hi,
I get this error when I change the password on the profil form (shortcode [swpm_profile_form])
Warning: count(): Parameter must be an array or an object that implements Countable in /home/buymanag/knowledgecenter/wp-content/plugins/simple-membership/classes/class.swpm-form.php on line 295
Do you know why and how I can fix it ?
Thank’s in advance
That should not happen.
* Does it occur only for a particular user?
* What version of PHP is your server using?
No, I test with several users and it occurs each time.
Version 7.2.5 of PHP
It is a PHP 7.2.x issue. It will be fixed, with the next update.
I have fixed this already in the plugin. The new release (v3.6.8) has the fix for it. Please upgrade when you can.
Thank’s for your help !