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 1 year has passed since last update.

[Conoha][Wordpress]query-monitorプラグインでエラー

Last updated at Posted at 2024-04-22

2024-04-22 23:10頃に突如発生(自前の死活監視機能で検知)

管理サイトにもアクセスできないので焦りました(💦)

たぶん自動バージョンアップによるものでしょうか?

(プラグインは無効状態ですが)以下の対処で復旧したので記録しておきます。

症状

フロントも管理サイトもアクセス不可。まっしろページに以下のエラーメッセージが表示される

Warning: require(/home/YOUR-USER-DIR/public_html/YOUR-DOMAIN/wp-content/plugins/query-monitor/vendor/composer/../symfony/deprecation-contracts/function.php): failed to open stream: No such file or directory in /home/YOUR-USER-DIR/public_html/YOUR-DOMAIN/wp-content/plugins/query-monitor/vendor/composer/autoload_real.php on line 42

Image from Gyazo

対処

なんらかの方法(Conohaファイルマネージャ、FTP、SSH)で問題のサイトのプラグインディレクトリに移動して、query-monitor プラグインのディレクトリ名を変更する。

これによってWordpressにより自動的にプラグインが無効化されます。

当方の場合は、これでサイトアクセスが可能となりました。(フロント、管理とも)

cd /home/YOUR-USER-DIR/public_html/YOUR-DOMAIN/wp-content/plugins
mv query-monitor query-monitor-disabled

Image from Gyazo

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?