ログイン出来なくなりました
-
ログインしようとすると、以下のようなエラーが出て先に進めません。
このサイトで重大なエラーが発生しました。対応手順については、サイト管理者のメール受信ボックスを確認してください。
対処方法をご教示ください。よろしくお願いいたします。
-
返信ありがとうございます。
デバッグモードを有効にしましたところ、HPのトップ画面に以下の文言が現れました。
Deprecated: ltrim(): Passing null to parameter #1 ($string) of type string is deprecated in /var/www/html/wp-includes/wp-db.php on line 3030
丸投げするようで申し訳ありませんが、これをどう解釈すべきなのでしょうか?
ご教示ください。お願いいたします。-
この返信は3年、 1ヶ月前に
jazzwalkerが編集しました。
@jazzwalker1 さん
こんにちは。
Deprecated: ltrim(): Passing null to parameter #1 ($string) of type string is deprecated in /var/www/html/wp-includes/wp-db.php on line 3030
→このエラーは、サイトが閲覧出来ないようなクリティカルなエラーではなく、今回の症状とは関係が無いと思います。
ログイン時に「重大なエラーが発生しました」と表示されたとの事なので、同じ操作(おそらくログイン試行)を行った時に、代わりに何かエラーメッセージが表示されていないかご確認下さい。
また、最初に申し上げた通り、サーバのエラーログをご確認下さい。
※エラーログの確認方法は、サーバ会社にお問い合わせください。初心者です。お世話になります。
>ログイン時に「重大なエラーが発生しました」と表示されたとの事なので、同じ操作(おそらくログイン試行)を行った時に、代わりに何かエラーメッセージが表示されていないかご確認下さい。
ログイン画面(ユーザー名、パスワード入力画面)にすると、今度は以下のようなメッセージが現れました。
エラー: 予期しない出力により Cookie がブロックされました。ヘルプが必要な場合はこちらのドキュメンテーションを参照するか、サポートフォーラムをご利用ください。
この「予期しない出力」とは何でしょうか?
>サーバのエラーログをご確認下さい。
ラズパイ3B+でサーバを組んでおり(雑誌記事に習った)、済みませんが詳しいことはわかりません。
ただ、WordPress自体のアップデート、プラグインのアップデートは行われているようなのです。これはその都度メールで通知が来るので、問題なしと理解しています。いつの間にか、ログインできなくなっていたというのが実情です。-
この返信は3年前に
jazzwalkerが編集しました。
-
この返信は3年前に
jazzwalkerが編集しました。
こんにちは
「予期しない出力」とは、大抵の場合、エラーメッセージです。
Cookie はサーバーがレスポンスを返す前にヘッダ情報として返される必要があります。
しかし、先にエラーメッセージがレスポンスとして返されたために、Cookie がブロックされた、ということだと思われます。何が起こっているのか知りたければ、@wildworks さんの仰る通り、サーバーのエラーログを確認してください。
返信ありがとうございます。
以下、エラーログの内容ですが、さっぱり理解できません。コメントを頂ければ幸いです。
pi@raspberrypi3B:~ $ tail -f /var/log/apache2/error.log [Sat Feb 26 08:28:58.554351 2022] [proxy_fcgi:error] [pid 18843] [client 52.139.206.136:18048] AH01071: Got error 'PHP message: PHP Deprecated: Return type of WP_Block_List::offsetExists($index) should either be compatible with ArrayAccess::offsetExists(mixed $offset): bool, or the #[\\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/html/wp-includes/class-wp-block-list.php on line 75PHP message: PHP Deprecated: Return type of WP_Block_List::offsetGet($index) should either be compatible with ArrayAccess::offsetGet(mixed $offset): mixed, or the #[\\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/html/wp-includes/class-wp-block-list.php on line 89PHP message: PHP Deprecated: Return type of WP_Block_List::offsetSet($index, $value) should either be compatible with ArrayAccess::offsetSet(mixed $offset, mixed $value): void, or the #[\\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/html/wp-includes/class-wp-block-list.php on line 110PHP message: PHP Deprecated: Return type of WP_Block_List::offsetUnset($index) should either be compatible with ArrayAccess::offsetUnset(mixed $offset): void, or the #[\\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/html/wp-includes/class-wp-block-list.php on line 127PHP message: PHP Deprecated: Return type of WP_Block_List::count() should either be compatible with Countable::count(): int, or the #[\\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/html/wp-includes/class-wp-block-list.php on line 199PHP message: PHP Deprecated: Return type of WPCF7_FormTag::offsetExists($offset) should either be compatible with ArrayAccess::offsetExists(mixed $offset): bool, or the #[\\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/html/wp-content/plugins/contact-form-7/includes/form-tag.php on line 396PHP message: PHP Deprecated: Return type of WPCF7_FormTag::offsetGet($offset) should either be compatible with ArrayAccess::offsetGet(mixed $offset): mixed, or the #[\\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/html/wp-content/plugins/contact-form-7/includes/form-tag.php on line 388PHP message: PHP Deprecated: Return type of WPCF7_FormTag::offsetSet($offset, $value) should either be compatible with ArrayAccess::offsetSet(mixed $offset, mixed $value): void, or the #[\\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/html/wp-content/plugins/contact-form-7/includes/form-tag.php on line 382PHP message: PHP Deprecated: Return type of WPCF7_FormTag::offsetUnset($offset) should either be compatible with ArrayAccess::offsetUnset(mixed $offset): void, or the #[\\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/html/wp-content/plugins/contact-form-7/includes/form-tag.php on line 400PHP message: PHP Deprecated: Return type of WPCF7_Validation::offsetExists($offset) should either be compatible with ArrayAccess::offsetExists(mixed $offset): bool, or the #[\\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/html/wp-content/plugins/contact-form-7/includes/validation.php on line 78PHP message: PHP Deprecated: Return type of WPCF7_Validation::offsetGet($offset) should either be compatible with ArrayAccess::offsetGet(mixed $offset): mixed, or the #[\\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/html/wp-content/plugins/contact-form-7/includes/validation.php on line 72PHP message: PHP Deprecated: Return type of WPCF7_Validation::offsetSet($offset, $value) should either be compatible with ArrayAccess::offsetSet(mixed $offset, mixed $value): void, or the #[\\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/html/wp-content/plugins/contact-form-7/includes/validation.php on line 59' [Sat Feb 26 08:28:58.713480 2022] [proxy_fcgi:error] [pid 18843] [client 52.139.206.136:18048] AH01071: Got error 'PHP message: PHP Deprecated: Return type of WPCF7_Validation::offsetUnset($offset) should either be compatible with ArrayAccess::offsetUnset(mixed $offset): void, or the #[\\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/html/wp-content/plugins/contact-form-7/includes/validation.php on line 82PHP message: PHP Deprecated: Implicit conversion from float 4294967295 to int loses precision in /var/www/html/wp-includes/pomo/mo.php on line 203PHP message: PHP Deprecated: Implicit conversion from float 4294967295 to int loses precision in /var/www/html/wp-includes/pomo/mo.php on line 203PHP message: PHP Deprecated: Implicit conversion from float 4294967295 to int loses precision in /var/www/html/wp-includes/pomo/mo.php on line 203PHP message: PHP Deprecated: Implicit conversion from float 4294967295 to int loses precision in /var/www/html/wp-includes/pomo/mo.php on line 203PHP message: PHP Deprecated: Implicit conversion from float 4294967295 to int loses precision in /var/www/html/wp-includes/pomo/mo.php on line 203PHP message: PHP Deprecated: DateTime::__construct(): Passing null to parameter #1 ($datetime) of type string is deprecated in /var/www/html/wp-includes/script-loader.php on line 333PHP message: PHP Deprecated: ltrim(): Passing null to parameter #1 ($string) of type string is deprecated in /var/www/html/wp-includes/wp-db.php on line 3030PHP message: PHP Deprecated: Implicit conversion from float 4294967295 to int loses precision in /var/www/html/wp-includes/pomo/mo.php on line 203PHP message: PHP Deprecated: Implicit conversion from float 4294967295 to int loses precision in /var/www/html/wp-includes/pomo/mo.php on line 203PHP message: PHP Deprecated: Implicit conversion from float 4294967295 to int loses precision in /var/www/html/wp-includes/pomo/mo.php on line 203PHP message: PHP Deprecated: Implicit conversion from float 4294967295 to int loses precision in /var/www/html/wp-includes/pomo/mo.php on line 203PHP message: PHP Deprecated: Return type of Requests_Cookie_Jar::offsetExists($key) should either be compatible with ArrayAccess::offsetExists(mixed $offset): bool, or the #[\\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/html/wp-includes/Requests/Cookie/Jar.php on line 63PHP message: PHP Deprecated: Return type of Requests_Cookie_Jar::offsetGet($key) should either be compatible with ArrayAccess::offsetGet(mixed $offset): mixed, or the #[\\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/html/wp-includes/Requests/Cookie/Jar.php on line 73PHP message: PHP Deprecated: Return type of Requests_Cookie_Jar::offsetSet($key, $value) should either be compatible with ArrayAccess::offsetSet(mixed $offset, mixed $value): void, or the #[\\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/html/wp-includes/Requests/Cookie/Jar.php on line 89PHP message: PHP Deprecated: Return type of Requests_Cookie_Jar::offsetUnset($key) should either be compatible with ArrayAccess::offsetUnset(mixed $offset): void, or the #[\\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/html/wp-includes/Requests/Cookie/Jar.php on line 102PHP message: PHP Deprecated: Return type of Requests_Cookie_Jar::getIterator() should either be compatible with IteratorAggregate::getIterator(): Traversable, or the #[\\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/html/wp-includes/Requests/Cookie/Jar.php on line 111PHP message: PHP Deprecated: Return type of Requests_Utility_CaseInsensitiveDictionary::offsetExists($key) should either be compatible with ArrayAccess::offsetExists(mixed $offset): bool, or the #[\\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/html/wp-includes/Requests/Utility/CaseInsensitiveDictionary.php on line 40' [Sat Feb 26 08:28:58.760653 2022] [proxy_fcgi:error] [pid 18843] [client 52.139.206.136:18048] AH01071: Got error 'PHP message: PHP Deprecated: Return type of Requests_Utility_CaseInsensitiveDictionary::offsetGet($key) should either be compatible with ArrayAccess::offsetGet(mixed $offset): mixed, or the #[\\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/html/wp-includes/Requests/Utility/CaseInsensitiveDictionary.php on line 51PHP message: PHP Deprecated: Return type of Requests_Utility_CaseInsensitiveDictionary::offsetSet($key, $value) should either be compatible with ArrayAccess::offsetSet(mixed $offset, mixed $value): void, or the #[\\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/html/wp-includes/Requests/Utility/CaseInsensitiveDictionary.php on line 68PHP message: PHP Deprecated: Return type of Requests_Utility_CaseInsensitiveDictionary::offsetUnset($key) should either be compatible with ArrayAccess::offsetUnset(mixed $offset): void, or the #[\\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/html/wp-includes/Requests/Utility/CaseInsensitiveDictionary.php on line 82PHP message: PHP Deprecated: Return type of Requests_Utility_CaseInsensitiveDictionary::getIterator() should either be compatible with IteratorAggregate::getIterator(): Traversable, or the #[\\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/html/wp-includes/Requests/Utility/CaseInsensitiveDictionary.php on line 91PHP message: PHP Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /var/www/html/wp-includes/Requests/Transport/fsockopen.php on line 170PHP message: PHP Warning: Constant WP_DEBUG already defined in /var/www/html/wp-config.php on line 101PHP message: PHP Warning: Constant WP_DEBUG_LOG already defined in /var/www/html/wp-config.php on line 104PHP message: PHP Deprecated: trim(): Passing null to parameter #1 ($string) of type string is deprecated in /var/www/html/wp-includes/class-wp.php on line 173' [Sat Feb 26 08:28:58.784498 2022] [proxy_fcgi:error] [pid 18843] [client 52.139.206.136:18048] AH01071: Got error 'PHP message: PHP Deprecated: ltrim(): Passing null to parameter #1 ($string) of type string is deprecated in /var/www/html/wp-includes/wp-db.php on line 3030' [Sat Feb 26 08:33:55.580197 2022] [proxy_fcgi:error] [pid 18959] [client 91.211.91.184:48096] AH01071: Got error 'PHP message: PHP Deprecated: Return type of WP_Theme::offsetExists($offset) should either be compatible with ArrayAccess::offsetExists(mixed $offset): bool, or the #[\\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/html/wp-includes/class-wp-theme.php on line 554PHP message: PHP Deprecated: Return type of WP_Theme::offsetGet($offset) should either be compatible with ArrayAccess::offsetGet(mixed $offset): mixed, or the #[\\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/html/wp-includes/class-wp-theme.php on line 595PHP message: PHP Deprecated: Return type of WP_Theme::offsetSet($offset, $value) should either be compatible with ArrayAccess::offsetSet(mixed $offset, mixed $value): void, or the #[\\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/html/wp-includes/class-wp-theme.php on line 535PHP message: PHP Deprecated: Return type of WP_Theme::offsetUnset($offset) should either be compatible with ArrayAccess::offsetUnset(mixed $offset): void, or the #[\\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/html/wp-includes/class-wp-theme.php on line 544PHP message: PHP Deprecated: Return type of WP_REST_Request::offsetExists($offset) should either be compatible with ArrayAccess::offsetExists(mixed $offset): bool, or the #[\\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/html/wp-includes/rest-api/class-wp-rest-request.php on line 960PHP message: PHP Deprecated: Return type of WP_REST_Request::offsetGet($offset) should either be compatible with ArrayAccess::offsetGet(mixed $offset): mixed, or the #[\\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/html/wp-includes/rest-api/class-wp-rest-request.php on line 980PHP message: PHP Deprecated: Return type of WP_REST_Request::offsetSet($offset, $value) should either be compatible with ArrayAccess::offsetSet(mixed $offset, mixed $value): void, or the #[\\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/html/wp-includes/rest-api/class-wp-rest-request.php on line 992PHP message: PHP Deprecated: Return type of WP_REST_Request::offsetUnset($offset) should either be compatible with ArrayAccess::offsetUnset(mixed $offset): void, or the #[\\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/html/wp-includes/rest-api/class-wp-rest-request.php on line 1003PHP message: PHP Deprecated: Return type of WP_Block_List::current() should either be compatible with Iterator::current(): mixed, or the #[\\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/html/wp-includes/class-wp-block-list.php on line 151PHP message: PHP Deprecated: Return type of WP_Block_List::next() should either be compatible with Iterator::next(): void, or the #[\\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/html/wp-includes/class-wp-block-list.php on line 175PHP message: PHP Deprecated: Return type of WP_Block_List::key() should either be compatible with Iterator::key(): mixed, or the #[\\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/html/wp-includes/class-wp-block-list.php on line 164PHP message: PHP Deprecated: Return type of WP_Block_List::valid() should either be compatible with Iterator::valid(): bool, or the #[\\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/html/wp-includes/class-wp-block-list.php on line 186PHP message: PHP Deprecated: Return type of WP_Block_List::rewind() should either be compatible with Iterator::rewind(): void, or the #[\\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/html/wp-includes/class-wp-block-list.php on line 138' [Sat Feb 26 08:33:55.598971 2022] [proxy_fcgi:error] [pid 18959] [client 91.211.91.184:48096] AH01071: Got error 'PHP message: PHP Deprecated: Return type of WP_Block_List::offsetExists($index) should either be compatible with ArrayAccess::offsetExists(mixed $offset): bool, or the #[\\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/html/wp-includes/class-wp-block-list.php on line 75PHP message: PHP Deprecated: Return type of WP_Block_List::offsetGet($index) should either be compatible with ArrayAccess::offsetGet(mixed $offset): mixed, or the #[\\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/html/wp-includes/class-wp-block-list.php on line 89PHP message: PHP Deprecated: Return type of WP_Block_List::offsetSet($index, $value) should either be compatible with ArrayAccess::offsetSet(mixed $offset, mixed $value): void, or the #[\\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/html/wp-includes/class-wp-block-list.php on line 110PHP message: PHP Deprecated: Return type of WP_Block_List::offsetUnset($index) should either be compatible with ArrayAccess::offsetUnset(mixed $offset): void, or the #[\\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/html/wp-includes/class-wp-block-list.php on line 127PHP message: PHP Deprecated: Return type of WP_Block_List::count() should either be compatible with Countable::count(): int, or the #[\\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/html/wp-includes/class-wp-block-list.php on line 199PHP message: PHP Deprecated: Return type of WPCF7_FormTag::offsetExists($offset) should either be compatible with ArrayAccess::offsetExists(mixed $offset): bool, or the #[\\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/html/wp-content/plugins/contact-form-7/includes/form-tag.php on line 396PHP message: PHP Deprecated: Return type of WPCF7_FormTag::offsetGet($offset) should either be compatible with ArrayAccess::offsetGet(mixed $offset): mixed, or the #[\\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/html/wp-content/plugins/contact-form-7/includes/form-tag.php on line 388PHP message: PHP Deprecated: Return type of WPCF7_FormTag::offsetSet($offset, $value) should either be compatible with ArrayAccess::offsetSet(mixed $offset, mixed $value): void, or the #[\\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/html/wp-content/plugins/contact-form-7/includes/form-tag.php on line 382PHP message: PHP Deprecated: Return type of WPCF7_FormTag::offsetUnset($offset) should either be compatible with ArrayAccess::offsetUnset(mixed $offset): void, or the #[\\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/html/wp-content/plugins/contact-form-7/includes/form-tag.php on line 400PHP message: PHP Deprecated: Return type of WPCF7_Validation::offsetExists($offset) should either be compatible with ArrayAccess::offsetExists(mixed $offset): bool, or the #[\\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/html/wp-content/plugins/contact-form-7/includes/validation.php on line 78PHP message: PHP Deprecated: Return type of WPCF7_Validation::offsetGet($offset) should either be compatible with ArrayAccess::offsetGet(mixed $offset): mixed, or the #[\\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/html/wp-content/plugins/contact-form-7/includes/validation.php on line 72PHP message: PHP Deprecated: Return type of WPCF7_Validation::offsetSet($offset, $value) should either be compatible with ArrayAccess::offsetSet(mixed $offset, mixed $value): void, or the #[\\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/html/wp-content/plugins/contact-form-7/includes/validation.php on line 59' [Sat Feb 26 08:33:55.794007 2022] [proxy_fcgi:error] [pid 18959] [client 91.211.91.184:48096] AH01071: Got error 'PHP message: PHP Deprecated: Return type of WPCF7_Validation::offsetUnset($offset) should either be compatible with ArrayAccess::offsetUnset(mixed $offset): void, or the #[\\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/html/wp-content/plugins/contact-form-7/includes/validation.php on line 82PHP message: PHP Deprecated: Implicit conversion from float 4294967295 to int loses precision in /var/www/html/wp-includes/pomo/mo.php on line 203PHP message: PHP Deprecated: Implicit conversion from float 4294967295 to int loses precision in /var/www/html/wp-includes/pomo/mo.php on line 203PHP message: PHP Deprecated: Implicit conversion from float 4294967295 to int loses precision in /var/www/html/wp-includes/pomo/mo.php on line 203PHP message: PHP Deprecated: Implicit conversion from float 4294967295 to int loses precision in /var/www/html/wp-includes/pomo/mo.php on line 203PHP message: PHP Deprecated: Implicit conversion from float 4294967295 to int loses precision in /var/www/html/wp-includes/pomo/mo.php on line 203PHP message: PHP Deprecated: DateTime::__construct(): Passing null to parameter #1 ($datetime) of type string is deprecated in /var/www/html/wp-includes/script-loader.php on line 333PHP message: PHP Deprecated: ltrim(): Passing null to parameter #1 ($string) of type string is deprecated in /var/www/html/wp-includes/wp-db.php on line 3030PHP message: PHP Deprecated: Implicit conversion from float 4294967295 to int loses precision in /var/www/html/wp-includes/pomo/mo.php on line 203PHP message: PHP Deprecated: Implicit conversion from float 4294967295 to int loses precision in /var/www/html/wp-includes/pomo/mo.php on line 203PHP message: PHP Deprecated: Implicit conversion from float 4294967295 to int loses precision in /var/www/html/wp-includes/pomo/mo.php on line 203PHP message: PHP Deprecated: Implicit conversion from float 4294967295 to int loses precision in /var/www/html/wp-includes/pomo/mo.php on line 203PHP message: PHP Deprecated: Return type of Requests_Cookie_Jar::offsetExists($key) should either be compatible with ArrayAccess::offsetExists(mixed $offset): bool, or the #[\\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/html/wp-includes/Requests/Cookie/Jar.php on line 63PHP message: PHP Deprecated: Return type of Requests_Cookie_Jar::offsetGet($key) should either be compatible with ArrayAccess::offsetGet(mixed $offset): mixed, or the #[\\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/html/wp-includes/Requests/Cookie/Jar.php on line 73PHP message: PHP Deprecated: Return type of Requests_Cookie_Jar::offsetSet($key, $value) should either be compatible with ArrayAccess::offsetSet(mixed $offset, mixed $value): void, or the #[\\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/html/wp-includes/Requests/Cookie/Jar.php on line 89PHP message: PHP Deprecated: Return type of Requests_Cookie_Jar::offsetUnset($key) should either be compatible with ArrayAccess::offsetUnset(mixed $offset): void, or the #[\\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/html/wp-includes/Requests/Cookie/Jar.php on line 102PHP message: PHP Deprecated: Return type of Requests_Cookie_Jar::getIterator() should either be compatible with IteratorAggregate::getIterator(): Traversable, or the #[\\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/html/wp-includes/Requests/Cookie/Jar.php on line 111PHP message: PHP Deprecated: Return type of Requests_Utility_CaseInsensitiveDictionary::offsetExists($key) should either be compatible with ArrayAccess::offsetExists(mixed $offset): bool, or the #[\\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/html/wp-includes/Requests/Utility/CaseInsensitiveDictionary.php on line 40' [Sat Feb 26 08:33:55.831255 2022] [proxy_fcgi:error] [pid 18959] [client 91.211.91.184:48096] AH01071: Got error 'PHP message: PHP Deprecated: Return type of Requests_Utility_CaseInsensitiveDictionary::offsetGet($key) should either be compatible with ArrayAccess::offsetGet(mixed $offset): mixed, or the #[\\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/html/wp-includes/Requests/Utility/CaseInsensitiveDictionary.php on line 51PHP message: PHP Deprecated: Return type of Requests_Utility_CaseInsensitiveDictionary::offsetSet($key, $value) should either be compatible with ArrayAccess::offsetSet(mixed $offset, mixed $value): void, or the #[\\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/html/wp-includes/Requests/Utility/CaseInsensitiveDictionary.php on line 68PHP message: PHP Deprecated: Return type of Requests_Utility_CaseInsensitiveDictionary::offsetUnset($key) should either be compatible with ArrayAccess::offsetUnset(mixed $offset): void, or the #[\\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/html/wp-includes/Requests/Utility/CaseInsensitiveDictionary.php on line 82PHP message: PHP Deprecated: Return type of Requests_Utility_CaseInsensitiveDictionary::getIterator() should either be compatible with IteratorAggregate::getIterator(): Traversable, or the #[\\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/html/wp-includes/Requests/Utility/CaseInsensitiveDictionary.php on line 91PHP message: PHP Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /var/www/html/wp-includes/Requests/Transport/fsockopen.php on line 170PHP message: PHP Warning: Constant WP_DEBUG already defined in /var/www/html/wp-config.php on line 101PHP message: PHP Warning: Constant WP_DEBUG_LOG already defined in /var/www/html/wp-config.php on line 104PHP message: PHP Deprecated: trim(): Passing null to parameter #1 ($string) of type string is deprecated in /var/www/html/wp-includes/class-wp.php on line 173PHP message: PHP Deprecated: ltrim(): Passing null to parameter #1 ($string) of type string is deprecated in /var/www/html/wp-includes/wp-db.php on line 3030' [Sat Feb 26 08:33:55.854602 2022] [proxy_fcgi:error] [pid 18959] [client 91.211.91.184:48096] AH01071: Got error 'PHP message: PHP Deprecated: ltrim(): Passing null to parameter #1 ($string) of type string is deprecated in /var/www/html/wp-includes/wp-db.php on line 3030' [Sat Feb 26 08:33:55.902525 2022] [proxy_fcgi:error] [pid 18959] [client 91.211.91.184:48096] AH01071: Got error 'PHP message: PHP Deprecated: ltrim(): Passing null to parameter #1 ($string) of type string is deprecated in /var/www/html/wp-includes/wp-db.php on line 3030PHP message: PHP Deprecated: ltrim(): Passing null to parameter #1 ($string) of type string is deprecated in /var/www/html/wp-includes/wp-db.php on line 3030'
@jazzwalker1 さん
こんにちは。
エラーを見た限りでは原因は特定出来ませんでしたが、一旦テーマ・プラグインを強制的に無効化してみてはいかがでしょうか。管理画面には入れませんが、
wp-content/themes
やwp-content/plugins
直下のフォルダをリネームすれば無効化出来ると思います。例えば、エラーメッセージ内に
/var/www/html/wp-content/plugins/contact-form-7
とあり、このプラグインが一つの原因かもしれませんので、/var/www/html/wp-content/plugins/contact-form-7
↓
/var/www/html/wp-content/plugins/_contact-form-7
などとリネームしてみる方法です。アドバイスに感謝いたします。
>wp-content/themesやwp-content/plugins直下のフォルダをリネームすれば無効化出来ると思います。
両方をやってみましたが、結果は駄目でした。テーマをリネームした場合には、HP自体が表示されずに、エラーメッセージの羅列となりました。
手詰まりです。
他にお気づきの点がありましたら、お知らせください。こんにちは
WordPress のバージョンを 5.9 以降にするか、PHP のバージョンを 8.0 以前に変更してください。
WordPress の手動更新の方法は以下にあります。
WordPress.org | WordPress のアップグレード | 手動更新-
この返信は3年前に
munyaguが編集しました。
ご教示ありがとうございます。早速、手動アップグレードをしてみました。
ダッシュボードに入るところまでは行き着きました。
ですが、肝心のHPを表示できません。以下のようなエラーが出ています。コメント頂ければ有り難いです。
Deprecated: class-http.php is deprecated since version 5.9.0! Use wp-includes/class-wp-http.php instead. in /var/www/html/wp-includes/functions.php on line 5506 Deprecated: Implicit conversion from float 4294967295 to int loses precision in /var/www/html/wp-includes/pomo/mo.php on line 203 Deprecated: Implicit conversion from float 4294967295 to int loses precision in /var/www/html/wp-includes/pomo/mo.php on line 203 Deprecated: Implicit conversion from float 4294967295 to int loses precision in /var/www/html/wp-includes/pomo/mo.php on line 203 Deprecated: Implicit conversion from float 4294967295 to int loses precision in /var/www/html/wp-includes/pomo/mo.php on line 203 Deprecated: Implicit conversion from float 4294967295 to int loses precision in /var/www/html/wp-includes/pomo/mo.php on line 203 Deprecated: Implicit conversion from float 4294967295 to int loses precision in /var/www/html/wp-includes/pomo/mo.php on line 203 Deprecated: Implicit conversion from float 4294967295 to int loses precision in /var/www/html/wp-includes/pomo/mo.php on line 203 Deprecated: Implicit conversion from float 4294967295 to int loses precision in /var/www/html/wp-includes/pomo/mo.php on line 203 Warning: Constant WP_DEBUG already defined in /var/www/html/wp-config.php on line 101 Warning: Constant WP_DEBUG_LOG already defined in /var/www/html/wp-config.php on line 104 Fatal error: Uncaught Error: Call to undefined function wp_get_global_stylesheet() in /var/www/html/wp-includes/script-loader.php:2328 Stack trace: #0 /var/www/html/wp-includes/class-wp-hook.php(307): wp_enqueue_global_styles() #1 /var/www/html/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters() #2 /var/www/html/wp-includes/plugin.php(474): WP_Hook->do_action() #3 /var/www/html/wp-includes/script-loader.php(2105): do_action() #4 /var/www/html/wp-includes/class-wp-hook.php(307): wp_enqueue_scripts() #5 /var/www/html/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters() #6 /var/www/html/wp-includes/plugin.php(474): WP_Hook->do_action() #7 /var/www/html/wp-includes/general-template.php(3042): do_action() #8 /var/www/html/wp-content/themes/twentyseventeen/header.php(22): wp_head() #9 /var/www/html/wp-includes/template.php(770): require_once('...') #10 /var/www/html/wp-includes/template.php(716): load_template() #11 /var/www/html/wp-includes/general-template.php(48): locate_template() #12 /var/www/html/wp-content/themes/twentyseventeen/index.php(18): get_header() #13 /var/www/html/wp-includes/template-loader.php(106): include('...') #14 /var/www/html/wp-blog-header.php(19): require_once('...') #15 /var/www/html/index.php(17): require('...') #16 {main} thrown in /var/www/html/wp-includes/script-loader.php on line 2328 このサイトで重大なエラーが発生しました。 WordPress のトラブルシューティングについてはこちらをご覧ください。
手動更新がうまくいっていないように思います。
本家のフォーラムに同じエラーで困っていた方がいます。
https://wordpress.org/support/topic/wp-5-83-5-9-update-websites-showing-critical-error/
ご教示ありがとうございます。
リンク先の情報(ファイルの上書き:wp-settings.php)で、HP自体は表示されるようになりました。
一方で、今度はダッシュボードに入れなくなってしまいました。ログインができません。-
この返信は3年前に
jazzwalkerが編集しました。
-
この返信は3年前に
jazzwalkerが編集しました。
ちゃんとwp-settings.php は先に手動更新したバージョンと同じものでしょうか?
手動更新がどこがうまくいっていない(ちゃんとアップロードできていない)かははっきり分からないので、手動更新自体をやりなおしたらどうかなと思います。お手数かけました。
手動更新をやり直しました。ただ、それだけでは済まず、ある箇所でパーミッションの問題が生じ、すべて「許可」にしました。試行錯誤しました。
何とか、HPが表示でき、ダッシュボードにも入れるようになりました。
ただ、デバッグモードからも出たので、デバッグモードに戻した場合、多くのエラー、ウォーニングが出ているものと思われます。そのことが気がかりです。
デバッグモードでは Deprecated のメッセージが出ているかもしれませんが、それは WordPress がまだ十分に php8.1 に対応できていないためです。
当面は動作には問題ありません。
気になるようでしたら、php8.0 や 7.x に変更ください。参考)WordPress 5.9 and PHP 8.0-8.1
-
この返信は3年前に
munyaguが編集しました。
-
この返信は3年、 1ヶ月前に
- トピック「ログイン出来なくなりました」には新たに返信することはできません。