-
Notifications
You must be signed in to change notification settings - Fork 31
Description
Hello,
Sometime I problem with AnalyticsServiceProvider, because I get ErrorException in line 33. When I call var_dump in line 33 to check if file exist (key.pl2) it true result. In next step I remove var_dump line and all work well for next 3h. Why I get this error when file key exists?
"log.ERROR: exception 'ErrorException' with message 'file_exists() expects parameter 1 to be a valid path, array given' in /gotarget_oclublin/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php:18 Stack trace: #0 [internal function]: Illuminate\Exception\Handler->handleError(2, 'file_exists() e...', '/gotarget_oclub...', 18, Array) #1 /gotarget_oclublin/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php(18): file_exists(Array) #2 /gotarget_oclublin/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php(206): Illuminate\Filesystem\Filesystem->exists(Array) #3 /gotarget_oclublin/vendor/thujohn/analytics/src/Thujohn/Analytics/AnalyticsServiceProvider.php(33): Illuminate\Support\Facades\Facade::__callStatic('exists', Array) #4 /gotarget_oclublin/vendor/thujohn/analytics/src/Thujohn/Analytics/AnalyticsServiceProvider.php(33): Illuminate\Support\Facades\File::exists(Array) #5 /gotarget_oclublin/vendor/laravel/framework/src/Illuminate/Container/Container.php(149): Thujohn\Analytics\AnalyticsServiceProvider->Thujohn\Analytics"