Discussion:
Notice: Trying to get property of non-object in nav-menu.php on line 597
BenderisGreat
11 years ago
Permalink
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.
Tom Barrett
11 years ago
Permalink
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
...
Sathish Nagarajan
11 years ago
Permalink
Can you line 15 "$matches[1]]" and then update permalinks in your admin
...
--
Regards
Sathish.N
www.snr-technologies.com
-----------------------------------------------------------
Loading...