Hello,
When I go to the info page(front end), where it is possible to see opening hours etc. I get blank page that gives the error “System Error (500)”.
In system logs in the admin part I can see that I get this error.
The bug started to appear after I installed the Schedule Special Days extension.
Error: Call to a member function isSameOrAfter () on null
in /var/www/clients/client180/web972/web/extensions/igniterlabs/schedulepro/models/ScheduleOverride.php:180
What can I do?
Error: Call to a member function isSameOrAfter() on null
in /var/www/clients/client180/web972/web/extensions/igniterlabs/schedulepro/models/ScheduleOverride.php:180
Stack trace:
#0 /var/www/clients/client180/web972/web/extensions/igniterlabs/schedulepro/models/ScheduleOverride.php(79): IgniterLabs\SchedulePro\Models\ScheduleOverride->getWorkingRanges()
#1 /var/www/clients/client180/web972/web/extensions/igniterlabs/schedulepro/Extension.php(45): IgniterLabs\SchedulePro\Models\ScheduleOverride::applyOverridesToSchedule()
#2 /var/www/clients/client180/web972/web/vendor/laravel/framework/src/Illuminate/Events/Dispatcher.php(404): IgniterLabs\SchedulePro\Extension->IgniterLabs\SchedulePro\{closure}()
#3 /var/www/clients/client180/web972/web/vendor/laravel/framework/src/Illuminate/Events/Dispatcher.php(249): Illuminate\Events\Dispatcher->Illuminate\Events\{closure}()
#4 /var/www/clients/client180/web972/web/vendor/tastyigniter/flame/src/Events/Dispatcher.php(17): Illuminate\Events\Dispatcher->dispatch()
#5 /var/www/clients/client180/web972/web/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php(261): Igniter\Flame\Events\Dispatcher->fire()
#6 /var/www/clients/client180/web972/web/app/admin/traits/HasWorkingHours.php(112): Illuminate\Support\Facades\Facade::__callStatic()
#7 /var/www/clients/client180/web972/web/extensions/igniter/local/components/LocalList.php(224): Admin\Models\Locations_model->newWorkingSchedule()
#8 /var/www/clients/client180/web972/web/extensions/igniter/local/components/LocalList.php(203): Igniter\Local\Components\LocalList->createLocationObject()
#9 [internal function]: Igniter\Local\Components\LocalList->Igniter\Local\Components\{closure}()
#10 /var/www/clients/client180/web972/web/vendor/laravel/framework/src/Illuminate/Collections/Collection.php(695): array_map()
#11 /var/www/clients/client180/web972/web/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Collection.php(350): Illuminate\Support\Collection->map()
#12 /var/www/clients/client180/web972/web/extensions/igniter/local/components/LocalList.php(204): Illuminate\Database\Eloquent\Collection->map()
#13 /var/www/clients/client180/web972/web/extensions/igniter/local/components/LocalList.php(105): Igniter\Local\Components\LocalList->mapIntoObjects()
#14 /var/www/clients/client180/web972/web/extensions/igniter/local/components/LocalList.php(60): Igniter\Local\Components\LocalList->loadList()
#15 /var/www/clients/client180/web972/web/app/main/template/concerns/HasComponents.php(102): Igniter\Local\Components\LocalList->onRun()
#16 /var/www/clients/client180/web972/web/app/main/classes/MainController.php(316): Main\Template\Model->runComponents()
#17 /var/www/clients/client180/web972/web/app/main/classes/MainController.php(265): Main\Classes\MainController->execPageCycle()
#18 /var/www/clients/client180/web972/web/app/main/classes/MainController.php(201): Main\Classes\MainController->runPage()
#19 /var/www/clients/client180/web972/web/app/system/classes/Controller.php(97): Main\Classes\MainController->remap()
#20 /var/www/clients/client180/web972/web/vendor/laravel/framework/src/Illuminate/Routing/Controller.php(54): System\Classes\Controller->run()
#21 /var/www/clients/client180/web972/web/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php(45): Illuminate\Routing\Controller->callAction()
#22 /var/www/clients/client180/web972/web/vendor/laravel/framework/src/Illuminate/Routing/Route.php(262): Illuminate\Routing\ControllerDispatcher->dispatch()
#23 /var/www/clients/client180/web972/web/vendor/laravel/framework/src/Illuminate/Routing/Route.php(205): Illuminate\Routing\Route->runController()
#24 /var/www/clients/client180/web972/web/vendor/laravel/framework/src/Illuminate/Routing/Router.php(721): Illuminate\Routing\Route->run()
#25 /var/www/clients/client180/web972/web/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(128): Illuminate\Routing\Router->Illuminate\Routing\{closure}()
#26 /var/www/clients/client180/web972/web/extensions/igniter/user/middleware/ThrottleRequests.php(20): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
#27 /var/www/clients/client180/web972/web/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167): Igniter\User\Middleware\ThrottleRequests->handle()
#28 /var/www/clients/client180/web972/web/vendor/tastyigniter/flame/src/Translation/Middleware/Localization.php(27): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
#29 /var/www/clients/client180/web972/web/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167): Igniter\Flame\Translation\Middleware\Localization->handle()
#30 /var/www/clients/client180/web972/web/vendor/laravel/framework/src/Illuminate/Routing/Middleware/SubstituteBindings.php(50): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
#31 /var/www/clients/client180/web972/web/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167): Illuminate\Routing\Middleware\SubstituteBindings->handle()
#32 /var/www/clients/client180/web972/web/vendor/laravel/framework/src/Illuminate/View/Middleware/ShareErrorsFromSession.php(49): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
#33 /var/www/clients/client180/web972/web/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167): Illuminate\View\Middleware\ShareErrorsFromSession->handle()
#34 /var/www/clients/client180/web972/web/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php(121): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
#35 /var/www/clients/client180/web972/web/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php(64): Illuminate\Session\Middleware\StartSession->handleStatefulRequest()
#36 /var/www/clients/client180/web972/web/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167): Illuminate\Session\Middleware\StartSession->handle()
#37 /var/www/clients/client180/web972/web/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/AddQueuedCookiesToResponse.php(37): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
#38 /var/www/clients/client180/web972/web/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167): Illuminate\Cookie\Middleware\AddQueuedCookiesToResponse->handle()
#39 /var/www/clients/client180/web972/web/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/EncryptCookies.php(67): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
#40 /var/www/clients/client180/web972/web/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167): Illuminate\Cookie\Middleware\EncryptCookies->handle()
#41 /var/www/clients/client180/web972/web/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(103): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
#42 /var/www/clients/client180/web972/web/vendor/laravel/framework/src/Illuminate/Routing/Router.php(723): Illuminate\Pipeline\Pipeline->then()
#43 /var/www/clients/client180/web972/web/vendor/laravel/framework/src/Illuminate/Routing/Router.php(698): Illuminate\Routing\Router->runRouteWithinStack()
#44 /var/www/clients/client180/web972/web/vendor/laravel/framework/src/Illuminate/Routing/Router.php(662): Illuminate\Routing\Router->runRoute()
#45 /var/www/clients/client180/web972/web/vendor/tastyigniter/flame/src/Router/CoreRouter.php(22): Illuminate\Routing\Router->dispatchToRoute()
#46 /var/www/clients/client180/web972/web/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(167): Igniter\Flame\Router\CoreRouter->dispatch()
#47 /var/www/clients/client180/web972/web/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(128): Illuminate\Foundation\Http\Kernel->Illuminate\Foundation\Http\{closure}()
#48 /var/www/clients/client180/web972/web/vendor/tastyigniter/flame/src/Setting/Middleware/SaveSetting.php(27): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
#49 /var/www/clients/client180/web972/web/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167): Igniter\Flame\Setting\Middleware\SaveSetting->handle()
#50 /var/www/clients/client180/web972/web/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
#51 /var/www/clients/client180/web972/web/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php(40): Illuminate\Foundation\Http\Middleware\TransformsRequest->handle()
#52 /var/www/clients/client180/web972/web/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167): Illuminate\Foundation\Http\Middleware\TrimStrings->handle()
#53 /var/www/clients/client180/web972/web/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ValidatePostSize.php(27): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
#54 /var/www/clients/client180/web972/web/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167): Illuminate\Foundation\Http\Middleware\ValidatePostSize->handle()
#55 /var/www/clients/client180/web972/web/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php(86): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
#56 /var/www/clients/client180/web972/web/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167): Illuminate\Foundation\Http\Middleware\PreventRequestsDuringMaintenance->handle()
#57 /var/www/clients/client180/web972/web/vendor/fruitcake/laravel-cors/src/HandleCors.php(38): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
#58 /var/www/clients/client180/web972/web/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167): Fruitcake\Cors\HandleCors->handle()
#59 /var/www/clients/client180/web972/web/vendor/fideloper/proxy/src/TrustProxies.php(57): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
#60 /var/www/clients/client180/web972/web/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167): Fideloper\Proxy\TrustProxies->handle()
#61 /var/www/clients/client180/web972/web/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(103): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
#62 /var/www/clients/client180/web972/web/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(142): Illuminate\Pipeline\Pipeline->then()
#63 /var/www/clients/client180/web972/web/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(111): Illuminate\Foundation\Http\Kernel->sendRequestThroughRouter()
#64 /var/www/clients/client180/web972/web/index.php(53): Illuminate\Foundation\Http\Kernel->handle()
#65 {main}