自一周前以来我没有任何问题,现在当我尝试通过:Mail::queue('myemail', $data, function($message) use ($data){....});
发送邮件时
我有以下错误:
FatalErrorException in ParserFactory.php line 27:
Class 'PhpParser'Parser'Php7' not found
我能做些什么来解决这个问题?我使用的是wampserver 3.0.4和laravel 5.2
检查这个https://github.com/nikic/PHP-Parser/issues/291它对我有效,在vendor/中删除"nikic/php-parser"目录并运行composer更新。