10/23/2015 at 10:21 am
#351526
Keymaster
@ SnailsFromJupiter
Looking at this post, the update one for the var_dump of $post.
Is that correct and not a copy/paste error? The 404 and known page results are the same… the var_dump for the 404 should be NULL, just like the var_dump for $wp_query->post. They should be the same. I’ve confirmed this on a couple sites, different hosts.
If these var_dumps are correct, that explains why you get the error.
Did you try adding the change that will be included in today’s update? It is fairly close to what you suggested in your last reply.
