[wp-hackers] Notice: Trying to get property of non-object in nav-menu.php on line 597

Tom Barrett tcbarrett at gmail.com
Sat Feb 8 11:37:16 UTC 2014


Is there a reason you are matching the same rewrite twice?

The first one appears to have a square bracket too many.

// Sent by Nexus
On 7 Feb 2014 08:33, "BenderisGreat" <greglancaster71 at gmail.com> wrote:

> I am doing a plain old the_content filter, and instead of returning the
> proper page, I am receiving this error.  Its the exact same code I have
> used
> previously, so I am not sure what the issue is.
>
> The rewrite is for a real state API, maybe some of you have worked with it.
> GOIDX is the name.  I am just rewriting the urls so they look nicer, and
> was
> aiming to auto include the content on page this way.
>
> Here is the error: Notice: Trying to get property of non-object in
> nav-menu.php on line 597
>
> The wordpress title returns a Page Not Found error.  Here is the code in a
> pastebin:
>
> http://pastebin.com/Rzrt69Hj
>
> Any help is greatly appreciated!
>
>
>
> --
> View this message in context:
> http://wordpress-hackers.1065353.n5.nabble.com/Notice-Trying-to-get-property-of-non-object-in-nav-menu-php-on-line-597-tp43314.html
> Sent from the Wordpress Hackers mailing list archive at Nabble.com.
> _______________________________________________
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-hackers
>


More information about the wp-hackers mailing list