2023a0716
フォーラムへの返信
-
フォーラム: プラグイン
返信が含まれるトピック: Advanced Custom Fieldsフォーラム: プラグイン
返信が含まれるトピック: Advanced Custom Fieldsご回答ありがとうございます
この
register_sidebar( array( ‘id’ => ‘sidebar-1’, ‘name’ => ‘サイドバー 1’ ));
これはエラー指定の5865行目の/* First we check if the DOMDocument class exists. If it does not exist, then we cannotの下に追記すればいいということでしょうか?
少し回復しており
Notice: Function register_sidebar was called incorrectly. 「サイドバー 1」サイドバーの引数の配列で
idが設定されませんでした。既定では「sidebar-1」です。idに「sidebar-1」を設定することでこの情報を消して、既存のサイドバーのコンテンツを保つことができます。 詳しくは WordPress のデバッグをご覧ください。 (このメッセージはバージョン 4.2.0 で追加されました) in /home/infinityinc/www/wp/wp-includes/functions.php on line 5865Warning: Cannot modify header information – headers already sent by (output started at /home/infinityinc/www/wp/wp-includes/functions.php:5865) in /home/infinityinc/www/wp/wp-includes/pluggable.php on line 1427
Warning: Cannot modify header information – headers already sent by (output started at /home/infinityinc/www/wp/wp-includes/functions.php:5865) in /home/infinityinc/www/wp/wp-includes/pluggable.php on line 1430
とでますが、
/* First we check if the DOMDocument class exists. If it does not exist, then we cannot
これがfunctions.php on line 5865部分ですがsidebarなどないのですがどこがおかしいのでしょうか
はい、その通りです。
同じサーバーにAサイト(WP)とBサイト(WP3838)と今なってます。
データベースは残ってます。ワードプレスが再インストールされどのように元に戻すべきでしょうか
もともとサクラサーバーにあったサイト(Aとします)です。
そのサブで今回新しくサーバー移管しておりましたがPHPのバージョン違い?でうまくいかず触っておりましたら、Aサイトが見れなくなり、wordpressのインストール画面になりました。そしてアカウントやパスを設定し直し、ログインしたら中身がない初期化されたAサイトになってしまいました。
他の触っていないサイトまでおかしくなりました。
wpのメインでもう一つあったのですが、見れなくなりワードプレスをインストールする画面になり、インストールしたら中身がなく初期化されてしまいました。至急です、どうしたら復活できますか?