Count error

  • Anonymous

    #49561

    I’m getting this error with Graphene loaded, if I switch to 2017 the error goes away. I deactivated all other plugins.

    count(): Parameter must be an array or an object that implements Countable
    Type: PHP Warning
    Line: 284
    File: /wp-includes/post-template.php

    Admin

    Syahir Hakim

    #49567

    Is there any specific page where this error is triggered?

    Anonymous

    #49568

    Getting it on single pages, so, static front page, single post pages etc.

    Admin

    Syahir Hakim

    #49572

    Can you tell me which PHP version is running for your site?

    Anonymous

    #49576

    7.2.5

    Admin

    Syahir Hakim

    #49581

    Thanks for that. We’ve identified the issue and will include the fix in the next update.

    Anonymous

    #49586

    That’s great. Is there also a problem with menus in 7.2.5? I’m also getting a number of menu related errors – undefined index: 2, and undefined index: 1, they seem to be related to menu functions but not giving up many clues as to where these errors are coming from.

    Admin

    Syahir Hakim

    #49591

    I’m not seeing any error related to the menu when tested on PHP 7.2.5. Are you using a custom menu or the default menu?

    Anonymous

    #49598

    It’s a bit odd, those errors have gone now, no idea why unless they were fixed in an update. I am however getting this other error (last one I promise!):

    Missing Dependencies graphene-responsive
    wp-content/themes/graphene/responsive.css

    bootstrap
    font-awesome
    graphene

    2.4.2

    I was wondering if a plugin was somehow causing this but if I deactivate all plugins the error persists. Graphene itself seems to be working fine.

    Admin

    Syahir Hakim

    #49603

    Where did you get this error? Are you using a child theme?

Viewing 10 posts - 1 through 10 (of 15 total)

  • 1
  • 2
  • You must be logged in to reply to this topic.