How to resolve php artisan filament:cache-components error?

I added this command to my production deployment script as recommended. But I keep get this error during deployment crc32(): Passing null to parameter #1 ($string) of type string is deprecated in /home/forge/my-site.com/releases/20240612042953/vendor/livewire/livewire/src/Features/SupportScriptsAndAssets/SupportScriptsAndAssets.php on line 31 When I check that class in livewire package. it is this line
$viewPath = crc32(app('blade.compiler')->getPath());
$viewPath = crc32(app('blade.compiler')->getPath());
It seem that calling ->getPath() on app('blade.compiler') always return null What can I do so that app('blade.compiler')->getPath() will return a string?
0 Replies
No replies yetBe the first to reply to this messageJoin
Want results from more Discord servers?
Add your server