Title: PHP Notice/Error
Last modified: August 23, 2022

---

# PHP Notice/Error

 *  Resolved [nikmav](https://wordpress.org/support/users/nikmav/)
 * (@nikmav)
 * [3 years, 9 months ago](https://wordpress.org/support/topic/php-notice-error-12/)
 * 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](https://wordpress.org/support/users/sevenspark/)
 * (@sevenspark)
 * [3 years, 4 months ago](https://wordpress.org/support/topic/php-notice-error-12/#post-16444727)
 * 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.

 * ![](https://ps.w.org/bellows-accordion-menu/assets/icon-256x256.jpg?rev=1521248)
 * [Bellows Accordion Menu](https://wordpress.org/plugins/bellows-accordion-menu/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/bellows-accordion-menu/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/bellows-accordion-menu/)
 * [Active Topics](https://wordpress.org/support/plugin/bellows-accordion-menu/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/bellows-accordion-menu/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/bellows-accordion-menu/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [sevenspark](https://wordpress.org/support/users/sevenspark/)
 * Last activity: [3 years, 4 months ago](https://wordpress.org/support/topic/php-notice-error-12/#post-16444727)
 * Status: resolved