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

    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

    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.

    I’m getting this same error. Is this plugin abandoned? Has anyone found a solution?

    Thanks

    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.