Undefined Constant in config.php
-
I’m using PHP 7.2.10. In config.php, I’m getting warnings that the constant WPLANG is not defined. This is a minor but annoying issue.
The following code replacing line 5 appears to fix the problem:
if ( !defined('WPLANG' ) {which replaces the previous line 5 that contained:
if ( WPLANG == '' ) {
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
The topic ‘Undefined Constant in config.php’ is closed to new replies.