• Resolved ditad

    (@ditad)


    I get the following PHP warning: count(): Parameter must be an array or an object that implements Countable in (…)/multi-column-tag-map/mctagmap_functions.php on line 851.

    Line 851: $sum += count($tag);

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author tugbucket

    (@tugbucket)

    Looks like it’s a PHP 7.2.x issue.

    If you can edit those lines to the following and let me know if it fixes it and still renders correctly, I’ll make the edit to the plugin in.

    foreach($tags as $tag){
    	$sum += count($tag);
    }

    to:

    //foreach($tags as $tag){
    	$sum += count($tags);
    //}
    • This reply was modified 6 years, 7 months ago by tugbucket.
    Thread Starter ditad

    (@ditad)

    Thanks! I believe it works fine!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘PHP error in mctagmap_functions.php’ is closed to new replies.