Closed Andrew052113 closed 6 years ago
Bump, same issue.
- Removing maatwebsite/excel (2.1.22)
- Installing maatwebsite/excel (2.1.23)
Downloading: 100%
Generating autoload files
> php artisan clear-compiled
PHP Fatal error: Call to undefined method Illuminate\Support\Collection::macro() in /home/staging/vendor/maatwebsite/excel/src/Maatwebsite/Excel/ExcelServiceProvider.php on line 62
[Symfony\Component\Debug\Exception\FatalErrorException]
Call to undefined method Illuminate\Support\Collection::macro()
Script php artisan clear-compiled handling the post-update-cmd event returned with an error
Minor update seems to contain a breaking change (sadpanda)
Cheers
@Andrew052113
Change your composer.json
to "maatwebsite/excel": "2.1.22"
- it'll provide you with a temporary fix until it's patched.
Cheers
@Andrew052113 i have same issues but your solution doesnt work. What else can i do?
To solve this issue you need to delete the lines of this commit, all work normal without this lines
If you dont want to delete this lines you need to update to laravel 5.2+
Hi,
Im using Laravel 5.0 and when i run this command:
php artisan vendor:publish --provider="Maatwebsite\Excel\ExcelServiceProvider"
im getting this error:
How can i solve this? Thank you.