MKIC office: Web メインテナンス、トラブル・シューティング

  • by

Web メインテナンス、トラブル・シューティングの関した、メモ書き。

[ PHPの最新バージョンのアップデート ]
ホストのCパネルを開く > Software > Select PHP Version アイコンを開く。
Current PHP Version のバージョンをクリックして、最新バージョンをクリックしてアップデートする。


[ Webサイト が安全ではないという、ワーニング ]
SSL Certificateがしっかり設定できていなく、ずっとwebサイトが安全でないというワーニングを解決していなかったので、サーバーの会社に連絡し解決をしてもらいワーニングがでなくなりました。


最近ワードプレスを使用したサイトが調子悪く、閲覧不可能にまでなっている。
プラグインを極力少なくしてみる。(←これは原因ではなかった。)

調べた結果、原因はサイトのメモリが少ない設定になっていておきるよう。

define(‘WP_MEMORY_LIMIT’, ‘512M’); の記述をwp-config.phpに入れてあげると治った。以下が参考になった記述。


https://wordpress.org/support/topic/essential-addons-prevents-elementor-from-loading/

This error sometimes is caused because of a site having low memory. You can check your memory limit by navigating to wp-admin -> Elementor -> System Info. Check out this screenshot: https://prnt.sc/le9poi

You need to increase the memory limit. To increase the memory limit you will have to modify the wp-config.php file of yours.

Just above this line ” /* That’s all, stop editing! Happy blogging. */” add this following line of code:

1
define(‘WP_MEMORY_LIMIT’, ‘512M’);
You would find the wp-config.php file under your WordPress directory.
Let me know if this solves your issue or not. Thank you