[wp-trac] [WordPress Trac] #59320: Fatal error while processing failed plugin upgrade
WordPress Trac
noreply at wordpress.org
Sun Sep 10 02:11:21 UTC 2023
#59320: Fatal error while processing failed plugin upgrade
-----------------------------+-----------------------------
Reporter: akihiroharai | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Upgrade/Install | Version: trunk
Severity: minor | Keywords:
Focuses: |
-----------------------------+-----------------------------
Fatal error occurs while processing a failed plugin update.
{{{
$ wp plugin update disable-comments
メンテナンスモードを有効化中...
https://downloads.wordpress.org/plugin/disable-comments.2.4.5.zip から更新
をダウンロード中...
Using cached file '/var/web/.wp-cli/cache/plugin/disable-
comments-2.4.5.zip'...
署名が見つからなかったため、disable-comments.2.4.5.zip の信頼性を確認でき
ませんでした。
更新を展開しています…
最新のバージョンをインストールしています…
プラグインの古いバージョンを削除しています…
Warning: 古いプラグインを削除できませんでした。
プラグインの更新に失敗しました。
メンテナンスモードを無効にします…
+------------------+-------------+-------------+--------+
| name | old_version | new_version | status |
+------------------+-------------+-------------+--------+
| disable-comments | 2.4.4 | 2.4.5 | Error |
+------------------+-------------+-------------+--------+
Error: No plugins updated (1 failed).
PHP Fatal error: Uncaught ArgumentCountError: 2 arguments are required, 1
given in /var/web/wp/wp-admin/includes/class-wp-upgrader.php:1209
Stack trace:
#0 /var/web/wp/wp-admin/includes/class-wp-upgrader.php(1209): sprintf('%s
\xE3\x81\xAE\xE4\xB8\x80\xE6\x99\x82\xE3\x83\x90...')
#1 /var/web/wp/wp-includes/class-wp-hook.php(308):
WP_Upgrader->delete_temp_backup()
#2 /var/web/wp/wp-includes/class-wp-hook.php(334):
WP_Hook->apply_filters(Object(WP_Error), Array)
#3 /var/web/wp/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
#4 /var/web/wp/wp-includes/load.php(1252): do_action('shutdown')
#5 [internal function]: shutdown_action_hook()
#6 {main}
thrown in /var/web/wp/wp-admin/includes/class-wp-upgrader.php on line
1209
Fatal error: Uncaught ArgumentCountError: 2 arguments are required, 1
given in /var/web/wp/wp-admin/includes/class-wp-upgrader.php:1209
Stack trace:
#0 /var/web/wp/wp-admin/includes/class-wp-upgrader.php(1209): sprintf('%s
\xE3\x81\xAE\xE4\xB8\x80\xE6\x99\x82\xE3\x83\x90...')
#1 /var/web/wp/wp-includes/class-wp-hook.php(308):
WP_Upgrader->delete_temp_backup()
#2 /var/web/wp/wp-includes/class-wp-hook.php(334):
WP_Hook->apply_filters(Object(WP_Error), Array)
#3 /var/web/wp/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
#4 /var/web/wp/wp-includes/load.php(1252): do_action('shutdown')
#5 [internal function]: shutdown_action_hook()
#6 {main}
thrown in /var/web/wp/wp-admin/includes/class-wp-upgrader.php on line
1209
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/59320>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list