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 effect
The 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.
- The topic ‘Notice: message, which I have fixed’ is closed to new replies.