Skip to content

Fatal error XlsxWriter.php on line 201 #6

@sam369963

Description

@sam369963

Hi I am using PHP version 7.4.27 and i have tried to-get it working phpspreadsheet to
phpoffice/phpspreadsheet": "^1.22",

When i use the your settings version 7.0 and 1.5 with this command
composer require lyquidity/php-pivottables-4-excel-lite:dev-master --prefer-dist

Fatal error: Declaration of lyquidity\xbrl_validate\PhpOffice\PhpSpreadsheet\Writer\Xlsx::save($pFilename): void must be compatible with PhpOffice\PhpSpreadsheet\Writer\Xlsx::save($filename, int $flags = 0): void in C:\xampp\htdocs\Pivot\vendor\lyquidity\php-pivottables-4-excel-lite\phpspreadsheet\XlsxWriter.php on line 201

Then i tried to use,
1. composer update --verbose (with the setting 7.4 and 1.22)
2. composer require lyquidity/php-pivottables-4-excel-lite:dev-master --prefer-dist
I still get the same error.

Fatal error: Declaration of lyquidity\xbrl_validate\PhpOffice\PhpSpreadsheet\Writer\Xlsx::save($pFilename): void must be compatible with PhpOffice\PhpSpreadsheet\Writer\Xlsx::save($filename, int $flags = 0): void in C:\xampp\htdocs\Pivot\vendor\lyquidity\php-pivottables-4-excel-lite\phpspreadsheet\XlsxWriter.php on line 201

What am i doing wrong

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions