We are getting this error and we have NO IDEA where is coming from since we didn’t make changes to the site. The last day we were making tests for delivery, and reservations and everything was fine. Then 2 days after BOOM! error. I have switched everything I can think of on the delivery/pickup options for vendors and I’m still getting the error. This will happen on EVERY local/menu that I have on the list.
`Error:
Call to undefined method DateTime::toDateString()
at /home/**/public_html/vendor/tastyigniter/flame/src/Location/WorkingSchedule.php:336
at Igniter\Flame\Location\WorkingSchedule->getTimeslot(object(DateInterval), object(Carbon), 0)
(/home//public_html/extensions/igniter/local/classes/Location.php:310)
at Igniter\Local\Classes\Location->scheduleTimeslot()
(/home//public_html/extensions/igniter/local/components/LocalBox.php:192)
at Igniter\Local\Components\LocalBox->prepareVars()
(/home//public_html/extensions/igniter/local/components/LocalBox.php:107)
at Igniter\Local\Components\LocalBox->onRun()
(/home//public_html/app/main/template/concerns/HasComponents.php:102)
at Main\Template\Model->runComponents()
(/home//public_html/app/main/classes/MainController.php:305)
at Main\Classes\MainController->execPageCycle()
(/home//public_html/app/main/classes/MainController.php:265)
at Main\Classes\MainController->runPage(object(Page))
(/home//public_html/app/main/classes/MainController.php:201)
at Main\Classes\MainController->remap(‘/menus’)
(/home//public_html/app/system/classes/Controller.php:97)
at System\Classes\Controller->run(‘/menus’)
(/home//public_html/vendor/laravel/framework/src/Illuminate/Routing/Controller.php:54)
at Illuminate\Routing\Controller->callAction(‘run’, array(‘slug’ => ‘/menus’))
(/home//public_html/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php:45)
at Illuminate\Routing\ControllerDispatcher->dispatch(object(Route), object(Controller), ‘run’)
(/home//public_html/vendor/laravel/framework/src/Illuminate/Routing/Route.php:262)
at Illuminate\Routing\Route->runController()
(/home//public_html/vendor/laravel/framework/src/Illuminate/Routing/Route.php:205)
at Illuminate\Routing\Route->run()
(/home//public_html/vendor/laravel/framework/src/Illuminate/Routing/Router.php:721)
at Illuminate\Routing\Router->Illuminate\Routing{closure}(object(Request))
(/home//public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:128)
at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline{closure}(object(Request))
(/home//public_html/extensions/igniter/user/middleware/ThrottleRequests.php:20)
at Igniter\User\Middleware\ThrottleRequests->handle(object(Request), object(Closure))
(/home//public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167)
at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline{closure}(object(Request))
(/home//public_html/vendor/tastyigniter/flame/src/Translation/Middleware/Localization.php:27)
at Igniter\Flame\Translation\Middleware\Localization->handle(object(Request), object(Closure))
(/home//public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167)
at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline{closure}(object(Request))
(/home//public_html/vendor/laravel/framework/src/Illuminate/Routing/Middleware/SubstituteBindings.php:50)
at Illuminate\Routing\Middleware\SubstituteBindings->handle(object(Request), object(Closure))
(/home//public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167)
at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline{closure}(object(Request))
(/home//public_html/vendor/laravel/framework/src/Illuminate/View/Middleware/ShareErrorsFromSession.php:49)
at Illuminate\View\Middleware\ShareErrorsFromSession->handle(object(Request), object(Closure))
(/home//public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167)
at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline{closure}(object(Request))
(/home//public_html/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php:121)
at Illuminate\Session\Middleware\StartSession->handleStatefulRequest(object(Request), object(Store), object(Closure))
(/home//public_html/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php:64)
at Illuminate\Session\Middleware\StartSession->handle(object(Request), object(Closure))
(/home//public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167)
at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline{closure}(object(Request))
(/home//public_html/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/AddQueuedCookiesToResponse.php:37)
at Illuminate\Cookie\Middleware\AddQueuedCookiesToResponse->handle(object(Request), object(Closure))
(/home//public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167)
at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline{closure}(object(Request))
(/home//public_html/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/EncryptCookies.php:67)
at Illuminate\Cookie\Middleware\EncryptCookies->handle(object(Request), object(Closure))
(/home//public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167)
at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline{closure}(object(Request))
(/home//public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:103)
at Illuminate\Pipeline\Pipeline->then(object(Closure))
(/home//public_html/vendor/laravel/framework/src/Illuminate/Routing/Router.php:723)
at Illuminate\Routing\Router->runRouteWithinStack(object(Route), object(Request))
(/home//public_html/vendor/laravel/framework/src/Illuminate/Routing/Router.php:698)
at Illuminate\Routing\Router->runRoute(object(Request), object(Route))
(/home//public_html/vendor/laravel/framework/src/Illuminate/Routing/Router.php:662)
at Illuminate\Routing\Router->dispatchToRoute(object(Request))
(/home//public_html/vendor/tastyigniter/flame/src/Router/CoreRouter.php:22)
at Igniter\Flame\Router\CoreRouter->dispatch(object(Request))
(/home//public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:167)
at Illuminate\Foundation\Http\Kernel->Illuminate\Foundation\Http{closure}(object(Request))
(/home//public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:128)
at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline{closure}(object(Request))
(/home//public_html/vendor/tastyigniter/flame/src/Setting/Middleware/SaveSetting.php:27)
at Igniter\Flame\Setting\Middleware\SaveSetting->handle(object(Request), object(Closure))
(/home//public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167)
at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline{closure}(object(Request))
(/home//public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php:21)
at Illuminate\Foundation\Http\Middleware\TransformsRequest->handle(object(Request), object(Closure))
(/home//public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php:40)
at Illuminate\Foundation\Http\Middleware\TrimStrings->handle(object(Request), object(Closure))
(/home//public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167)
at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline{closure}(object(Request))
(/home//public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ValidatePostSize.php:27)
at Illuminate\Foundation\Http\Middleware\ValidatePostSize->handle(object(Request), object(Closure))
(/home//public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167)
at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline{closure}(object(Request))
(/home//public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php:86)
at Illuminate\Foundation\Http\Middleware\PreventRequestsDuringMaintenance->handle(object(Request), object(Closure))
(/home//public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167)
at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline{closure}(object(Request))
(/home//public_html/vendor/fruitcake/laravel-cors/src/HandleCors.php:38)
at Fruitcake\Cors\HandleCors->handle(object(Request), object(Closure))
(/home//public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167)
at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline{closure}(object(Request))
(/home//public_html/vendor/fideloper/proxy/src/TrustProxies.php:57)
at Fideloper\Proxy\TrustProxies->handle(object(Request), object(Closure))
(/home//public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167)
at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline{closure}(object(Request))
(/home//public_html/extensions/igniter/api/vendor/dingo/api/src/Http/Middleware/Request.php:111)
at Dingo\Api\Http\Middleware\Request->handle(object(Request), object(Closure))
(/home//public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167)
at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline{closure}(object(Request))
(/home//public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:103)
at Illuminate\Pipeline\Pipeline->then(object(Closure))
(/home//public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:142)
at Illuminate\Foundation\Http\Kernel->sendRequestThroughRouter(object(Request))
(/home//public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:111)
at Illuminate\Foundation\Http\Kernel->handle(object(Request))
(/home/***/public_html/index.php:53)`
Please help.