[wp-trac] [WordPress Trac] #58945: Issues with downloading and unpacking plugins with PHP 8.2

WordPress Trac noreply at wordpress.org
Wed Aug 2 18:02:53 UTC 2023


#58945: Issues with downloading and unpacking plugins with PHP 8.2
-----------------------------+------------------------------
 Reporter:  pablo07          |       Owner:  (none)
     Type:  defect (bug)     |      Status:  new
 Priority:  normal           |   Milestone:  Awaiting Review
Component:  Upgrade/Install  |     Version:  6.2.2
 Severity:  normal           |  Resolution:
 Keywords:                   |     Focuses:
-----------------------------+------------------------------

Comment (by afragen):

 I could not replicate and this using PHP 8.2.8 in Local app.


 {{{
 Setting Local environment variables...
 ----
 WP-CLI:   WP-CLI 2.8.1
 Deprecation Notice: Using ${var} in strings is deprecated, use {$var}
 instead in
 phar:///Applications/Local.app/Contents/Resources/extraResources/bin/composer/composer.phar/src/Composer/Autoload/AutoloadGenerator.php:799
 Deprecation Notice: Using ${var} in strings is deprecated, use {$var}
 instead in
 phar:///Applications/Local.app/Contents/Resources/extraResources/bin/composer/composer.phar/src/Composer/Autoload/AutoloadGenerator.php:804
 Composer: 2.1.5 2021-07-23
 PHP:      8.2.8
 MySQL:    mysql  Ver 8.0.16 for macos10.14 on x86_64 (MySQL Community
 Server - GPL)
 ----
 Launching shell: /bin/zsh ...
 ➜  AJF-M1-MBA arm64: ~/Local_Sites/lightning/app/public wp plugin install
 classic-editor --version=1.6.1
 Installing Classic Editor (1.6.1)
 Downloading installation package from
 https://downloads.wordpress.org/plugin/classic-editor.1.6.1.zip...
 The authenticity of classic-editor.1.6.1.zip could not be verified as no
 signature was found.
 Unpacking the package...
 Installing the plugin...
 Plugin installed successfully.
 Success: Installed 1 of 1 plugins.
 ➜  AJF-M1-MBA arm64: ~/Local_Sites/lightning/app/public wp plugin update
 classic-editor
 Downloading update from https://downloads.wordpress.org/plugin/classic-
 editor.1.6.3.zip...
 Using cached file '/Users/afragen/.wp-cli/cache/plugin/classic-
 editor-1.6.3.zip'...
 The authenticity of classic-editor.1.6.3.zip could not be verified as no
 signature was found.
 Unpacking the update...
 Installing the latest version...
 Removing the old version of the plugin...
 Plugin updated successfully.
 +----------------+-------------+-------------+---------+
 | name           | old_version | new_version | status  |
 +----------------+-------------+-------------+---------+
 | classic-editor | 1.6.1       | 1.6.3       | Updated |
 +----------------+-------------+-------------+---------+
 Success: Updated 1 of 1 plugins.
 ➜  AJF-M1-MBA arm64: ~/Local_Sites/lightning/app/public wp plugin update
 classic-editor --version=1.6.1
 Installing Classic Editor (1.6.1)
 Downloading installation package from
 https://downloads.wordpress.org/plugin/classic-editor.1.6.1.zip...
 Using cached file '/Users/afragen/.wp-cli/cache/plugin/classic-
 editor-1.6.1.zip'...
 The authenticity of classic-editor.1.6.1.zip could not be verified as no
 signature was found.
 Unpacking the package...
 Installing the plugin...
 Removing the old version of the plugin...
 Plugin updated successfully.
 Success: Installed 1 of 1 plugins.
 ➜  AJF-M1-MBA arm64: ~/Local_Sites/lightning/app/public wp plugin update
 classic-editor
 Downloading update from https://downloads.wordpress.org/plugin/classic-
 editor.1.6.3.zip...
 Using cached file '/Users/afragen/.wp-cli/cache/plugin/classic-
 editor-1.6.3.zip'...
 The authenticity of classic-editor.1.6.3.zip could not be verified as no
 signature was found.
 Unpacking the update...
 Installing the latest version...
 Removing the old version of the plugin...
 Plugin updated successfully.
 +----------------+-------------+-------------+---------+
 | name           | old_version | new_version | status  |
 +----------------+-------------+-------------+---------+
 | classic-editor | 1.6.1       | 1.6.3       | Updated |
 +----------------+-------------+-------------+---------+
 Success: Updated 1 of 1 plugins.

 }}}

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/58945#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list