Have you tried using the static
flushEventListeners() on your model? Just a shot in the dark here.
$dispatcher = Model::getEventDispatcher()
// Remove Dispatcher Model::unsetEventDispatcher()
//DO THINGS $model->save();
// Re-add Dispatcher Model::setEventDispatcher($dispatcher);
Sign in to participate in this thread!
We'd like to thank these amazing companies for supporting us
The Laravel portal for problem solving, knowledge sharing and community building.