how do I fix error when clicking on categories?

I get error when clicking on categories:

Warning: in_array() [function.in-array]: Wrong datatype for second argument in /home/better/public_html/wp-includes/post-template.php on line 1039

  • Vaughan

    hiya

    thanks for posting.

    i'm not sure how you got this error, i can't seem to replicate this myself.

    where exactly do you get this error? could you possibly provide some steps to try & reproduce?

    for example, how you created the categories, are there sub categories? do those categories actually have products assigned to those categories?

    and where are you clicking the category? front-page or in the admin?

    could you also try switching to the default 2012 theme and see if you still get the error?

    I have also seen some conflicts lately between NextGen gallery & marketpress, are you using nextgen? if so, try disabling it and see if that works?

    though there was an update to nextgen yesterday which may have fixed that issue.

    hope this helps.

  • Terry

    where exactly do you get this error? could you possibly provide some steps to try & reproduce?

    for example, how you created the categories, are there sub categories?
    No sub-categories.

    do those categories actually have products assigned to those categories?YES

    and where are you clicking the category? front-page or in the admin?
    http://betterflag.com/store
    bottom of that page under categories.
    ---------------
    also on bottom of pages under categories:
    http://betterflag.com/store/products/polyester-2-american-flags-polyester

    could you also try switching to the default 2012 theme and see if you still get the error?
    I did try to change to 2012 theme, same errors.

    I have also seen some conflicts lately between NextGen gallery & marketpress, are you using nextgen?
    No, not using.
    if so, try disabling it and see if that works?

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.