Title: call_user_func_array () expects parameter 1 to be a valid callback, no array or
Last modified: May 19, 2018

---

# call_user_func_array () expects parameter 1 to be a valid callback, no array or

 *  [loewenherzl](https://wordpress.org/support/users/loewenherzl/)
 * (@loewenherzl)
 * [8 years ago](https://wordpress.org/support/topic/call_user_func_array-expects-parameter-1-to-be-a-valid-callback-no-array-or/)
 * Hello,
 * I use the plugin for about a year. Until a few weeks ago, it worked perfectly.
   Meanwhile every time I add a new page I get the following error.
 * call_user_func_array () expects parameter 1 to be a valid callback, no array 
   or string given in /homepages/0/d680925801/htdocs/clickandbuilds/WordPress/MyCMS2/
   wp-content/plugins/if-menu/if-menu.php on line 99
 * In recent times, it was enough if I disabled the plugin and reactivated. Today
   I have the problem continually. Disabling and reactivating is not enough. Slowly
   it is annoying. What is this problem?
 * So I can not continue working with this really good plugin. It would be nice 
   if you make sure that this error is corrected permanently.
 * Just for information: I have had no updates for my theme or something similar,
   which has caused similar problems with other users in the past. The error always
   only occurs when I add a new page on my website.
 * Unfortunately I’m thinking about replacing the plugin with another one – unfortunately.
   Can someone help me and make sure that this problem is finally resolved?
 * Thanks in advance!

Viewing 1 replies (of 1 total)

 *  Plugin Author [Andrei](https://wordpress.org/support/users/andreiigna/)
 * (@andreiigna)
 * [8 years ago](https://wordpress.org/support/topic/call_user_func_array-expects-parameter-1-to-be-a-valid-callback-no-array-or/#post-10308834)
 * Hi,
 * Thank you for using the plugin and reporting this problem.
 * This sounds similar with the previous problem on your site, hope we can find 
   a final fix for it. Can you help with a bit more info please
    – is the site language
   different than English? – can you take a screenshot of all visibility rules, 
   like in this image [https://ps.w.org/if-menu/assets/screenshot-2.png](https://ps.w.org/if-menu/assets/screenshot-2.png)
 * Cheers

Viewing 1 replies (of 1 total)

The topic ‘call_user_func_array () expects parameter 1 to be a valid callback, no
array or’ 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/)

 * 1 reply
 * 2 participants
 * Last reply from: [Andrei](https://wordpress.org/support/users/andreiigna/)
 * Last activity: [8 years ago](https://wordpress.org/support/topic/call_user_func_array-expects-parameter-1-to-be-a-valid-callback-no-array-or/#post-10308834)
 * Status: not resolved