Skip to content
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

After the recent Logger- commits I get a ReflectionException: Class Illuminate\Log\Logger does not exist #162

Closed
osthafen opened this issue Oct 15, 2019 · 5 comments
Assignees
Labels

Comments

@osthafen
Copy link

osthafen commented Oct 15, 2019

General Information

GeocoderLaravel Version:
Laravel Version: 5.5
PHP Version: 7.2

Issue Description

After the recent Logger- commits I get a ReflectionException: Class Illuminate\Log\Logger does not exist

Stack Trace

In vendor/laravel/framework/src/Illuminate/Container/Container.php on line 752

0  /vendor/laravel/framework/src/Illuminate/Container/Container.php(752):  ReflectionClass->__construct('Illuminate\\Log\\...') 
1  /vendor/laravel/framework/src/Illuminate/Container/Container.php(631):  Illuminate\Container\Container->build('Illuminate\\Log\\...') 
2  /vendor/laravel/framework/src/Illuminate/Container/Container.php(586):  Illuminate\Container\Container->resolve('Illuminate\\Log\\...',  Array) 
3  /vendor/laravel/framework/src/Illuminate/Foundation/Application.php(732):  Illuminate\Container\Container->make('Illuminate\\Log\\...', Array) 
4  /vendor/laravel/framework/src/Illuminate/Foundation/helpers.php(110):  Illuminate\Foundation\Application->make('Illuminate\\Log\\...',  Array) 
5  /vendor/toin0u/geocoder-laravel/src/ProviderAndDumperAggregator.php(255):  app('Illuminate\\Log\\...') 
6 [internal function]:  Geocoder\Laravel\ProviderAndDumperAggregator->Geocoder\Laravel\{closure}(Array,  'Geocoder\\Provid...') 
7  /vendor/laravel/framework/src/Illuminate/Support/Collection.php(861):  array_map(Object(Closure), Array, Array) 
8  /vendor/toin0u/geocoder-laravel/src/ProviderAndDumperAggregator.php(264):  Illuminate\Support\Collection->map(Object(Closure)) 
9  /vendor/toin0u/geocoder-laravel/src/ProviderAndDumperAggregator.php(154):   Geocoder\Laravel\ProviderAndDumperAggregator->getProvidersFromConfiguration(Object(Illuminate\Support\Collection)) 
10  /vendor/toin0u/geocoder-laravel/src/Providers/GeocoderService.php(35):   Geocoder\Laravel\ProviderAndDumperAggregator->registerProvidersFromConfig(Object(Illuminate\Support\Collection)) 
11  /vendor/laravel/framework/src/Illuminate/Container/Container.php(749):   Geocoder\Laravel\Providers\GeocoderService->Geocoder\Laravel\Providers\{closure}(Object(Illuminate\Foundation\Application),  Array) 
12  /vendor/laravel/framework/src/Illuminate/Container/Container.php(631):  Illuminate\Container\Container->build(Object(Closure)) 
13  /vendor/laravel/framework/src/Illuminate/Container/Container.php(586):  Illuminate\Container\Container->resolve('Geocoder\\Larave...',  Array) 
14  /vendor/laravel/framework/src/Illuminate/Foundation/Application.php(732):  Illuminate\Container\Container->make('Geocoder\\Larave...', Array) 
15  /vendor/laravel/framework/src/Illuminate/Container/Container.php(256):  Illuminate\Foundation\Application->make('Geocoder\\Larave...',  Array) 
16  /vendor/laravel/framework/src/Illuminate/Container/Container.php(749):   Illuminate\Container\Container->Illuminate\Container\{closure}(Object(Illuminate\Foundation\Application),  Array) 
17  /vendor/laravel/framework/src/Illuminate/Container/Container.php(631):  Illuminate\Container\Container->build(Object(Closure)) 
18  /vendor/laravel/framework/src/Illuminate/Container/Container.php(586):  Illuminate\Container\Container->resolve('geocoder', Array) 
19  /vendor/laravel/framework/src/Illuminate/Foundation/Application.php(732):  Illuminate\Container\Container->make('geocoder', Array) 
20  /vendor/laravel/framework/src/Illuminate/Foundation/helpers.php(110):  Illuminate\Foundation\Application->make('geocoder', Array)
@osthafen
Copy link
Author

Logger isn't available in Laravel 5.5:
https://laravel.com/api/5.5/Illuminate/Log.html
In 5.6 it is:
https://laravel.com/api/5.6/Illuminate/Log.html

@mikebronner
Copy link
Member

@osthafen Yikes, thanks for finding that! I'll try to get a new release out today.

@mikebronner mikebronner self-assigned this Oct 15, 2019
@mikebronner
Copy link
Member

@osthafen could you try release 4.2.3 and let me know how it goes?

@osthafen
Copy link
Author

@mikebronner Thanks a lot for your quick fix!
It seems to work.

@mikebronner
Copy link
Member

@osthafen Awesome! Thanks for letting me know. :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants