Title: PHP Error
Last modified: September 1, 2017

---

# PHP Error

 *  [saradmancini](https://wordpress.org/support/users/saradmancini/)
 * (@saradmancini)
 * [8 years, 8 months ago](https://wordpress.org/support/topic/php-error-244/)
 * Hi,
    I get the following error in my logfile:
 * > PHP Notice: Trying to get property of non-object in /home3/payacht/public_html/
   > panel/wp-content/plugins/conditional-menus/init.php on line 286
 * How can I fix it?
 * Thanks,
    Sara.

Viewing 5 replies - 1 through 5 (of 5 total)

 *  [ziggazoa](https://wordpress.org/support/users/ziggazoa/)
 * (@ziggazoa)
 * [8 years, 7 months ago](https://wordpress.org/support/topic/php-error-244/#post-9584304)
 * Love the functionality of this plug-in, but I’m getting the same PHP notice. 
   Is there any update on the cause/solution to this problem?
    Thanks, Guy
 *  [Stuart3BR](https://wordpress.org/support/users/stuart3br/)
 * (@stuart3br)
 * [8 years, 4 months ago](https://wordpress.org/support/topic/php-error-244/#post-9844073)
 * Same problem, running WP 4.9.1 and PHP 7 (though also had error in PHP 56. Bad
   that site is regressing after this has worked so well in the past – will it be
   updated please?
    Regards Stuart
 *  [thewhitesky](https://wordpress.org/support/users/thewhitesky/)
 * (@thewhitesky)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/php-error-244/#post-9975525)
 * I’m having the same problem as well. Anyone have any solutions? The plugin hasn’t
   been updated in over 7 months, so I’m not sure they even care anymore.
 *  [webauthor](https://wordpress.org/support/users/webauthor/)
 * (@webauthor)
 * [7 years, 11 months ago](https://wordpress.org/support/topic/php-error-244/#post-10391621)
 * I’m getting this same error. Is this plugin abandoned? Has anyone found a solution?
 * Thanks
 *  [aberbenni](https://wordpress.org/support/users/aberbenni/)
 * (@aberbenni)
 * [7 years, 11 months ago](https://wordpress.org/support/topic/php-error-244/#post-10391775)
 * Same situation for me (WP 4.9.6, PHP 7):
 *     ```
       Notice:  Trying to get property of non-object in /wp-content/plugins/conditional-menus/init.php on line 286
       Stack trace:
        1. {main}() /index.php:0
        2. require() /index.php:17
        3. require_once() /wp-blog-header.php:19
        4. include() /wp-includes/template-loader.php:74
        5. get_footer() /wp-content/themes/Divi/404.php:17
        6. locate_template() /wp-includes/general-template.php:76
        7. load_template() /wp-includes/template.php:647
        8. require_once() /wp-includes/template.php:688
        9. has_nav_menu() /wp-content/themes/Divi/footer.php:14
       10. get_nav_menu_locations() /wp-includes/nav-menu.php:172
       11. get_theme_mod() /wp-includes/nav-menu.php:155
       12. apply_filters() /wp-includes/theme.php:870
       13. WP_Hook->apply_filters() /wp-includes/plugin.php:203
       14. Themify_Conditional_Menus->theme_mod_nav_menu_locations() /wp-includes/class-wp-hook.php:286
       15. Themify_Conditional_Menus->check_visibility() /wp-content/plugins/conditional-menus/init.php:97
       ```
   

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘PHP Error’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/conditional-menus.svg)
 * [Conditional Menus](https://wordpress.org/plugins/conditional-menus/)
 * [Support Threads](https://wordpress.org/support/plugin/conditional-menus/)
 * [Active Topics](https://wordpress.org/support/plugin/conditional-menus/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/conditional-menus/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/conditional-menus/reviews/)

## Tags

 * [notice](https://wordpress.org/support/topic-tag/notice/)
 * [php](https://wordpress.org/support/topic-tag/php/)
 * [PHP7](https://wordpress.org/support/topic-tag/php7/)

 * 5 replies
 * 6 participants
 * Last reply from: [aberbenni](https://wordpress.org/support/users/aberbenni/)
 * Last activity: [7 years, 11 months ago](https://wordpress.org/support/topic/php-error-244/#post-10391775)
 * Status: not resolved