[wp-trac] [WordPress Trac] #54036: PclZip throwing errors on PHP 8 - previously merged patch is incomplete

WordPress Trac noreply at wordpress.org
Sat Aug 28 22:35:11 UTC 2021


#54036: PclZip throwing errors on PHP 8 - previously merged patch is incomplete
----------------------------+-----------------------------
 Reporter:  DavidAnderson   |      Owner:  (none)
     Type:  defect (bug)    |     Status:  new
 Priority:  normal          |  Milestone:  Awaiting Review
Component:  Filesystem API  |    Version:  trunk
 Severity:  normal          |   Keywords:
  Focuses:                  |
----------------------------+-----------------------------
 The patch merged in https://core.trac.wordpress.org/ticket/52018 is
 incomplete, and when using `PclZip::add()`, you can still get fatal
 errors.

 In UpdraftPlus (where we've had a number of affected users), the trace
 (from the relevant point onwards) is:

 `UpdraftPlus_Backup->makezip_addfiles, UpdraftPlus_PclZip->close,
 PclZip->add, PclZip->privAdd, PclZip->privAddFileList,
 PclZip->privAddFile`

 A patch is being attached.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/54036>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list