Notice: message, which I have fixed
-
Hi,
Just been looking into your plugin and after installing it, when I use it on a page I get this message Notice: Indirect modification of overloaded property WP_Post::$ancestors has no effectThe issue looks to be coming from line 177 ” $top_parent = end( $post->ancestors ); “
I have replaced this with: ” $top_parent = end(get_post_ancestors($post)); ” and all is working, but now no notice message. Just wanted to let you know incase you wanted to add this to your plugin.Regards,
G
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Notice: message, which I have fixed’ is closed to new replies.