2
3

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 5 years have passed since last update.

WordPress で Notice: Use of undefined constant WPLANG - assumed 'WPLANG' と言われる解決方法

Posted at

初期状態ではじめたWordPressでNoticeエラーがでて困るまん(☝ ՞ਊ ՞)

WordPressでエラー

WordPressを起動したところエラーが出ます。

( ! ) Notice: Use of undefined constant WPLANG - assumed 'WPLANG' in /var/www/wordpress/wp-content/plugins…

WPLANGがないと言われました。

WPLANGを設定する

wp-config.phpを編集します。

wp-config.phpにWPLANGを追加
define ('WPLANG', 'ja');

WPLANGの定義を追加しました。

エラーが消えました

やったね(☝ ՞ਊ ՞)

参考

2
3
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
2
3

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?