Getting a huge list of the same error ‘Warning: count(): Parameter must be an array or an object…’

  • Unknown's avatar

    Hi! For a while I’ve seen this error on my main page and apparently it has been growing to a huge size. I have no understanding of coding so I’m hoping someone would be patient enough to help me resolve the issue. My site is http://www.stefansolakov.com

    The site is bilingual and on the Bulgarian version the list is huge.

    So, how do I fix this?

    Thanks a lot in advance for your help.

    The blog I need help with is: (visible only to logged in users)

  • Unknown's avatar

    PS

    It is Not bdsm.bg that I need help with. The last sentence has been added automatically.

  • Unknown's avatar

    The error is at “wp-content/plugins/nextgen-gallery/products/photocrati_nextgen/modules/fs/package.module.fs.php on line 263”

    I downloaded the file and looked at the line 263 but it seems to be structured exactly the same as the previous one:

    262 $one = FALSE === $one ? 0 : count($one) + 1;
    263 $two = FALSE === $two ? 0 : count($two) + 1;

    I also get another error when I try to log into the WP admin panel:

    Warning: Cannot modify header information – headers already sent by (output started at /home/stefanso/public_html/wp-content/plugins/nextgen-gallery/products/photocrati_nextgen/modules/fs/package.module.fs.php:263) in /home/stefanso/public_html/wp-login.php on line 390

    Warning: Cannot modify header information – headers already sent by (output started at /home/stefanso/public_html/wp-content/plugins/nextgen-gallery/products/photocrati_nextgen/modules/fs/package.module.fs.php:263) in /home/stefanso/public_html/wp-login.php on line 403

    I sincerely hope that you can help me with this issue.

  • Unknown's avatar

    I believe I temporarily fixed it by switching back to PHP 7.0 from 7.2.

  • Unknown's avatar

    Hey there,

    This looks to be an error associated with a plugin called NextGEN-Gallery, it may be worth contacting the plugin developer directly to sort out the issue. Here is a link to Imagely’s website: https://www.imagely.com/.

    For future reference though, this website is a self-hosted WordPress.org site rather than WordPress.com.

    This forum is designed to help clients hosted by WordPress.com. For more information on the difference between the two please check out this link: https://en.support.wordpress.com/com-vs-org.

    If you are in need of any further support for your self-hosted website you may be able to find an answer on the WordPress.org support page at the link provided: https://wordpress.org/support/ or as an alternative you may want to contact your hosting provider.

    Hopefully this helps!

    Cheers

  • The topic ‘Getting a huge list of the same error ‘Warning: count(): Parameter must be an array or an object…’’ is closed to new replies.