We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to reproduce
php artisan config:cache
<?php return [ 'label' => 'Company', 'model' => \App\Models\Company::class, 'table' => \App\Http\Livewire\Table\CompanyTable::class, 'schema' => [ [ 'name' => 'name', 'type' => 'text', 'label' => 'Company Name', 'limit' => 4, 'rules' => ['required', \Illuminate\Validation\Rule::unique('companies')], ], [ 'field' => '', 'type' => \Laravolt\Fields\Field::BUTTON, 'label' => 'Settings', 'icon' => 'settings', 'show_on_index' => true, 'show_on_detail' => false, 'show_on_create' => false, 'show_on_edit' => false, ], ], ];
Ekspektasi No error
Realita/Screenshots
LogicException Your configuration files are not serializable. at vendor/laravel/framework/src/Illuminate/Foundation/Console/ConfigCacheCommand.php:82 78▕ require $configPath; 79▕ } catch (Throwable $e) { 80▕ $this->files->delete($configPath); 81▕ ➜ 82▕ throw new LogicException('Your configuration files are not serializable.', 0, $e); 83▕ } 84▕ 85▕ $this->info('Configuration cached successfully.'); 86▕ } 1 bootstrap/cache/config.php:595 Error::("Call to undefined method Illuminate\Validation\Rules\Unique::__set_state()") +25 vendor frames 27 artisan:37 Illuminate\Foundation\Console\Kernel::handle(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
The text was updated successfully, but these errors were encountered:
No branches or pull requests
How to reproduce
php artisan config:cache
Ekspektasi
No error
Realita/Screenshots
The text was updated successfully, but these errors were encountered: