Vendor mail html >
button.blade.php (Undefined color variable)
layout.blade.php
in Laravel 5.6, it was working fine. Only problem with Laravel 5.7
I'm having the same issue, but it only pops up when I run phpunit on Codeship. I think it may be related to the following:
// Laravel 5.6...
{{ $foo or 'default' }}
// Laravel 5.7...
{{ $foo ?? 'default' }}
I will test now.
OK, all my tests are passing now.
The problem is caused by using 5.6 Laravel vendor files, that used "or" rather than "??" for some data fields. As noted in the 5.7 upgrade guide, Laravel has removed support for "or." You can fix the problem by either replacing the old vendor files or by manually updating those lines.
Most helpful comment
OK, all my tests are passing now.
The problem is caused by using 5.6 Laravel vendor files, that used "or" rather than "??" for some data fields. As noted in the 5.7 upgrade guide, Laravel has removed support for "or." You can fix the problem by either replacing the old vendor files or by manually updating those lines.