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
Function libxml_disable_entity_loader() is deprecated in...\phpoffice\phpspreadsheet\src\PhpSpreadsheet\Reader\Security\XmlScanner.php on line 67
#2125
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.
- [x] a bug report
- [ ] a feature request
- [ ] **not** a usage question (ask them on https://stackoverflow.com/questions/tagged/phpspreadsheet or https://gitter.im/PHPOffice/PhpSpreadsheet)
What is the expected behavior?
Work like it did prior to PHP 8.0
What is the current behavior?
Throws errors and warnings but seems to still be functional
<?phprequire__DIR__ . '/vendor/autoload.php';
// Create new Spreadsheet object$spreadsheet = new \PhpOffice\PhpSpreadsheet\Spreadsheet();
// add code that show the issue here.../** Assign uploaded file to a variable */$inputFileName = $_FILES['import']['tmp_name'];
/** Identify the type of $inputFileName **/$inputFileType = \PhpOffice\PhpSpreadsheet\IOFactory::identify($inputFileName); /** throws error **//** Create a new Reader of the type that has been identified **/$reader = \PhpOffice\PhpSpreadsheet\IOFactory::createReader($inputFileType); /** throws error **/### Which versions of PhpSpreadsheet and PHP are affected?
^1.8and8.0
The text was updated successfully, but these errors were encountered:
1.8.2 is a very old release - it dates back to July 2019. 1.15.0, which fixed the problem, was over a year later. Is there something that prevents you from moving to the current released version (1.17.1) or master?
This is:
What is the expected behavior?
Work like it did prior to PHP 8.0
What is the current behavior?
Throws errors and warnings but seems to still be functional
What are the steps to reproduce?
Please provide a Minimal, Complete, and Verifiable example of code that exhibits the issue without relying on an external Excel file or a web server:
The text was updated successfully, but these errors were encountered: