Skip to content

error when run : php artisan ide-helper:models #86

Description

@sugengsuprayogi

`Do you want to overwrite the existing model files? Choose no to write to _ide_helper_models.php instead? (Yes/No): (yes/no) [no]:

no

PHP Fatal error: Cannot use Illuminate\Support\Arr as Arr because the name is already in use in G:\PROJECT\php\lms-bi\app\Libraries\Utils.php on line 9
PHP Fatal error: Uncaught Error: Class 'App\Libraries\Utils' not found in G:\PROJECT\php\lms-bi\app\Models\Setting.php:128
Stack trace:
#0 G:\PROJECT\php\lms-bi\app\Managers\SettingManager.php(66): App\Models\Setting->get('lern.enable_rec...', NULL)
#1 G:\PROJECT\php\lms-bi\vendor\laravel\framework\src\Illuminate\Support\Facades\Facade.php(217): App\Managers\SettingManager->get('lern.enable_rec...')
#2 G:\PROJECT\php\lms-bi\app\Exceptions\Handler.php(41): Illuminate\Support\Facades\Facade::__callStatic('get', Array)
#3 G:\PROJECT\php\lms-bi\vendor\laravel\framework\src\Illuminate\Foundation\Bootstrap\HandleExceptions.php(79): App\Exceptions\Handler->report(Object(Symfony\Component\Debug\Exceptio
n\FatalErrorException))
#4 G:\PROJECT\php\lms-bi\vendor\laravel\framework\src\Illuminate\Foundation\Bootstrap\HandleExceptions.php(118): Illuminate\Foundation\Bootstrap\HandleExceptions->handleException(Obj
ect(Symfony\Component\Debug\Exception\FatalErrorException))
#5 [internal function]: Illuminate\Foundation\Bootstrap\HandleException in G:\PROJECT\php\lms-bi\app\Models\Setting.php on line 128`

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions