Title: Fatal error when setting button rules
Last modified: February 28, 2025

---

# Fatal error when setting button rules

 *  Resolved [shelfgamer](https://wordpress.org/support/users/shelfgamer/)
 * (@shelfgamer)
 * [1 year, 3 months ago](https://wordpress.org/support/topic/fatal-error-when-setting-button-rules/)
 * While setting button rules, the plugin crashed and put my site into Recovery 
   Mode. I couldn’t resume the plugin until I went into the database and deleted
   some post meta data for the button. That got it working again.
 * Fatal error occurred while setting rules, adding “AND” boolean operator to the
   existing rule but without adding a second condition for the rule.
 * `An error of type E_ERROR was caused in line 789 of the file /home/sheleuhd/public_html/
   wp-content/plugins/floating-awesome-button-premium/src/Helper/FAB/FABItem.php.
   Error message: Uncaught TypeError: Fab\Helper\FABItem::isToBeDisplayed(): Return
   value must be of type bool, array returned in /home/sheleuhd/public_html/wp-content/
   plugins/floating-awesome-button-premium/src/Helper/FAB/FABItem.php:789
   Stack 
   trace:#0 /home/sheleuhd/public_html/wp-content/plugins/floating-awesome-button-
   premium/src/Model/Fab.php(184): Fab\Helper\FABItem->isToBeDisplayed()#1 /home/
   sheleuhd/public_html/wp-content/plugins/floating-awesome-button-premium/src/Controller/
   Frontend/Frontend.php(223): Fab\Model\Fab->get_lists_of_fab()#2 /home/sheleuhd/
   public_html/wp-includes/class-wp-hook.php(322): Fab\Controller\Frontend->fab_register_widget()#
   3 /home/sheleuhd/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()#
   4 /home/sheleuhd/public_html/wp-includes/plugin.php(517): WP_Hook->do_action()#
   5 /home/sheleuhd/public_html/wp-includes/widgets.php(1870): do_action()#6 /home/
   sheleuhd/public_html/wp-includes/class-wp-hook.php(324): wp_widgets_init()#7 /
   home/sheleuhd/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()#
   8 /home/sheleuhd/public_html/wp-includes/plugin.php(517): WP_Hook->do_action()#
   9 /home/sheleuhd/public_html/wp-settings.php(704): do_action()#10 /home/sheleuhd/
   public_html/wp-config.php(112): require_once('/home/sheleuhd/...')#11 /home/sheleuhd/
   public_html/wp-load.php(50): require_once('/home/sheleuhd/...')#12 /home/sheleuhd/
   public_html/wp-admin/admin.php(34): require_once('/home/sheleuhd/...')#13 /home/
   sheleuhd/public_html/wp-admin/post.php(12): require_once('/home/sheleuhd/...')#
   14 {main}  thrown

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

 *  Plugin Support [wpkina](https://wordpress.org/support/users/wpkina/)
 * (@wpkina)
 * [1 year, 3 months ago](https://wordpress.org/support/topic/fatal-error-when-setting-button-rules/#post-18337623)
 * Hi [@shelfgamer](https://wordpress.org/support/users/shelfgamer/), 
   Sorry for
   the late response, and thank you for your patience! 😊
 * We appreciate your time and effort in bringing this to our attention. Our team
   has noted the issue, and we will address it in a future update.
 * If you have any further questions or encounter any other issues, please don’t
   hesitate to reach out. We’re always working to improve the user experience.
 * Thanks for your support! 🚀
 *  [direktorobi](https://wordpress.org/support/users/direktorobi/)
 * (@direktorobi)
 * [1 year, 3 months ago](https://wordpress.org/support/topic/fatal-error-when-setting-button-rules/#post-18344572)
 * [@shelfgamer](https://wordpress.org/support/users/shelfgamer/) My site does the
   exact same thing as well! I can’t Activate the plugin without the whole site 
   getting a 503 Error.
 *  Thread Starter [shelfgamer](https://wordpress.org/support/users/shelfgamer/)
 * (@shelfgamer)
 * [1 year, 3 months ago](https://wordpress.org/support/topic/fatal-error-when-setting-button-rules/#post-18350009)
 * This appears fixed with version 1.11.1. Thanks!

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

The topic ‘Fatal error when setting button rules’ is closed to new replies.

 * ![](https://ps.w.org/floating-awesome-button/assets/icon-256x256.gif?rev=3271119)
 * [Floating Awesome Button (Sticky Button, Popup, Toast) & 200+ Website Custom Interactive Element](https://wordpress.org/plugins/floating-awesome-button/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/floating-awesome-button/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/floating-awesome-button/)
 * [Active Topics](https://wordpress.org/support/plugin/floating-awesome-button/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/floating-awesome-button/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/floating-awesome-button/reviews/)

 * 3 replies
 * 3 participants
 * Last reply from: [shelfgamer](https://wordpress.org/support/users/shelfgamer/)
 * Last activity: [1 year, 3 months ago](https://wordpress.org/support/topic/fatal-error-when-setting-button-rules/#post-18350009)
 * Status: resolved