500 Error when Updating from 5.2.4 to 5.2.5

I have run the git pull origin

and got the following error after doing GIT update

[2021-06-18 17:17:06] production.ERROR: Unresolvable dependency resolving [Parameter #0 [ array $options ]] in class App\Utils\CssInlinerPlugin {“exception”:"[object] (Illuminate\Contracts\Container\BindingResolutionException(code: 0): Unresolvable dependency resolving [Parameter #0 [ array $options ]] in class App\Utils\CssInlinerPlugin at /home3/queenbeesrvc/billing.queenbeecleaningservices.com/vendor/laravel/framework/src/Illuminate/Container/Container.php:1057)
[stacktrace]
#0 /home3/queenbeesrvc/billing.queenbeecleaningservices.com/vendor/laravel/framework/src/Illuminate/Container/Container.php(964): Illuminate\Container\Container->unresolvablePrimitive(Object(ReflectionParameter))
#1 /home3/queenbeesrvc/billing.queenbeecleaningservices.com/vendor/laravel/framework/src/Illuminate/Container/Container.php(899): Illuminate\Container\Container->resolvePrimitive(Object(ReflectionParameter))
#2 /home3/queenbeesrvc/billing.queenbeecleaningservices.com/vendor/laravel/framework/src/Illuminate/Container/Container.php(861): Illuminate\Container\Container->resolveDependencies(Array)
#3 /home3/queenbeesrvc/billing.queenbeecleaningservices.com/vendor/laravel/framework/src/Illuminate/Container/Container.php(712): Illuminate\Container\Container->build(‘App\\Utils\\CssIn…’)
#4 /home3/queenbeesrvc/billing.queenbeecleaningservices.com/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(841): Illuminate\Container\Container->resolve(‘App\\Utils\\CssIn…’, Array, true)
#5 /home3/queenbeesrvc/billing.queenbeecleaningservices.com/vendor/laravel/framework/src/Illuminate/Container/Container.php(651): Illuminate\Foundation\Application->resolve(‘App\\Utils\\CssIn…’, Array)
#6 /home3/queenbeesrvc/billing.queenbeecleaningservices.com/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(826): Illuminate\Container\Container->make(‘App\\Utils\\CssIn…’, Array)
#7 /home3/queenbeesrvc/billing.queenbeecleaningservices.com/app/Providers/MailServiceProvider.php(31): Illuminate\Foundation\Application->make(‘App\\Utils\\CssIn…’)
#8 /home3/queenbeesrvc/billing.queenbeecleaningservices.com/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): App\Providers\MailServiceProvider->boot()
#9 /home3/queenbeesrvc/billing.queenbeecleaningservices.com/vendor/laravel/framework/src/Illuminate/Container/Util.php(40): Illuminate\Container\BoundMethod::Illuminate\Container\{closure}()
#10 /home3/queenbeesrvc/billing.queenbeecleaningservices.com/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(93): Illuminate\Container\Util::unwrapIfClosure(Object(Closure))
#11 /home3/queenbeesrvc/billing.queenbeecleaningservices.com/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(37): Illuminate\Container\BoundMethod::callBoundMethod(Object(Illuminate\Foundation\Application), Array, Object(Closure))
#12 /home3/queenbeesrvc/billing.queenbeecleaningservices.com/vendor/laravel/framework/src/Illuminate/Container/Container.php(610): Illuminate\Container\BoundMethod::call(Object(Illuminate\Foundation\Application), Array, Array, NULL)
#13 /home3/queenbeesrvc/billing.queenbeecleaningservices.com/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(914): Illuminate\Container\Container->call(Array)
#14 /home3/queenbeesrvc/billing.queenbeecleaningservices.com/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(895): Illuminate\Foundation\Application->bootProvider(Object(App\Providers\MailServiceProvider))
#15 [internal function]: Illuminate\Foundation\Application->Illuminate\Foundation\{closure}(Object(App\Providers\MailServiceProvider), 37)
#16 /home3/queenbeesrvc/billing.queenbeecleaningservices.com/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(896): array_walk(Array, Object(Closure))
#17 /home3/queenbeesrvc/billing.queenbeecleaningservices.com/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/BootProviders.php(17): Illuminate\Foundation\Application->boot()
#18 /home3/queenbeesrvc/billing.queenbeecleaningservices.com/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(237): Illuminate\Foundation\Bootstrap\BootProviders->bootstrap(Object(Illuminate\Foundation\Application))
#19 /home3/queenbeesrvc/billing.queenbeecleaningservices.com/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(152): Illuminate\Foundation\Application->bootstrapWith(Array)
#20 /home3/queenbeesrvc/billing.queenbeecleaningservices.com/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(136): Illuminate\Foundation\Http\Kernel->bootstrap()
#21 /home3/queenbeesrvc/billing.queenbeecleaningservices.com/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(110): Illuminate\Foundation\Http\Kernel->sendRequestThroughRouter(Object(Illuminate\Http\Request))
#22 /home3/queenbeesrvc/billing.queenbeecleaningservices.com/public/index.php(57): Illuminate\Foundation\Http\Kernel->handle(Object(Illuminate\Http\Request))
#23 {main}
"}

Hi,

Thanks for reporting this!

cc @david

You’ll want to run either the /update route or

delete the contents of bootstrap/cache

I can replicate that on two different installations. I think you should also execute php artisan optimize.

This worked correctly, thanks