Dec 30, 2024
0
Level 1
Call to undefined method Monolog\Logger::create()
Getting an error in Laravel 11 when using
$user = User::insert($userData);
: Call to undefined method Monolog\Logger::create()
vendor\laravel\framework\src\Illuminate\Log\Logger.php :309
304 * @param array $parameters
305 * @return mixed
306 */
307 public function __call($method, $parameters)
308 {
309 return $this->logger->{$method}(...$parameters);
310 }
311 }
Please or to participate in this conversation.