質問をすることでしか得られない、回答やアドバイスがある。

15分調べてもわからないことは、質問しよう!

新規登録して質問してみよう
ただいま回答率
85.50%
WordPress

WordPressは、PHPで開発されているオープンソースのブログソフトウェアです。データベース管理システムにはMySQLを用いています。フリーのブログソフトウェアの中では最も人気が高く、PHPとHTMLを使って簡単にテンプレートをカスタマイズすることができます。

Q&A

解決済

3回答

7400閲覧

WPの投稿一覧からの検索ができない

KandM

総合スコア25

WordPress

WordPressは、PHPで開発されているオープンソースのブログソフトウェアです。データベース管理システムにはMySQLを用いています。フリーのブログソフトウェアの中では最も人気が高く、PHPとHTMLを使って簡単にテンプレートをカスタマイズすることができます。

0グッド

0クリップ

投稿2016/07/15 06:12

編集2016/07/15 09:19

※この質問は直接プログラミングとは関係がないので、もしかしたらサイト違いかもしれませんが、お分かりになる方がいらっしゃればぜひ教えていただきたいと思い投稿いたしました。

問題となっているのはタイトルにある通り、
WPの管理画面の投稿>投稿一覧>右上にある検索フォームで検索すると真っ白な画面になり、投稿一覧の検索ができなくなっております。

真っ白ページでのURLは次の通りで
http://サイト名/wp-admin/edit.php?s=%E6%8A%95%E7%A8%BF&【←入力したワード?】post_status=all&post_type=post&_wpnonce=10b5905c9e&_wp_http_referer=%2Fwp-admin%2Fedit.php&action=-1&m=0&cat=0&paged=1&action2=-1

と表示されます。
昨日まではなんともなく使用できており、もう一つ管理しているサイトの方では問題なく検索できています。
もしかしたらこれが原因?というものは分かっており、昨日更新したプラグインの中にUser roll editorというのがあり、上記のURLを直接メモ帳に張り付けてみるとそれが表示されていました。

同プラグインについては調べてみましたが、使い方や役割などの解説ぺ―ジばかりで具体的に問題点を洗い出し、解決することができません。

何卒よろしくお願いいたします。

追記分:ご指摘のあったデバッグモードでの説明文です。

Notice: wp_enqueue_script was called incorrectly. Scripts and styles should not be registered or enqueued until the wp_enqueue_scripts, admin_enqueue_scripts, or login_enqueue_scripts hooks. Please see Debugging in WordPress for more information. (This message was added in version 3.3.) in /home/sites/heteml/users/c/h/a/サイト/web/サイト/wp-includes/functions.php on line 3897 Notice: Undefined index: includeFbmlLangAttr in /home/sites/heteml/users/c/h/a/サイト/wp-content/plugins/facebook-comments-for-wordpress/facebook-comments.php on line 142 Notice: Undefined index: includeOpenGraphLangAttr in /home/sites/heteml/users/c/h/a/サイト/wp-content/plugins/facebook-comments-for-wordpress/facebook-comments.php on line 142 Notice: Undefined index: includeOpenGraphMeta in /home/sites/heteml/users/c/h/a/サイト/wp-content/plugins/facebook-comments-for-wordpress/facebook-comments.php on line 160 Notice: Undefined index: fbCommentCount in /home/sites/heteml/users/c/h/a/サイト/wp-content/plugins/facebook-comments-for-wordpress/facebook-comments.php on line 261 Notice: Undefined index: combineCommentCounts in /home/sites/heteml/users/c/h/a/サイト/wp-content/plugins/facebook-comments-for-wordpress/facebook-comments.php on line 265 Strict Standards: Non-static method PopularPosts::install_post_plugin_library() should not be called statically in /home/sites/heteml/users/c/h/a/たらら/wp-content/plugins/popular-posts-plugin/popular-posts.php on line 75 Strict Standards: Redefining already defined constructor for class admin_subpages in /home/sites/heteml/users/たられ/wp-content/plugins/post-plugin-library/admin-subpages.php on line 22 Notice: Use of undefined constant WPLANG - assumed 'WPLANG' in /home/sites/heteml/users/ららら/wp-content/plugins/similar-posts/similar-posts.php on line 557 Deprecated: Assigning the return value of new by reference is deprecated in /home/sites/heteml/users/c/h/a/ればー/plugins/wp-ogp-customized-master/libs/class-setting-page.php on line 63 Deprecated: Assigning the return value of new by reference is deprecated in /home/sites/heteml/users/c/h/a/れれれ/wp-content/plugins/wp-ogp-customized-master/libs/class-setting-section.php on line 44 Warning: Cannot modify header information - headers already sent by (output started at /home/sites/heteml/users/c/h/a/れれれ/wp-includes/functions.php:3897) in /home/sites/heteml/users/c/h/a/れれれ/wp-content/plugins/multi-device-switcher/multi-device-switcher.php on line 118 Notice: register_sidebar_widget is deprecated since version 2.8! Use wp_register_sidebar_widget() instead. in /home/sites/heteml/users/c/h/a/れれれ/wp-includes/functions.php on line 3658 Notice: register_widget_control is deprecated since version 2.8! Use wp_register_widget_control() instead. in /home/sites/heteml/users/c/h/a/れれれ/wp-includes/functions.php on line 3658 Notice: register_sidebar_widget is deprecated since version 2.8! Use wp_register_sidebar_widget() instead. in /home/sites/heteml/users/c/h/a/れれれ/wp-includes/functions.php on line 3658 Notice: register_widget_control is deprecated since version 2.8! Use wp_register_widget_control() instead. in /home/sites/heteml/users/c/h/a/れれれ/wp-includes/functions.php on line 3658

一部編集しております。

気になる質問をクリップする

クリップした質問は、後からいつでもMYページで確認できます。

またクリップした質問に回答があった際、通知やメールを受け取ることができます。

バッドをするには、ログインかつ

こちらの条件を満たす必要があります。

kei344

2016/07/15 08:37

「真っ白になってしまう」場合、デバックモードで確認してください。⇒ http://mignonstyle.com/debug-mode/ その上でエラー文を質問文に追記ください。
kei344

2016/07/15 09:03

出来ればコードブロックで囲んでいただけませんか? ```(バッククオート3つ)で囲み、前後に改行をいれるか、コードを選択して「</>」ボタンを押すとコードブロックになります。
KandM

2016/07/15 09:08

追記部分の英文全体を、でしょうか?それとも段落ごとに囲んだ方がよろしいでしょうか?
kei344

2016/07/15 09:13

エラー文全体でお願いします。
kei344

2016/07/15 09:20

編集ありがとうございます。
guest

回答3

0

何が問題なのか消去法していくしかないと思います。

ひとまず、
1.プラグインを停止する
2.プラグインをアンインストールする
検索フォームが正常に動くようになるのであればプラグインの問題になります。
プラグインには競合や相性があるので、1度全てのプラグインを停止してみるのも大事です。

検索すると真っ白な画面

PHPの処理が正常に行われずにこの状態になっているのであれば、wp-config.php

PHP

1define('WP_DEBUG', false);

となっているのを

PHP

1define('WP_DEBUG', true);

にして表示されるエラー情報も確認してみてください。

投稿2016/07/15 08:38

ottoo

総合スコア84

バッドをするには、ログインかつ

こちらの条件を満たす必要があります。

0

自己解決

回答してくださった方々ありがとうございます。
表題の件ですが、なぜか今朝方、PCを再起動しましたら、問題なくWP使えるようになっておりました。

プラグインを落としたものの、やはり必要と感じたマルチデバイスも戻したところ問題なく動かせています。
(キャッシュのせいのか、PC側の問題だったのか。。)
お手数おかけいたしました。
またご回答いただいた方々、まことにありがとうござました。

投稿2016/07/19 06:06

KandM

総合スコア25

バッドをするには、ログインかつ

こちらの条件を満たす必要があります。

0

User roll editor はユーザー権限の設定を手助けするプラグインなので、検索や編集には直接作用することは無いと思います。

エラー文より、Multi Device Switcher が怪しいと思うのですが、一度停止されるか(あれば)アップデートされてみてはいかがでしょうか。

他の可能性としては、functions.php の記述に問題がある可能性もあります。例えば、「register_widget_control」という関数はかなり前に非推奨になった関数なので、一度デフォルトのテーマに戻してみて問題が起きないか確認してみるのも手段です。

投稿2016/07/15 09:26

kei344

総合スコア69364

バッドをするには、ログインかつ

こちらの条件を満たす必要があります。

あなたの回答

tips

太字

斜体

打ち消し線

見出し

引用テキストの挿入

コードの挿入

リンクの挿入

リストの挿入

番号リストの挿入

表の挿入

水平線の挿入

プレビュー

15分調べてもわからないことは
teratailで質問しよう!

ただいまの回答率
85.50%

質問をまとめることで
思考を整理して素早く解決

テンプレート機能で
簡単に質問をまとめる

質問する

関連した質問