php artisan optimize
INFO Caching the framework bootstrap files.
config ................................................................................................................................. 35ms FAIL
LogicException
Your configuration files are not serializable.
at vendor/laravel/framework/src/Illuminate/Foundation/Console/ConfigCacheCommand.php:73
69▕ require $configPath;
70▕ } catch (Throwable $e) {
71▕ $this->files->delete($configPath);
72▕
➜ 73▕ throw new LogicException('Your configuration files are not serializable.', 0, $e);
74▕ }
75▕
76▕ $this->components->info('Configuration cached successfully.');
77▕ }
1 bootstrap/cache/config.php:1718
Error::("Call to undefined method Mostafaznv\Larupload\DTOs\Style\ImageStyle::__set_state()")
+29 vendor frames
31 artisan:35
Illuminate\Foundation\Console\Kernel::handle()