サポート » 使い方全般 » WP管理画面が真っ白になります

  • 初めての投稿です。失礼致します。
    wordpressを使ってウェブサイトを運営しているのですが、昨日の0時ごろから管理画面にログインしようとすると画面が真っ白になってしまい、管理画面が一切いじれない状況になりました。

    使っているサーバはさくらインターネットです。ワードプレスのバージョンは管理画面にログインが出来ないためわかりません。

    エラーメッセージを表示させたところ、以下のものが出てまいりました。

    Notice: register_uninstall_hook was called incorrectly. Only a static class method or function can be used in an uninstall hook. Please see Debugging in WordPress for more information. (This message was added in version 3.1.) in /home/baggage-tr/www/soukeigakusei/wp-includes/functions.php on line 3069

    Strict Standards: Redefining already defined constructor for class FaviconRotator in /home/baggage-tr/www/soukeigakusei/wp-content/plugins/favicon-rotator/model.php on line 110

    Strict Standards: Redefining already defined constructor for class FVRT_Base in /home/baggage-tr/www/soukeigakusei/wp-content/plugins/favicon-rotator/includes/class.base.php on line 40

    Strict Standards: Redefining already defined constructor for class FVRT_Utilities in /home/baggage-tr/www/soukeigakusei/wp-content/plugins/favicon-rotator/includes/class.utilities.php on line 17

    Strict Standards: Redefining already defined constructor for class FVRT_Media in /home/baggage-tr/www/soukeigakusei/wp-content/plugins/favicon-rotator/includes/class.media.php on line 78

    Strict Standards: Redefining already defined constructor for class admin_subpages in /home/baggage-tr/www/soukeigakusei/wp-content/plugins/post-plugin-library/admin-subpages.php on line 22

    Strict Standards: Only variables should be passed by reference in /home/baggage-tr/www/soukeigakusei/wp-content/plugins/slayers-custom-widgets/slayer_Custom_Widgets.php on line 51

    Notice: register_sidebar_widget is deprecated since version 2.8! Use wp_register_sidebar_widget() instead. in /home/baggage-tr/www/soukeigakusei/wp-includes/functions.php on line 2928

    Notice: register_widget_control is deprecated since version 2.8! Use wp_register_widget_control() instead. in /home/baggage-tr/www/soukeigakusei/wp-includes/functions.php on line 2928

    Warning: Cannot modify header information – headers already sent by (output started at /home/baggage-tr/www/soukeigakusei/wp-config.php:1) in /home/baggage-tr/www/soukeigakusei/wp-includes/pluggable.php on line 899

    Notice: Use of undefined constant user_level – assumed ‘user_level’ in /home/baggage-tr/www/soukeigakusei/wp-content/plugins/ultimate-google-analytics/ultimate_ga.php on line 524

    考えられる原因としては二つあります。

    ①mysqlのデータベースを InnoDBからMyISAMに変更し、再度InnoDBに戻しました。
    この時点で、固定ページ等の更新ボタンを押したり、プラグインをアップロードしたりすると、画面が真っ白になる現象が発生しました。しかし、なんとか操作は出来る状況でした。

    ②その後、プラグインを数種類導入しました。
    ①の後に、プラグインを数種類導入し、それをきっかけにしたかのように管理画面ログイン画面が真っ白になりました。

    以上です。どうか、ご助力頂けましたら幸いでございます。
    宜しくお願い申し上げます。

3件の返信を表示中 - 1 - 3件目 (全3件中)
  • 私の経験上、function.phpかプラグインの可能性が高いと思います。
    特にプラグインの場合、アップデートのタイミングで真っ白になったりと多いです。
    他にはメモリーを使いすぎたりなのも可能性ががあります。
    (カスタムタイプやカスタムフィールドが多いため、不可がかかっていたりなど)

    一度、プラグインフォルダをFPTでコピーをとり、フォルダごと削除またはリネームしてみてはいかがでしょうか?
    復旧すれば、プラグインのどれかが原因の可能性
    復旧しない場合は、functionの見直し(一度他のテーマに切り替え)などで、原因の追究をしてみてはどうでしょうか?

    ちなみにうちの場合は、プラグインとカスタムフィールドの肥大化か原因でした。
    ご参考までに

    モデレーター jim912

    (@jim912)

    エラーメッセージには、PHPが処理を停止してしまう致命的なエラーは含まれていません。
    それより、

    Warning: Cannot modify header information

    のエラーは、すでにヘッダーが出力済で、ヘッダーの送信ができませんというエラーで、管理画面にログインする際のリダイレクト処理の際に発生しやすいものとなっています。

    原因ですが、

    wp-config.php:1

    の記述から、wp-config.php の 1行目で出力があると分かります。
    1行目で出力がされているということは、編集時に空行を入れてしまったか、UTF-8 BOM付きで編集を行ってしまったかのいずれかです。

    まずは、この点について確認をしてみてください。

    ただし、このエラーは、エラーメッセージを表示させようとした際に発生したものである可能性が高いので、最初の発生原因とは異なる可能性もあります。
    この場合は、再度エラーメッセージを確認し、同様の原因が他の箇所で発生していないか確認してください。

    トピック投稿者 ryohetoy

    (@ryohetoy)

    お二方、どうもありがとうございます。
    さっそく着手してみたところ…

    wp-config.phpがBOMありになっていました!!

    これで解決して、管理画面にログインできました。
    本当にありがとうございました!!

    また何かありましたら、よろしくお願いいたします!

3件の返信を表示中 - 1 - 3件目 (全3件中)
  • トピック「WP管理画面が真っ白になります」には新たに返信することはできません。