• Resolved urka

    (@urka)


    Hi, I am testing the plugin on my stage page that’s why I can not post a link. On the top on each widget I insert I get under the Title the Warning message:

    Warning: count(): Parameter must be an array or an object that implements Countable in /home/.sites/74/site3501189/web/stage99/wp-content/plugins/collapsing-categories/collapscatlist.php on line 508
    In Advanced options it does not change anything if I activate “Show debugging information (shows up as a hidden pre right after the title) or not.

    I have no idea what happens because all other works fine as I add and change in the setting.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi,

    I solved that error by me, changing count($posts) to count((array)$posts)

    in the program file specified in the error.

    by me in the folder /plugins/collapsing-categories/collapscatlist.php.(line 134)

    might be there are other count() sentences in the code have to be changed.

    Hope that helps, by me it works.

    think you have to change count() too in file /home/.sites/74/site3501189/web/stage99/wp-content/plugins/collapsing-categories/collapscatlist.php on line 508

    Plugin Author robfelty

    (@robfelty)

    I have fixed this in version 2.2.0

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Warning: count()… collapscatlist.php on line 508’ is closed to new replies.