Warning: count(): Parameter must be an array or an object that implements Counta

Home Forums Gillion Theme Warning: count(): Parameter must be an array or an object that implements Counta

Home Forums Gillion Theme Warning: count(): Parameter must be an array or an object that implements Counta

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
  • SalutfromParis
    Participant

    hello,

     

    concerning: http://www.salutfromparis.com

    on my front page (only desktop, not mobile view) I am receiving this error message:

    <b>Warning</b>: count(): Parameter must be an array or an object that implements Countable in <b>/home/salutfro/public_html/wp-content/themes/gillion/inc/elements/blog-posts-categories.php</b>

     

    I checked online but I don’t know how to fix this. All solutions tell me to change a line in the php file but there is a warning saying that my page has 10 errors and i need to fix them before changing anything as it could break my page.

    can you tell me what I need to do?

    thanks

    Attachments:
    You must be logged in to view attached files.

    Hi @SalutfromParis,

     

    I hope you are well today and thank you for your question.

     

    Are you using Gillion child theme on your website?

     

    Please make sure that you are using below the latest version of the theme.

     


    Please login to access this file

     

    Best regards,
    Shufflehound team

    yay.digital
    Participant

    Hi,

    we encountered this issue as well. The newest version (4.0.2) of the theme & child theme didn’t fix the issue. Since we installed the child theme over a year ago, only the screenshot changed and maybe the style.css, which we changed for our own styling needs.

    The errors read:
    Warning: count(): Parameter must be an array or an object that implements Countable in /Users/joda/code/prosiebensat.1/schlappohr/wordpress/web/app/themes/gillion-child/single.php on line 152
    Warning: count(): Parameter must be an array or an object that implements Countable in /Users/joda/code/prosiebensat.1/schlappohr/wordpress/web/app/themes/gillion-child/single.php on line 169

    The show up on the bottom of posts, right before the post-switch element in the post-tags-container element.

    Cheers

    Joda

Viewing 3 posts - 1 through 3 (of 3 total)

Popular choice

Professional Developers At Your Fingertips!

If you need services beyond standard support, we've got your back!

Services we offer:

Demo setup
Advanced customization
Layout adjustment
Graphic work / visualizations
Custom coding
Full WordPress development and design

Services

What we can offer

  • Demo setup +

    If you'd prefer not to handle the installation yourself or need help getting started, we'll set everything up for you.

  • Layout adjustment +

    We'll help you rearrange sections, adjust spacing, and modify the page structure to fit your needs.

  • Advanced customization +

    More complex styling changes, theme option modifications, and third-party integrations.

  • Custom coding +

    If you need something that's not included in the theme, we can code it for you.

  • Graphic work / visualizations +

    Web design services to create custom sections, pages, and blocks for your theme, plus graphics and visualizations.

  • Full WordPress development and design +

    Full website builds, custom theme development, or plugin creation from scratch.

  • About pricing +

    We'll provide a clear quote based on what you need. No hidden fees.

Professional Developers At Your Fingertips!

Custom Work Form