Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #9790
    babyslime
    Member

    I updated the theme and now every single page I visit in my wordpress site has the following visible in the header, “Warning: in_array() [function.in-array]: Wrong datatype for second argument in mysite_address/wp-content/themes/simple-catch/functions/simplecatch_functions.php on line 714

    Line 714 in that file reads, “if ( !in_array( ‘0’, $cats ) ) {”
    I in no way wrote that, nor do I have the slightest idea what it means. Can someone help me out here?

    #9808
    Sakin
    Keymaster

    @babyslime: Strange error. Can you go to “Appearance => Theme Options => Homepage / Frontpage category setting” Then select all the categories and save it. Then you can click on disable and save back. Check in both condition.

    #9811
    babyslime
    Member

    I have no categories, so I just selected, “Uncategorized” and saved it. That seemed to get rid of it because I’m no longer seeing the error message! Thanks!

Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘Updated and have a "wrong datatype" error’ is closed to new replies.