• Warning: count(): Parameter must be an array or an object that implements Countable in /home/ayuilinf/public_html/wp-content/plugins/user-specific-content/User-Specific-Content.php on line 373

    The page I need help with: [log in to see the link]

Viewing 6 replies - 1 through 6 (of 6 total)
  • Same here after server update to PHP 7.2
    Is there any solution yet?

    • This reply was modified 5 years, 9 months ago by OttlaK. Reason: check notify box

    Same here….. after switch to PHP 7.2 I get this error…. WP version is 5.1
    Please help, need this plugin and need a solution <:-)
    Thanks!!

    …can someone test this code? It seems to work for me:

    wp-content/plugins/user-specific-content/User-Specific-Content.php – Line 373

    change:
    if (!count($savedusers) > 0 && !count($savedroles) > 0 ){

    to:
    if (!$savedusers > 0 && !$savedroles > 0 ){

    @miss-d – Thank you for the code, it works for me, too!
    It should be implemented in the next plugin update if it has no undesired side effects!
    Thanks!!

    Thank you @miss-d,
    Your code worked for me.

    Thanks for fix. Hope we will get official update soon.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Error in php error log’ is closed to new replies.