Adding FileUpload::make() make the whole resource or page not accessible
Adding FileUpload::make() make the whole resource or page not accessible, as it makes the whole page loads only or stuck on loading, removing it makes the problem go away but this application was already created, it just happened recently.
2 Replies
It appears that you are experiencing an issue with a file upload component in your web application, likely built using a PHP framework such as Laravel Nova. The FileUpload::make() method you're referring to seems to be part of a resource definition within that framework.
If adding FileUpload::make() causes the page to become inaccessible or stuck on loading, there could be several reasons behind this problem:
Weirdly I didn't use any PHP Framework.
"require": {
"php": "^8.1",
"filament/filament": "3.2.59",
"filament/notifications": "^3.0-stable",
"filament/spatie-laravel-media-library-plugin": "^3.2",
"filament/spatie-laravel-tags-plugin": "3.0-stable",
"guzzlehttp/guzzle": "^7.2",
"kreait/laravel-firebase": "^5.4",
"laravel/framework": "^10.10",
"laravel/sanctum": "^3.2",
"laravel/tinker": "^2.8",
"league/flysystem-aws-s3-v3": "^3.15",
"mobiosolutions/metatags": "dev-master",
"pusher/pusher-php-server": "^7.2",
"solution-forest/filament-tree": "^2.0",
"spatie/image-optimizer": "^1.7",
"spatie/laravel-image-optimizer": "^1.7",
"spatie/laravel-permission": "^5.10",
"swiftmade/laravel-sendgrid-notification-channel": "^2.6",
"tymon/jwt-auth": "^2.0"
},
"require-dev": {
"barryvdh/laravel-debugbar": "^3.9",
"barryvdh/laravel-ide-helper": "^2.13",
"fakerphp/faker": "^1.9.1",
"laravel/pint": "^1.0",
"laravel/sail": "^1.18",
"mockery/mockery": "^1.4.4",
"nunomaduro/collision": "^7.0",
"pestphp/pest-plugin-laravel": "^2.1",
"pestphp/pest-plugin-livewire": "^2.1",
"phpunit/phpunit": "^10.1",
"spatie/laravel-ignition": "^2.0"
},
tried as well rollback the changes but after the upgrade to the new version it resulted in an error