Opened 4 months ago
#57711 new defect (bug)
PclZipUtilTranslateWinPath() fails when php_uname() function not available
Reported by: |
|
Owned by: | |
---|---|---|---|
Milestone: | Awaiting Review | Priority: | normal |
Severity: | minor | Version: | 6.1.1 |
Component: | External Libraries | Keywords: | |
Focuses: | Cc: |
Description
In PclZip class (wp-admin/includes/class-pclzip.php) PclZipUtilTranslateWinPath() calls php_uname(). If that function is disabled then the call fails.
php_uname() is disabled on EasyWP host (part of Namecheap).
https://www.namecheap.com/support/knowledgebase/article.aspx/9901/2279/easywp-list-of-php-functions-disabled-on-easywp-platform/
Core handles this by checking whether php_uname() exists (in wp-admin/includes/class-wp-debug.php).
Is it possible to get PclZip to do the same? I checked PclZip host site (http://www.phpconcept.net) but there was no contact info there.
This error arose while using https://wordpress.org/plugins/simply-static/
Note: See
TracTickets for help on using
tickets.