We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
In Laravel 5.7.9, on a fresh install, I'm getting an error: Class 'Illuminate\Log\Writer' not found...
The text was updated successfully, but these errors were encountered:
Hello,
thank you for creating this issue.
I assume the problem is this line: https://github.com/chriskonnertz/translation-factory/blob/master/src/ChrisKonnertz/TranslationFactory/Controllers/TranslationFileController.php#L81
public function update(Request $request, Log $log, string $hash, string $currentItemKey)
The full qualified name of the Log class Illuminate\Log\Writer (use Illuminate\Log\Writer as Log) which (I guess) cannot be found. Quick workround: Delete the $log parameter and the $log->info()call ( https://github.com/chriskonnertz/translation-factory/blob/master/src/ChrisKonnertz/TranslationFactory/Controllers/TranslationFileController.php#L109 ). Ofc, this will completely disable logging.
Log
Illuminate\Log\Writer
use Illuminate\Log\Writer as Log
$log->info()
=> https://github.com/csun-metalab/laravel-multiple-logs/issues/1#issuecomment-382828025
Sorry, something went wrong.
chriskonnertz
No branches or pull requests
In Laravel 5.7.9, on a fresh install, I'm getting an error:
Class 'Illuminate\Log\Writer' not found...
The text was updated successfully, but these errors were encountered: