WordPress.org

Support

Support » Plugins and Hacks » Advanced Sidebar Menu » [Resolved] Notice: message, which I have fixed

[Resolved] 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 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.

    Regards,
    G

    http://wordpress.org/plugins/advanced-sidebar-menu/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Mat Lipe

    @mat-lipe

    Hi Geansai,

    Thanks for the info.

    What version of WordPress are you using?
    What version of PHP are you using?

    I will do some research to make sure everything is solid for current/future versions and implement a fix.

    I’m using PHP 5.3.10-1, should really upgrade hehehehe.
    Also I’m using WP 3.6 RC 2 beta as I’m getting ready for the release date 🙂 Thanks and great little plugin 🙂

    Plugin Author Mat Lipe

    @mat-lipe

    Thanks Geansai,

    I have fix the Notice level error you mentioned plus a couple of other ones.

    Version 4.3.5 should be available any moment with these fixes included

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Resolved] Notice: message, which I have fixed’ is closed to new replies.
Skip to toolbar