-
Notifications
You must be signed in to change notification settings - Fork 3.6k
Description
This is a bug report:
It seems there is an issue in
zipstream-php/src/Option/Archive.php
In line 7 they write: use MyCLabs\Enum\Enum;
This dependecy does not match with any calsspath.
I checked the zipstream library out and I see they fixed this issue, do you maybe need to upgrade your dependency to the latest version?
Stack trace:
[ERROR] NOTICE: PHP message: PHP Fatal error: Uncaught Error: Class "MyCLabs\Enum\Enum" not found in /home/site/wwwroot/vendor/maennchen/zipstream-php/src/Option/Method.php:18
[ERROR] Stack trace:
[ERROR] #0 /home/site/wwwroot/vendor/composer/ClassLoader.php(444): include()
[ERROR] #1 /home/site/wwwroot/vendor/composer/ClassLoader.php(322): Composer\Autoload\includeFile('/home/site/wwwr...')
[ERROR] #2 /home/site/wwwroot/vendor/maennchen/zipstream-php/src/Option/Archive.php(131): Composer\Autoload\ClassLoader->loadClass('ZipStream\Optio...')
[ERROR] #3 /home/site/wwwroot/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Writer/ZipStream2.php(15): ZipStream\Option\Archive->__construct()
[ERROR] #4 /home/site/wwwroot/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Writer/ZipStream0.php(15): PhpOffice\PhpSpreadsheet\Writer\ZipStream2::newZipStream(Resource id #27)
[ERROR] #5 /home/site/wwwroot/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Writer/Xlsx.php(548): PhpOffice\PhpSpreadsheet\Writer\ZipStream0::newZipStream(Resource id #27)
[ERROR] #6 /home/site/wwwroot/src/Controllers/UnitExcelExporter.php(169): PhpOffice\PhpSpreadsheet\Writer\Xlsx->save('php://output')
[ERROR] #7 /home/site/wwwroot/vendor/fabiomattei/uglyduckling/src/Common/Controllers/Controller.php(255): Fabiom\UDDemo\Controllers\UnitExcelExporter->getRequest()
[ERROR] #8 /home/site/wwwroot/index_saml.php(161): Fabiom\UglyDuckling\Common\Controllers\Controller->showPage()
[ERROR] #9 /home/site/wwwroot/index.php(11): require('/home/site/wwwr...')
[ERROR] #10 {main}
[ERROR] thrown in /home/site/wwwroot/vendor/maennchen/zipstream-php/src/Option/Method.php on line 18