Skip to content

[BUG] Cannot use Illuminate\Support\Facades\Log as Log because the name is already in use on line 14 #284

@starksemihyarar

Description

@starksemihyarar

Describe the bug
When run scout:import artisan command ı got this error

Cannot use Illuminate\Support\Facades\Log as Log because the name is already in use on line 14
Ekran Resmi 2024-10-08 10 55 54

To Reproduce
php artisan scout:import

Expected behavior
working well php artisan scout:import command.

Additional context
Elastic working on docker no any error ı can use with postman very well.
php artisan scout:import working well at my macos m2

Laravel Project .env :

SCOUT_DRIVER=Matchish\ScoutElasticSearch\Engines\ElasticSearchEngine
ELASTICSEARCH_HOST=127.0.0.1:9200
ELASTICSEARCH_SSL_VERIFICATION=false
ELASTICSEARCH_USER=elastic
ELASTICSEARCH_PASSWORD=password
ELASTICSEARCH_SCHEME=http

OS Information:

No LSB modules are available.
Distributor ID:	Ubuntu
Description:	Ubuntu 22.04.5 LTS
Release:	22.04
Codename:	jammy

Version

"laravel/scout": "^10.10",
 "matchish/laravel-scout-elasticsearch": "^7.7",
 tested php 8.3 and 8.2

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinggood first issueGood for newcomershelp wantedExtra attention is needed

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions