Title: error message with new version 0.6
Last modified: September 1, 2016

---

# error message with new version 0.6

 *  [olidell2013](https://wordpress.org/support/users/olidell2013/)
 * (@olidell2013)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/error-message-with-new-version-06/)
 * with the last update of the plugin if menu ( v 0.6), I cannot see my personal
   admin menu bar due to an error :
    Warning: call_user_func() expects parameter
   1 to be a valid callback, no array or string given in /home/talent/public_html/
   wp-content/plugins/if-menu/if-menu.php on line 119
 * worked perfectly in the previous version 0.5
 * pb can only be seen if log on
 * [https://wordpress.org/plugins/if-menu/](https://wordpress.org/plugins/if-menu/)

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

 *  [tajenli](https://wordpress.org/support/users/tajenli/)
 * (@tajenli)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/error-message-with-new-version-06/#post-7712840)
 * I got same warning.
 * Warning: call_user_func() expects parameter 1 to be a valid callback, no array
   or string given in …/wp-content/plugins/if-menu/if-menu.php
 *  Plugin Author [Andrei](https://wordpress.org/support/users/andreiigna/)
 * (@andreiigna)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/error-message-with-new-version-06/#post-7712873)
 * Hi,
 * Thank you for letting me know about this.
 * Can you post here what conditions are you using for menu items please? That would
   help to reproduce the issue on my site and see where the error happens
 *  Plugin Author [Andrei](https://wordpress.org/support/users/andreiigna/)
 * (@andreiigna)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/error-message-with-new-version-06/#post-7712912)
 * Looks like there’s an issue when using translation plugins, and there’s some 
   incompatible code in this plugin. I’m working on a fix for this
 *  [tajenli](https://wordpress.org/support/users/tajenli/)
 * (@tajenli)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/error-message-with-new-version-06/#post-7712918)
 * Thank you so much!
 * Let us know if you need more info. The error happened when I update the plugin
   to 0.6. It works fine before that.
 *  Plugin Author [Andrei](https://wordpress.org/support/users/andreiigna/)
 * (@andreiigna)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/error-message-with-new-version-06/#post-7722238)
 * Hi,
 * Sorry about the inconvenience.
 * This happens as some new dynamic conditions for user roles have been added, and
   they changed some function names. Re-setting the conditions fixes this:
    - Disable conditions for menu items that have user roles
    - Enable conditions
 * I’ll also make some code changes so this doesn’t happen again.
 *  [bluantinoo](https://wordpress.org/support/users/bluantinoo/)
 * (@bluantinoo)
 * [9 years, 1 month ago](https://wordpress.org/support/topic/error-message-with-new-version-06/#post-9108991)
 * Hello Andrei,
    I’m having the same issue, using a custom condition, but I’m referencing
   to any user role and I did not edit anything that is used in the custom condition.
 * The menu item is correctly shown onthe condition, but I get this php advice.
 * NOTE: I’m using WPML, WPML Translation Management and WPML String Translation,
   but this is happening on main language menu and i did not yet translated it.

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

The topic ‘error message with new version 0.6’ 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/)

 * 6 replies
 * 4 participants
 * Last reply from: [bluantinoo](https://wordpress.org/support/users/bluantinoo/)
 * Last activity: [9 years, 1 month ago](https://wordpress.org/support/topic/error-message-with-new-version-06/#post-9108991)
 * Status: not resolved