sampoyigi This extension allows you to change the regular weekly restaurant schedule for special days in a year. Set a special schedule that differs from the normal schedule, including breaks, local events and holidays. Usage In the admin user interface: Go to Restaurant > Location > Schedules to configure the special days https://tastyigniter.com/marketplace/item/igniterlabs-schedulepro
manortastingroom Hi guys! just purchased and installed on a new install of 3.1.1, looks to bust the reservation page with orange theme. error 500
ryanmitchell manortastingroom Would need a full error trace to be able to reproduce the issue. Can you supply please?
manortastingroom TypeError: Argument 2 passed to Illuminate\Database\Query\Builder::whereBetween() must be of the type array, string given, called in /var/www/html/vendor/laravel/framework/src/Illuminate/Support/Traits/ForwardsCalls.php on line 23 at /var/www/html/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php:1126 at Illuminate\Database\Query\Builder->whereBetween() (/var/www/html/vendor/laravel/framework/src/Illuminate/Support/Traits/ForwardsCalls.php:23) at Illuminate\Database\Eloquent\Builder->forwardCallTo() (/var/www/html/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Builder.php:1644) at Illuminate\Database\Eloquent\Builder->__call() (/var/www/html/vendor/laravel/framework/src/Illuminate/Support/Traits/ForwardsCalls.php:23) at Illuminate\Database\Eloquent\Model->forwardCallTo() (/var/www/html/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Model.php:2109) at Illuminate\Database\Eloquent\Model->__call() (/var/www/html/vendor/tastyigniter/flame/src/Traits/ExtendableTrait.php:465) at Igniter\Flame\Database\Model->extendableCall() (/var/www/html/vendor/tastyigniter/flame/src/Database/Model.php:432) at Igniter\Flame\Database\Model->__call() (/var/www/html/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Model.php:2121) at Illuminate\Database\Eloquent\Model::__callStatic() (/var/www/html/extensions/igniterlabs/schedulepro/models/ScheduleOverride.php:108) at IgniterLabs\SchedulePro\Models\ScheduleOverride::getExceptions() (/var/www/html/extensions/igniterlabs/schedulepro/models/ScheduleOverride.php:68) at IgniterLabs\SchedulePro\Models\ScheduleOverride::listExceptions() (/var/www/html/extensions/igniterlabs/schedulepro/Extension.php:45) at IgniterLabs\SchedulePro\Extension->IgniterLabs\SchedulePro\{closure}() (/var/www/html/vendor/laravel/framework/src/Illuminate/Events/Dispatcher.php:404) at Illuminate\Events\Dispatcher->Illuminate\Events\{closure}() (/var/www/html/vendor/laravel/framework/src/Illuminate/Events/Dispatcher.php:249) at Illuminate\Events\Dispatcher->dispatch() (/var/www/html/vendor/tastyigniter/flame/src/Events/Dispatcher.php:17) at Igniter\Flame\Events\Dispatcher->fire() (/var/www/html/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php:261) at Illuminate\Support\Facades\Facade::__callStatic() (/var/www/html/app/admin/traits/HasWorkingHours.php:128) at Admin\Models\Locations_model->newWorkingSchedule() (/var/www/html/extensions/igniter/reservation/classes/BookingManager.php:145) at Igniter\Reservation\Classes\BookingManager->getSchedule() (/var/www/html/extensions/igniter/reservation/components/Booking.php:306) at Igniter\Reservation\Components\Booking->processPickerForm() (/var/www/html/extensions/igniter/reservation/components/Booking.php:123) at Igniter\Reservation\Components\Booking->initialize() (/var/www/html/app/main/classes/MainController.php:743) at Main\Classes\MainController->addComponent() (/var/www/html/app/main/classes/MainController.php:571) at Main\Classes\MainController->initializeComponents() (/var/www/html/app/main/classes/MainController.php:244) at Main\Classes\MainController->runPage() (/var/www/html/app/main/classes/MainController.php:201) at Main\Classes\MainController->remap() (/var/www/html/app/system/classes/Controller.php:97) at System\Classes\Controller->run() (/var/www/html/vendor/laravel/framework/src/Illuminate/Routing/Controller.php:54) at Illuminate\Routing\Controller->callAction() (/var/www/html/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php:45) at Illuminate\Routing\ControllerDispatcher->dispatch() (/var/www/html/vendor/laravel/framework/src/Illuminate/Routing/Route.php:262) at Illuminate\Routing\Route->runController() (/var/www/html/vendor/laravel/framework/src/Illuminate/Routing/Route.php:205) at Illuminate\Routing\Route->run() (/var/www/html/vendor/laravel/framework/src/Illuminate/Routing/Router.php:695) at Illuminate\Routing\Router->Illuminate\Routing\{closure}() (/var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:128) at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}() (/var/www/html/extensions/igniter/user/middleware/ThrottleRequests.php:20) at Igniter\User\Middleware\ThrottleRequests->handle() (/var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167) at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}() (/var/www/html/vendor/tastyigniter/flame/src/Translation/Middleware/Localization.php:27) at Igniter\Flame\Translation\Middleware\Localization->handle() (/var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167) at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}() (/var/www/html/vendor/laravel/framework/src/Illuminate/Routing/Middleware/SubstituteBindings.php:50) at Illuminate\Routing\Middleware\SubstituteBindings->handle() (/var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167) at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}() (/var/www/html/vendor/laravel/framework/src/Illuminate/View/Middleware/ShareErrorsFromSession.php:49) at Illuminate\View\Middleware\ShareErrorsFromSession->handle() (/var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167) at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}() (/var/www/html/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php:121) at Illuminate\Session\Middleware\StartSession->handleStatefulRequest() (/var/www/html/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php:64) at Illuminate\Session\Middleware\StartSession->handle() (/var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167) at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}() (/var/www/html/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/AddQueuedCookiesToResponse.php:37) at Illuminate\Cookie\Middleware\AddQueuedCookiesToResponse->handle() (/var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167) at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}() (/var/www/html/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/EncryptCookies.php:67) at Illuminate\Cookie\Middleware\EncryptCookies->handle() (/var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167) at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}() (/var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:103) at Illuminate\Pipeline\Pipeline->then() (/var/www/html/vendor/laravel/framework/src/Illuminate/Routing/Router.php:697) at Illuminate\Routing\Router->runRouteWithinStack() (/var/www/html/vendor/laravel/framework/src/Illuminate/Routing/Router.php:672) at Illuminate\Routing\Router->runRoute() (/var/www/html/vendor/laravel/framework/src/Illuminate/Routing/Router.php:636) at Illuminate\Routing\Router->dispatchToRoute() (/var/www/html/vendor/tastyigniter/flame/src/Router/CoreRouter.php:22) at Igniter\Flame\Router\CoreRouter->dispatch() (/var/www/html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:166) at Illuminate\Foundation\Http\Kernel->Illuminate\Foundation\Http\{closure}() (/var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:128) at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}() (/var/www/html/vendor/tastyigniter/flame/src/Setting/Middleware/SaveSetting.php:27) at Igniter\Flame\Setting\Middleware\SaveSetting->handle() (/var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167) at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}() (/var/www/html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php:21) at Illuminate\Foundation\Http\Middleware\TransformsRequest->handle() (/var/www/html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php:40) at Illuminate\Foundation\Http\Middleware\TrimStrings->handle() (/var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167) at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}() (/var/www/html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ValidatePostSize.php:27) at Illuminate\Foundation\Http\Middleware\ValidatePostSize->handle() (/var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167) at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}() (/var/www/html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php:86) at Illuminate\Foundation\Http\Middleware\PreventRequestsDuringMaintenance->handle() (/var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167) at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}() (/var/www/html/vendor/fruitcake/laravel-cors/src/HandleCors.php:38) at Fruitcake\Cors\HandleCors->handle() (/var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167) at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}() (/var/www/html/vendor/fideloper/proxy/src/TrustProxies.php:57) at Fideloper\Proxy\TrustProxies->handle() (/var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167) at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}() (/var/www/html/extensions/igniter/api/vendor/dingo/api/src/Http/Middleware/Request.php:111) at Dingo\Api\Http\Middleware\Request->handle() (/var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167) at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}() (/var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:103) at Illuminate\Pipeline\Pipeline->then() (/var/www/html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:141) at Illuminate\Foundation\Http\Kernel->sendRequestThroughRouter() (/var/www/html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:110) at Illuminate\Foundation\Http\Kernel->handle() (/var/www/html/index.php:53)
manortastingroom Sweet! side note debug logging looks to be busted on 3.1.1…. but worked around it 🙂
manortastingroom PHP Parse error: syntax error, unexpected ‘|’, expecting variable (T_VARIABLE) in /var/www/html/vendor/psr/log/src/LoggerInterface.php for each of the log types
sampoyigi Tagged v1.0.3: Fixes the whereBetween error and the disappearance of special days after saving a location.
manortastingroom Hi there, hope you had an awesome xmas, looks like 3.2.1 has broken special days. Special Open days no longer displaying on reservation page
manortastingroom sampoyigi updated to new version, when you add a special open day , the whole public reservation screen gets an error 500 - Something went wrong and the page cannot be displayed, remove the created special open day no error 500 again
sampoyigi manortastingroom Didn’t have issue with the reservation page on my end maybe it’s something specific to your site. There should be an error message in System > System Logs, please share.
manortastingroom sampoyigi easy done mate 2022-02-24 17:05:57 TypeError: Argument 1 passed to Igniter\Flame\Location\WorkingRange::create() must be of the type array, string given, called in /var/www/html/vendor/tastyigniter/flame/src/Location/WorkingPeriod.php on line 31 and defined in /var/www/html/vendor/tastyigniter/flame/src/Location/WorkingRange.php:21 Stack trace: #0 /var/www/html/vendor/tastyigniter/flame/src/Location/WorkingPeriod.php(31): Igniter\Flame\Location\WorkingRange::create() #1 [internal function]: Igniter\Flame\Location\WorkingPeriod::Igniter\Flame\Location\{closure}() #2 /var/www/html/vendor/tastyigniter/flame/src/Location/WorkingPeriod.php(30): array_map() #3 /var/www/html/vendor/tastyigniter/flame/src/Location/WorkingSchedule.php(377): Igniter\Flame\Location\WorkingPeriod::create() #4 /var/www/html/extensions/igniterlabs/schedulepro/models/ScheduleOverride.php(81): Igniter\Flame\Location\WorkingSchedule->setExceptions() #5 /var/www/html/extensions/igniterlabs/schedulepro/Extension.php(45): IgniterLabs\SchedulePro\Models\ScheduleOverride::applyOverridesToSchedule() #6 /var/www/html/vendor/laravel/framework/src/Illuminate/Events/Dispatcher.php(404): IgniterLabs\SchedulePro\Extension->IgniterLabs\SchedulePro\{closure}() #7 /var/www/html/vendor/laravel/framework/src/Illuminate/Events/Dispatcher.php(249): Illuminate\Events\Dispatcher->Illuminate\Events\{closure}() #8 /var/www/html/vendor/tastyigniter/flame/src/Events/Dispatcher.php(17): Illuminate\Events\Dispatcher->dispatch() #9 /var/www/html/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php(261): Igniter\Flame\Events\Dispatcher->fire() #10 /var/www/html/app/admin/traits/HasWorkingHours.php(131): Illuminate\Support\Facades\Facade::__callStatic() #11 /var/www/html/extensions/igniter/reservation/classes/BookingManager.php(145): Admin\Models\Locations_model->newWorkingSchedule() #12 /var/www/html/extensions/igniter/reservation/components/Booking.php(306): Igniter\Reservation\Classes\BookingManager->getSchedule() #13 /var/www/html/extensions/igniter/reservation/components/Booking.php(123): Igniter\Reservation\Components\Booking->processPickerForm() #14 /var/www/html/app/main/classes/MainController.php(743): Igniter\Reservation\Components\Booking->initialize() #15 /var/www/html/app/main/classes/MainController.php(571): Main\Classes\MainController->addComponent() #16 /var/www/html/app/main/classes/MainController.php(244): Main\Classes\MainController->initializeComponents() #17 /var/www/html/app/main/classes/MainController.php(201): Main\Classes\MainController->runPage() #18 /var/www/html/app/system/classes/Controller.php(97): Main\Classes\MainController->remap() #19 /var/www/html/vendor/laravel/framework/src/Illuminate/Routing/Controller.php(54): System\Classes\Controller->run() #20 /var/www/html/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php(45): Illuminate\Routing\Controller->callAction() #21 /var/www/html/vendor/laravel/framework/src/Illuminate/Routing/Route.php(262): Illuminate\Routing\ControllerDispatcher->dispatch() #22 /var/www/html/vendor/laravel/framework/src/Illuminate/Routing/Route.php(205): Illuminate\Routing\Route->runController() #23 /var/www/html/vendor/laravel/framework/src/Illuminate/Routing/Router.php(721): Illuminate\Routing\Route->run() #24 /var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(128): Illuminate\Routing\Router->Illuminate\Routing\{closure}() #25 /var/www/html/extensions/igniter/user/middleware/ThrottleRequests.php(20): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}() #26 /var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167): Igniter\User\Middleware\ThrottleRequests->handle() #27 /var/www/html/vendor/tastyigniter/flame/src/Translation/Middleware/Localization.php(27): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}() #28 /var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167): Igniter\Flame\Translation\Middleware\Localization->handle() #29 /var/www/html/vendor/laravel/framework/src/Illuminate/Routing/Middleware/SubstituteBindings.php(50): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}() #30 /var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167): Illuminate\Routing\Middleware\SubstituteBindings->handle() #31 /var/www/html/vendor/laravel/framework/src/Illuminate/View/Middleware/ShareErrorsFromSession.php(49): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}() #32 /var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167): Illuminate\View\Middleware\ShareErrorsFromSession->handle() #33 /var/www/html/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php(121): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}() #34 /var/www/html/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php(64): Illuminate\Session\Middleware\StartSession->handleStatefulRequest() #35 /var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167): Illuminate\Session\Middleware\StartSession->handle() #36 /var/www/html/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/AddQueuedCookiesToResponse.php(37): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}() #37 /var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167): Illuminate\Cookie\Middleware\AddQueuedCookiesToResponse->handle() #38 /var/www/html/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/EncryptCookies.php(67): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}() #39 /var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167): Illuminate\Cookie\Middleware\EncryptCookies->handle() #40 /var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(103): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}() #41 /var/www/html/vendor/laravel/framework/src/Illuminate/Routing/Router.php(723): Illuminate\Pipeline\Pipeline->then() #42 /var/www/html/vendor/laravel/framework/src/Illuminate/Routing/Router.php(698): Illuminate\Routing\Router->runRouteWithinStack() #43 /var/www/html/vendor/laravel/framework/src/Illuminate/Routing/Router.php(662): Illuminate\Routing\Router->runRoute() #44 /var/www/html/vendor/tastyigniter/flame/src/Router/CoreRouter.php(22): Illuminate\Routing\Router->dispatchToRoute() #45 /var/www/html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(167): Igniter\Flame\Router\CoreRouter->dispatch() #46 /var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(128): Illuminate\Foundation\Http\Kernel->Illuminate\Foundation\Http\{closure}() #47 /var/www/html/vendor/tastyigniter/flame/src/Setting/Middleware/SaveSetting.php(27): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}() #48 /var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167): Igniter\Flame\Setting\Middleware\SaveSetting->handle() #49 /var/www/html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}() #50 /var/www/html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php(40): Illuminate\Foundation\Http\Middleware\TransformsRequest->handle() #51 /var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167): Illuminate\Foundation\Http\Middleware\TrimStrings->handle() #52 /var/www/html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ValidatePostSize.php(27): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}() #53 /var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167): Illuminate\Foundation\Http\Middleware\ValidatePostSize->handle() #54 /var/www/html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php(86): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}() #55 /var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167): Illuminate\Foundation\Http\Middleware\PreventRequestsDuringMaintenance->handle() #56 /var/www/html/vendor/fruitcake/laravel-cors/src/HandleCors.php(38): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}() #57 /var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167): Fruitcake\Cors\HandleCors->handle() #58 /var/www/html/vendor/fideloper/proxy/src/TrustProxies.php(57): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}() #59 /var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167): Fideloper\Proxy\TrustProxies->handle() #60 /var/www/html/extensions/igniter/api/vendor/dingo/api/src/Http/Middleware/Request.php(111): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}() #61 /var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167): Dingo\Api\Http\Middleware\Request->handle() #62 /var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(103): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}() #63 /var/www/html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(142): Illuminate\Pipeline\Pipeline->then() #64 /var/www/html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(111): Illuminate\Foundation\Http\Kernel->sendRequestThroughRouter() #65 /var/www/html/index.php(53): Illuminate\Foundation\Http\Kernel->handle() #66 {main}