Title: Buggy
Last modified: September 1, 2016

---

# Buggy

 *  Resolved [buddhayogi](https://wordpress.org/support/users/buddhayogi/)
 * (@buddhayogi)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/buggy-74/)
 * After updating to WP 4.6 and updating if-menu I got a error-message at the header
   of my website:
 * Warning: call_user_func() expects parameter 1 to be a valid callback, no array
   or string given in xxx/wp-content/plugins/if-menu/if-menu.php on line 119
 * [https://wordpress.org/plugins/if-menu/](https://wordpress.org/plugins/if-menu/)

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

 *  Thread Starter [buddhayogi](https://wordpress.org/support/users/buddhayogi/)
 * (@buddhayogi)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/buggy-74/#post-7720233)
 * Okay, fixed it:
 * – First, there was a page in my menu set to “if user is admin” when I updated
   WordPress to 4.6.
    – Afterwards I put this page to “no conditional-logic” – At
   last I updated if-menu and the error occured.
 * Workaround:
    Switched Conditional logic for the page on -> Save menu -> and switch
   it off again -> save menu
 *  Plugin Author [Andrei](https://wordpress.org/support/users/andreiigna/)
 * (@andreiigna)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/buggy-74/#post-7722227)
 * Hi
 * Thanks for letting me know about this.
 * This happens as some new dynamic conditions for user roles have been added, and
   they changed some function names. Re-setting the conditions, as you did, fixes
   this. I’ll also make some code changes so this doesn’t happen again.
 *  Thread Starter [buddhayogi](https://wordpress.org/support/users/buddhayogi/)
 * (@buddhayogi)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/buggy-74/#post-8197733)
 * Hello,
    the message still appears when choosing Admin Menu -> Appearance -> Customize.
 * Hope, that helps for finding the bug…

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

The topic ‘Buggy’ is closed to new replies.

 * ![](https://ps.w.org/if-menu/assets/icon-256x256.png?rev=1862232)
 * [If Menu - Visibility control for Menus](https://wordpress.org/plugins/if-menu/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/if-menu/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/if-menu/)
 * [Active Topics](https://wordpress.org/support/plugin/if-menu/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/if-menu/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/if-menu/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [buddhayogi](https://wordpress.org/support/users/buddhayogi/)
 * Last activity: [9 years, 10 months ago](https://wordpress.org/support/topic/buggy-74/#post-8197733)
 * Status: resolved