Array to string conversion
dcastrili opened this issue · comments
Hi I am getting the following error
exception 'ErrorException' with message 'Array to string conversion' in stevebauman/location/src/Location.php:487
This is the instruction -> $driverStr = $namespace.$driver;
Any clue??
Thanks
Hi, have you published the configuration or ran composer update
yet?
Yes, I did both with no success , the package worked fine before I ran composer update today :(
Hmm okay I'm going to look into this, it seems like it can't find the configuration file. Are you using laravel 4 or 5? I'll do some testing shortly here
Hello there, I use L4
Hmm, tests are passing and I've tested it and it works fine. Did you publish the configuration file? If so, can you output its contents here?
Yes, I fired php artisan config:publish stevebauman/location
. Here you go
Can you try deleting the published configuration and see if you still receive that exception?