-
Notifications
You must be signed in to change notification settings - Fork 595
New issue
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
Laravel 6.6 Class 'Illuminate\Support\Facades\Input' not found #480
Comments
This Try this
then
then
Also can you give this package https://github.com/vipertecpro/simplesamllaravel.git try ? This support laravel 6.* |
When I try to execute a command at /app/vendor/pragmarx/datatables/src/Bllim/Datatables/Datatables.php:67
Exception trace: 1 Bllim\Datatables\Datatables::__construct() 2 Bllim\Datatables\DatatablesServiceProvider::Bllim\Datatables{closure}(Object(Illuminate\Foundation\Application), []) Please use the argument -v to see more details.` I walked the path These changes are described here. |
https://laravel.com/docs/6.x/upgrade#the-input-facade the input facade was removed in laravel 6 as it was essentally a duplicate of request so this package needs to be updated! |
Find
and then add |
Replace like you have said. Now another error comes up
I am using laravel 7 |
|
if(Input::hasFile('profile_pic')){ |
im using laravel 7 |
@haariskh55 |
While the approach of changing the Input class works for development environments its difficult to do for automated deployments |
How i solve it in laravel 8 Create a default file
Copy this file to laravel folder
|
Symfony\Component\Debug\Exception\FatalThrowableError : Class 'Illuminate\Support\Facades\Input' not found
at /app/vendor/pragmarx/datatables/src/Bllim/Datatables/Datatables.php:67
63| */
64| public function __construct()
65| {
66|
Exception trace:
1 Bllim\Datatables\Datatables::__construct()
/app/vendor/pragmarx/datatables/src/Bllim/Datatables/DatatablesServiceProvider.php:25
2 Bllim\Datatables\DatatablesServiceProvider::Bllim\Datatables{closure}(Object(Illuminate\Foundation\Application), [])
/app/vendor/laravel/framework/src/Illuminate/Container/Container.php:799
Please use the argument -v to see more details.
Script php artisan ide-helper:generate handling the post-update-cmd event returned with error code 1
The text was updated successfully, but these errors were encountered: