WordPress.org

Forums

Advanced Sidebar Menu
[resolved] Notice: message, which I have fixed (4 posts)

  1. Geansai
    Member
    Posted 1 year ago #

    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/

  2. Mat Lipe
    Member
    Plugin Author

    Posted 1 year ago #

    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.

  3. Geansai
    Member
    Posted 1 year ago #

    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 :)

  4. Mat Lipe
    Member
    Plugin Author

    Posted 1 year ago #

    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

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Advanced Sidebar Menu
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

Tags

No tags yet.