0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

Wordpress で「お探しのページが見つかりません。」と出た時の対処方法

Posted at

Arch Linux で運用しているで次のような現象が起きました。
ageha_jan30.png

Nginx のログは次のようになっていました。

/var/log/nginx/error.log
2021/01/30 17:48:10 [error] 6189#6189: *103 FastCGI sent in stderr: "ment-query.php on line 484
PHP message: PHP Warning:  get_comment(): Argument #1 ($comment) must be passed by reference, value given in /var/www/wordpress/wp-includes/class-wp-comment-query.php on line 484

PHP のバージョンは次の通りでした。

$ php --version
PHP 8.0.1 (cli) (built: Jan  8 2021 16:19:26) ( NTS )
Copyright (c) The PHP Group
Zend Engine v4.0.1, Copyright (c) Zend Technologies

対策は、WordPress のバージョンを 5.6 に上げることです。
それで、解決しました。

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?