Title: Plugin causing fatal error on site
Last modified: December 14, 2022

---

# Plugin causing fatal error on site

 *  [spalders](https://wordpress.org/support/users/spalders/)
 * (@spalders)
 * [3 years, 5 months ago](https://wordpress.org/support/topic/plugin-causing-fatal-error-on-site/)
 * Hi – I have this error message on our site, causing it to crash completely
 * [2022-12-14T17:12:31.506371+00:00] PHP Fatal error: Uncaught TypeError: call_user_func_array():
   Argument #1 ($callback) must be a valid callback, no array or string given in/
   nas/content/live/onehe/wp-content/plugins/if-menu/if-menu.php:110
 * We’ve been using the plugin with no issues until now!

Viewing 1 replies (of 1 total)

 *  Thread Starter [spalders](https://wordpress.org/support/users/spalders/)
 * (@spalders)
 * [3 years, 5 months ago](https://wordpress.org/support/topic/plugin-causing-fatal-error-on-site/#post-16290022)
 * I fixed it. The fatal error was caused by a menu item having a ‘visible only’
   to a membership I had deleted.

Viewing 1 replies (of 1 total)

The topic ‘Plugin causing fatal error on site’ 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
 * 1 participant
 * Last reply from: [spalders](https://wordpress.org/support/users/spalders/)
 * Last activity: [3 years, 5 months ago](https://wordpress.org/support/topic/plugin-causing-fatal-error-on-site/#post-16290022)
 * Status: not resolved