Title: Elementor PHP Fatal Error
Last modified: October 23, 2024

---

# Elementor PHP Fatal Error

 *  Resolved [invokers](https://wordpress.org/support/users/invokers/)
 * (@invokers)
 * [1 year, 7 months ago](https://wordpress.org/support/topic/elementor-php-fatal-error/)
 * PHP Fatal error: Uncaught FluentBooking\Framework\Database\Orm\ModelNotFoundException:
   No query results for model [FluentBooking\App\Models\CalendarSlot] 3 in
   vendor/
   wpfluent/framework/src/WPFluent/Database/Orm/Builder.php:448To reproduce this
   error first add the Elementor Calander widget on any page.If you delete that 
   Calander while the widget is present on the Elementor page. Editor and Page will
   throw the above error.Of course it will throw an error. Why would you delete 
   a Calander while it’s been used by Elementor page? That’s a Question for Gen 
   Z!

Viewing 1 replies (of 1 total)

 *  Plugin Support [Ruman Ahmed](https://wordpress.org/support/users/algorithmsunlocks/)
 * (@algorithmsunlocks)
 * [1 year, 7 months ago](https://wordpress.org/support/topic/elementor-php-fatal-error/#post-18112532)
 * Hello @invokers,
 * _Thank you for providing the query. _
 * It looks like the error occurs because a Calendar Slot model is being referenced
   by Elementor, but the corresponding calendar has been deleted from FluentBooking.
   This breaks the database query since FluentBooking expects the calendar data 
   to be present when rendering the widget.
 * However, I will consider this as a feature request and pass our development team
   for investigation and potential implementation a “soft delete” or null check 
   in the code for deleted calendar _references_. This would allow the Elementor
   widget to handle missing calendars gracefully instead of throwing a fatal error.
 * _Hopefully, they will take a deeper look into it soon and make improvment in 
   our future updates as well._
 * Best regards!
   Ruman Ahmed

Viewing 1 replies (of 1 total)

The topic ‘Elementor PHP Fatal Error’ is closed to new replies.

 * ![](https://ps.w.org/fluent-booking/assets/icon.svg?rev=3119303)
 * [Fluent Booking - The Ultimate Appointments Scheduling, Events Booking, Events Calendar Solution](https://wordpress.org/plugins/fluent-booking/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/fluent-booking/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/fluent-booking/)
 * [Active Topics](https://wordpress.org/support/plugin/fluent-booking/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/fluent-booking/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/fluent-booking/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Ruman Ahmed](https://wordpress.org/support/users/algorithmsunlocks/)
 * Last activity: [1 year, 7 months ago](https://wordpress.org/support/topic/elementor-php-fatal-error/#post-18112532)
 * Status: resolved