Getting an error message on all pages that use Custom Post Types

  • YShahar

    #10251

    Hi,

    I’m suddenly getting a new error message on archive pages that use Custom Post Types. The error is:

    Quote:
    Warning: in_array() expects parameter 2 to be array, null given in

    /home2/cardozoa/public_html/wp-includes/nav-menu-template.php on line 649

    Any idea how to fix this?

    Thanks!

    -Yael

    Mod

    Kenneth John Odle

    #45716

    Apparently you are referencing something in your CPT as a variable that WP expects to be an array, but without seeing the rest of your code, it’s difficult to say.

    Admin

    Syahir Hakim

    #45717

    Does this happen only when using mobile devices? What about the desktop site?

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

You must be logged in to reply to this topic.