Fatal error: Uncaught TypeError: Argument 1 passed to LoveCycle\Services\BookingTimeframe::isBookingAllowed() must be an instance of DateTime, null given, called in /var/www/vhosts/love-cycle.com/httpdocs/engine/Shopware/Plugins/Local/Frontend/LoveCycleBooking/Controllers/Frontend/Sessions.php on line 65 and defined in /var/www/vhosts/love-cycle.com/httpdocs/engine/Shopware/Plugins/Local/Frontend/LoveCycleBooking/Services/BookingTimeframe.php:26
Stack trace:
#0 /var/www/vhosts/love-cycle.com/httpdocs/engine/Shopware/Plugins/Local/Frontend/LoveCycleBooking/Controllers/Frontend/Sessions.php(65): LoveCycle\Services\BookingTimeframe->isBookingAllowed(NULL)
#1 /var/www/vhosts/love-cycle.com/httpdocs/engine/Library/Enlight/Controller/Action.php(192): Shopware_Controllers_Frontend_Sessions->bookingAction()
#2 /var/www/vhosts/love-cycle.com/httpdocs/engine/Library/Enlight/Controller/Dispatcher/Default.php(478): Enlight_Controller_Action->dispatch('bookingAction')
#3 /var/www/vhosts/love-cycle.com/httpdocs/engine/Library/Enlight/C in /var/www/vhosts/love-cycle.com/httpdocs/engine/Shopware/Plugins/Local/Frontend/LoveCycleBooking/Services/BookingTimeframe.php on line 26