• Resolved r1weedee

    (@r1weedee)


    Hi, thank you for a great plugin,

    when i set post offset with ‘1’ :

    its function as i expected

    but there is warning alert on frontend that say :

    Warning: count(): Parameter must be an array or an object that implements Countable in ../wp-includes/formatting.php on line 3361

    could you give me lead about this?

    • This topic was modified 3 years, 3 months ago by r1weedee. Reason: formatting
    • This topic was modified 3 years, 3 months ago by r1weedee. Reason: formatting
    • This topic was modified 3 years, 3 months ago by r1weedee.
    • This topic was modified 3 years, 3 months ago by r1weedee. Reason: paraphrase
Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Kybernetik Services

    (@kybernetikservices)

    Hello @r1weedee.
    Thank you for reaching out.
    I’ve tested it and can not reproduce the warning. Where do you get it? In the back end or the front end?

    Thread Starter r1weedee

    (@r1weedee)

    the warning occur in the frontend, i am using wordpress 5.8.2 and medicenter theme on XAMPP PHP 7.3.30 for OSX

    • This reply was modified 3 years, 3 months ago by r1weedee. Reason: formatting
    Plugin Author Kybernetik Services

    (@kybernetikservices)

    Because I can not reproduce the warning, please switch to a standard theme like Twenty Twenty One and test it again. Also disable third party plugins to check if there is a conflict.
    Beside this, it is just a warning. Nothing which breaks the functionality of the plugin.

    Thread Starter r1weedee

    (@r1weedee)

    `i’ve switch to twenty twenty one theme, also disable third party plugins, the warning still there,

    little bit db inspection then i found posts that have menu_order value cause this, i set menu_order to ‘0’ for some category (list option category filter) and the warning gone

    but some category still show warning (eventhough menu_order already 0), so there is something else that causing this

    • This reply was modified 3 years, 3 months ago by r1weedee. Reason: add info
    Thread Starter r1weedee

    (@r1weedee)

    i found other thing that cause the warning, its <img> tag without closing inside some post

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘set post offset parameter give warning alert’ is closed to new replies.