WordPress.org

Ready to get started?Download WordPress

Forums

Query Wrangler
Error when link to query page is placed in menu (1 post)

  1. smd10
    Member
    Posted 1 year ago #

    Hi

    When I place a link to a query page created by query wrangler in the menu on my website I get the following error:

    "Warning: in_array() expects parameter 2 to be array, null given in /home/thinkin2/public_html/example.com/wp-includes/nav-menu-template.php on line 425"

    Line 425 in the above file is:

    in_array( $parent_item->object_id, $queried_object->ancestors ) &&

    Can you give any pointers on how to fix this error? I am using:

    • wordpress 3.5.1
    • Twenty Twelve Theme version 1.1
    • query wrangler 1.5rc8

    http://wordpress.org/extend/plugins/query-wrangler/

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.