You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In a symfony4 project, I generate an excel file with macros with spreadsheet.
with php7.2 it 's work fine. but when I try with a 7.4 php version I get this: Notice: Trying to access array offset on value of type bool
my pfile is : "zip:///home/..../test.xlsm#xl/media/image62.wmf" & xl/media/image62.wmf is added automatically getimagesize($pfile); ==> return false so return image_type_to_mime_type($image[2]); return this Notice
any help plz?
The text was updated successfully, but these errors were encountered:
I'm having a similar issue. No macros but if there is an image in the spreadsheet it will throw this error. I have no idea what is wrong or how to fix it, please help.
hirossyi73
pushed a commit
to kajitori-git/PhpSpreadsheet
that referenced
this issue
Feb 12, 2021
See issue PHPOffice#1685. PR PHPOffice#1844 fixes it, but changes were requested. It has been almost 3 months and those changes have not been made. This PR replaces that one; it should be suitable for all supported releases of PHP through 8.1, and includes a formal unit test.
hello,
In a symfony4 project, I generate an excel file with macros with spreadsheet.
with php7.2 it 's work fine. but when I try with a 7.4 php version I get this:
Notice: Trying to access array offset on value of type bool
my pfile is : "zip:///home/..../test.xlsm#xl/media/image62.wmf" & xl/media/image62.wmf is added automatically
getimagesize($pfile);
==> return false soreturn image_type_to_mime_type($image[2]);
return this Noticeany help plz?
The text was updated successfully, but these errors were encountered: