The Session_PlayDataExporter utilizes the ZipArchive utility to create zip files of CSVs of various score data to be exported upon request by users. As of PHP 8.1, ZipArchive is emitting the following fatal error:
ZipArchive::open(): Using empty file as ZipArchive is deprecated
This is apparently related to our use of tempnam(), creating an empty file as the source of the zip archive. Both the built-in play data exporter class will need to be updated, along with any widgets that have their own playdata exporters that includes zip file creation.
The
Session_PlayDataExporter
utilizes theZipArchive
utility to create zip files of CSVs of various score data to be exported upon request by users. As of PHP 8.1, ZipArchive is emitting the following fatal error:This is apparently related to our use of
tempnam()
, creating an empty file as the source of the zip archive. Both the built-in play data exporter class will need to be updated, along with any widgets that have their own playdata exporters that includes zip file creation.