Replies: 1 comment 12 replies
-
Please upload a copy of the spreadsheet where you see this problem. |
Beta Was this translation helpful? Give feedback.
12 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
The issue I'm having is twofold. I'm using PHP 8.0.3 and, while I don't know which version of PHPSpreadsheet I'm using, it's only a month or two out of date.
The first issue is basically exactly like the issue described here: #456. I have a basic PHP program that instantiates a reader, uses it to read an existing .xlsx file and create a Spreadsheet, instantiates a writer, and uses the Spreadsheet to output a copy of the original. The original spreadsheet has formulas that are designed to automatically calculate when certain other fields are filled, as per usual excel formula behavior. The problem is that the outputted copy does not automatically calculate these formulas like the original does. I saw that the issue above addressed the issue and pushed a solution into the codebase, but that solution doesn't seem to be helping here. I also tried the solution mentioned in this comment (#456 (comment)), but that also did not help as the solution seems to be out of date with how PHPSpreadsheet works now.
The other issue is that, after attempting to update PHPSpreadsheet with Composer in pursuit of a solution to the above problem, I found that my program no longer functions. It outputs a copy of the original spreadsheet, but opening it returns the error "We found a problem with some content" and trying to recover it shows that the first sheet is wiped totally blank.
Is anyone else seeing any of these issues lately? Have any solutions be found?
Beta Was this translation helpful? Give feedback.
All reactions