© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•2y ago•
1 reply
pocket.racer

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()
->getPath()
on
app('blade.compiler')
app('blade.compiler')
always return null


What can I do so that
app('blade.compiler')->getPath()
app('blade.compiler')->getPath()
will return a string?
Filament banner
FilamentJoin
A powerful open source UI framework for Laravel • Build and ship admin panels & apps fast with Livewire
20,307Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

php artisan make:filament-user
FilamentFFilament / ❓┊help
2y ago
php artisan make:filament-user
FilamentFFilament / ❓┊help
3y ago
Customize php artisan filament:user
FilamentFFilament / ❓┊help
3y ago
php artisan make:filament-user bug
FilamentFFilament / ❓┊help
17mo ago