Excel

Excel import-export tools

Back to Excel Support

TouristPlay
TouristPlay

error occurs while exporting Declaration of Vdomah\Excel\Classes\XlsxStyled::load(string $pFilename, int $flags = 0) must be compatible with PhpOffice\PhpSpreadsheet\Reader\BaseReader::load(string $filename, int $flags = 0): PhpOffice\PhpSpreadsheet\Spreadsheet ~\plugins\vdomah\excel\classes\XlsxStyled.php line 325

How to solve this problem

geanmark
geanmark

plugins/vdomah/excel/classes/XlsxStyled.php on line 325 should be:

public function load(string $pFilename, int $flags = 0): Spreadsheet

that worked for me

office18072
office18072

Thanks! worked for me too!

1-3 of 3