Closed cpxPratik closed 8 months ago
Can you try to use something like Redis as cache store. I wouldn't recommend using file caching as the i/o would probably make it slower.
@patrickbrouwers Had the same issue with 'batch' as cache.driver
. Switching to illuminate
backed by redis fixed it
This should be fixed again in the latest release.
Is the bug applicable and reproducable to the latest version of the package and hasn't it been reported before?
What version of Laravel Excel are you using?
3.1.52
What version of Laravel are you using?
8.83.27
What version of PHP are you using?
PHP 8.2.13
Describe your issue
Using cell caching with batch store with default limit 60000 on config generates following error log for exporting excel with large no. of rows and multiple sheets. It some how tries to serialize and cache vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Spreadsheet.php object (not allowed by the PR), while the flushed cache items should contain cell data only.
The issue is similar to this
How can the issue be reproduced?
Use batch cell caching on
config/excel.php
and try to generate excel files with large no. of rows.What should be the expected behaviour?
I should be able to download large excel file with multiple sheets without any errors.