Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SimpleXLSXGen generated spreadsheet can not be parsed by SimpleXLSX #144

Open
JohanFredrikVaren opened this issue Apr 9, 2024 · 1 comment
Assignees

Comments

@JohanFredrikVaren
Copy link

Running the following code

SimpleXLSXGen::fromArray([
	['Foo', 'Bar', 'Baz'],
])->saveAs('simple.xlsx');
SimpleXLSX::parse('simple.xlsx');

... will produce the following PHP error:
foreach() argument must be of type array|object, null given

Call stack:
vendor/shuchkin/simplexlsx/src/SimpleXLSX.php:508
vendor/shuchkin/simplexlsx/src/SimpleXLSX.php:738

@shuchkin shuchkin self-assigned this Apr 9, 2024
@shuchkin
Copy link
Owner

shuchkin commented Apr 9, 2024

fixed in SimpleXLSX 1.0.21

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants