antonioribeiro / antonioribeiro/tracker

Laravel 6.6 Class 'Illuminate\Support\Facades\Input' not found

Open
#480 11 comments 2 reactions 0 assignees View on GitHub
Dominant language
PHP
Stars
2.9k
Forks
594
PR merge metrics
No merged PRs in 30d

Description

> php artisan ide-helper:generate

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|
> 67| $this->setData($this->processData(Input::get()));
68|
69| return $this;
70| }
71|

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

Contributor guide

No contributing guide indexed for this repository

Research direction

Reproduce the failure with `php artisan ide-helper:generate`, then inspect `vendor/pragmarx/datatables/src/Bllim/Datatables/Datatables.php` at line 67 and the service provider referenced in the trace. Confirm the behavior on Laravel 6.6 and define done as completing the command without the missing `Illuminate\Support\Facades\Input` error.

Written by the indexing model from the issue text.

Assessment

Tech stack
laravel, php
Domain
backend
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.