• Resolved nikmav

    (@nikmav)


    Hi Guys,

    Great plugin – been using it for a while. I just noticed that there is a Noticed that gets logged constantly that might need a patch?

    [23-Aug-2022 23:33:57 UTC] PHP Notice: Trying to get property ‘bellows_source’ of non-object in /home/*/public_html/wp-content/plugins/bellows-accordion-menu/includes/BellowsWalker.class.php on line 334
    [23-Aug-2022 23:33:57 UTC] PHP Notice: Trying to get property ‘bellows_source’ of non-object in /home/*/public_html/wp-content/plugins/bellows-accordion-menu/includes/BellowsWalker.class.php on line 339
    [23-Aug-2022 23:33:57 UTC] PHP Notice: Trying to get property ‘bellows_source’ of non-object in /home/*/public_html/wp-content/plugins/bellows-accordion-menu/includes/BellowsWalker.class.php on line 342

    Same 3 Notices repeat continously. Any thoughts?

    Cheers

Viewing 1 replies (of 1 total)
  • Plugin Author sevenspark

    (@sevenspark)

    Sorry for the very late reply, I looked into this with the latest version, and the best I can tell from the information available is that wp_nav_menu() may be called at some point without any $args. My best guess would be that something is filtering them incorrectly and returning an empty array, rather than the proper $args object. I think that’s most likely why you’re getting the ‘non-object’ notice, so I’d be looking for any filters (could be in any plugin, theme, custom code) that is filtering the nav menu args object. Best I could tell from reviewing the core wp_nav_menu() code, it shouldn’t be possible to have a non-object there unless there’s a bad filter someplace.

    Hope that helps!

Viewing 1 replies (of 1 total)
  • The topic ‘PHP Notice/Error’ is closed to new replies.