Back to Hospitality Support

hambern
hambern

"Call to undefined method Indikator\Hospitality\Controllers\Booking::where()" on line 383 of /Volumes/Lagring/Kod/MAMP/restaurang/vendor/october/rain/src/Extension/ExtendableTrait.php

I get this error message when i try to deactivate bookings. And it seems like this is common among all the controllers.

Seems like you have to Use the Models in the controllers. If I add:

use Indikator\Hospitality\Models\Booking;

it works like a charm. Please do this in all the controllers.

Last updated

gergo85
gergo85

Yes. I will fix it tomorrow morning.

gergo85
gergo85

I fixed this issue. Please force update it.

1-3 of 3