KoolReport's Forum

Official Support Area, Q&As, Discussions, Suggestions and Bug reports.
Forum's Guidelines

Uncaught Error: Class "MyCLabs\Enum\Enum" not found #3431

Open Eugene opened this topic on on Mar 31 - 5 comments

Eugene commented on Mar 31

For no apparent reason, my Excel export stopped working. I am getting the error Class "MyCLabs\Enum\Enum" not found in ... koolreport/excel/vendor/maennchen/zipstream-php/src/Option/Method.php:16

but this class exists in /koolreport/excel/vendor/myclabs/php-enum/src/Enum.php

Sebastian Morales commented on Apr 1

Pls test this github issue post to see if it solves the issue:

https://github.com/PHPOffice/PhpSpreadsheet/issues/3758#issuecomment-2368822873

Eugene commented on Apr 1

I use the downloaded version of the koolreport in this project so nothing was installed using the composer.

Eugene commented on Apr 1

I followed the solution and executed the composer command in koolreport/excel folder. It has solved the issue.

But it means that your koolreport distributive that is available for downloading is not correct and consists the error in dependencies.

Sebastian Morales commented on Apr 2

It could be the case that the KoolReport Pro zip package was run under a different PHP version from yours. If you use composer to install koolreport/pro and still have this issue let us know. Tks,

Eugene commented on Apr 2

If so I think you should specify which version the download package is for or even prepare multiple packages for different versions of PHP. Who knows what other packages have problems due to differences in versions.

Build Your Excellent Data Report

Let KoolReport help you to make great reports. It's free & open-source released under MIT license.

Download KoolReport View demo
bug
help needed

Excel