web-dev-qa-db-ja.com

Wordpressは、すべてのプラグインがすでに更新されているときに、1つのプラグインが更新されていることを示しています

そのため、私はフォーラムで検索しましたが、私のような問題を抱えている人は何人か見つかりましたが、これを修正する方法をまだ見つけていません。何が起こっているのですかWordPressは、すべてのプラグインが更新されたときに、1つのプラグインが更新されたことを示しています。以下は、スクリーンショットの画像リンクであり、私が話している内容を確認できます。

http://imgur.com/HlspXv7

今、私はWPの再インストール、および Artiss Transient Cleaner を使用して一時的なメッセージを削除するなど、いくつかのことを試しましたが、何も機能しないようです。このローグ/ゴースト「プラグイン」が何もないときにアップデートをリクエストする原因となる可能性のあるアイデアはありますか?おかげで、私はあなたの助けに感謝します。

24
djoliverm

これは、アクティベーションキーを必要とするプレミアムプラグインやテーマで時々見られます。 WP UIはプラグインまたはテーマを更新するための方法を提供しませんが、保留中の更新カウント数はUIに表示されます。

ソースを追跡するには、次の関数を使用します。

/**
 * Debug Pending Updates
 *
 * Crude debugging method that will spit out all pending plugin
 * and theme updates for admin level users when ?debug_updates is
 * added to a /wp-admin/ URL.
 */
function debug_pending_updates() {

    // Rough safety nets
    if ( ! is_user_logged_in() || ! current_user_can( 'manage_options' ) ) return;
    if ( ! isset( $_GET['debug_updates'] ) ) return;

    $output = "";

    // Check plugins
    $plugin_updates = get_site_transient( 'update_plugins' );
    if ( $plugin_updates && ! empty( $plugin_updates->response ) ) {
        foreach ( $plugin_updates->response as $plugin => $details ) {
            $output .= "<p><strong>Plugin</strong> <u>$plugin</u> is reporting an available update.</p>";
        }
    }

    // Check themes
    wp_update_themes();
    $theme_updates = get_site_transient( 'update_themes' );
    if ( $theme_updates && ! empty( $theme_updates->response ) ) {
        foreach ( $theme_updates->response as $theme => $details ) {
            $output .= "<p><strong>Theme</strong> <u>$theme</u> is reporting an available update.</p>";
        }
    }

    if ( empty( $output ) ) $output = "No pending updates found in the database.";

    wp_die( $output );
}
add_action( 'init', 'debug_pending_updates' );

それをテーマのfunctions.phpファイルに追加し、URLに?debug_updatesを追加したページにアクセスします。例:yourdomain.com/wp-admin/?debug_updates。これにより、問題の原因となっているテーマまたはプラグインが表示されます。

25
Kevin Leary

私はこの問題を抱えていましたが、新しい翻訳が利用可能であったということです(Updatesページからは明らかではないので、Update Translationsにアクセスする必要があります下);

enter image description here

トランザクションを更新した後...警告は消えました。

enter image description here

9
Tom H

期限切れのYoast Premiumプラグインが原因でしたが、それを非アクティブ化して再アクティブ化すると、更新の問題が解決しました。

9
Ed Movius

URLにパラメーターを追加する必要のない、ケビンの回答のわずかに変更されたバージョン。プラグイン、テーマ、翻訳の直後にupdate-coreにフックし、アップデートのリストを表示します。

/**
 * Debug Pending Updates
 *
 * Displays hidden plugin and theme updates on update-core screen.
 */
function debug_pending_updates() {

  // Rough safety nets
  if ( ! is_user_logged_in() || ! current_user_can( 'update_plugins' ) || ! current_user_can( 'update_themes' ) ) return;

  $output = "";

  // Check plugins
  $plugin_updates = get_site_transient( 'update_plugins' );
  if ( $plugin_updates && ! empty( $plugin_updates->response ) ) {
    foreach ( $plugin_updates->response as $plugin => $details ) {
      $output .= "<p><strong>Plugin</strong> <u>$plugin</u> is reporting an available update.</p>";
    }
  }

  // Check themes
  wp_update_themes();
  $theme_updates = get_site_transient( 'update_themes' );
  if ( $theme_updates && ! empty( $theme_updates->response ) ) {
    foreach ( $theme_updates->response as $theme => $details ) {
      $output .= "<p><strong>Theme</strong> <u>$theme</u> is reporting an available update.</p>";
    }
  }

  if ( empty( $output ) ) $output = "No pending updates found in the database.";

  echo "<h2>Pending updates</h2>" . $output;
}
add_action( 'core_upgrade_preamble', 'debug_pending_updates' );
8
moped

Wordpress 5.0.1のインストールで同じ問題が発生しました。私の場合、これはFormidable Premiumプラグが原因でした。この問題はFormidableサポートチームからも送信されました。そこに変更、ここに彼らのメッセージがあります:

Hi ,

As some of you may know, we updated the licensing software on our
site a few months ago. This meant we had to move all of the
licensing information to a new format. Unfortunately, this caused
some of the custom site limits to be reduced for add-ons that
weren’t bundled with a grandfathered license. 

We had a few people understandably ask us about this. Our solution
was that they could manually upgrade to a bundle, which would solve
the problem.  

However, over the last month we were made aware that some people
were upset with the reduction in limits, but hadn’t contacted us
about it.  

As a result, we set to work and moved everyone with a Business or
Enterprise license over to a bundle that would automatically correct
the issue.  

I want to take this opportunity to apologize for the trouble we may
have caused, and that we didn’t realize sooner that so many people
had been negatively affected. I would also like to reassure you that
we never intend to remove a grandfathered benefit from your account.


I hope you were not among the group that lost faith in us over this
issue. While we will always aim to resolve issues as soon as they
occur, we would ask that if you ever run into another problem, that
you contact us about it first. That way, we can rectify the problem
and reduce the trouble it causes you.

したがって、プラグインが開発者のapiにアクセスする方法を変更している場合は、非常によくあることです。

よろしく、ノーバート

2
Norbert

私はこの問題を経験し、W3 Total Cacheが原因であることがわかりました。プラグインを非アクティブ化および再アクティブ化すると、問題が解決しました。手がかりとして this forum への帽子のヒント。

1
SteveSong

ほとんどの場合、プレミアムプラグインで発生します。そのため、通知が消えて再び反応するまで、プラグインを1つずつ非アクティブにします。その後、問題が解決します。

1
mmmfarhan

FTPアクセスがある場合は、pluginsフォルダーを調べて、Wordpressに表示されるものと一致するX番号があることを確認してください。多分あなたは壊れているものを持っているかもしれないので、それはまだそれを検出していますが、それが正しくフォーマットされていないので、Wordpressに表示されていません。

FTPアクセス権がない場合でも、[プラグイン]> [エディター]に移動し、右上隅のドロップダウンを見ると、ファイルを表示できます。

0
Elijah Murray