• Hi all,

    I’m getting some strange errors in this error log its 5gb with months of this in them.

    [28-Feb-2019 11:46:15 Europe/London] PHP Warning: Use of undefined constant ‘WPLANG’ – assumed ‘‘WPLANG’’ (this will throw an Error in a future version of PHP) in /home/****/public_html/wp-config.php on line 75
    [28-Feb-2019 11:46:15 Europe/London] PHP Warning: Use of undefined constant ‘en_GB’ – assumed ‘‘en_GB’’ (this will throw an Error in a future version of PHP) in /home/****/public_html/wp-config.php on line 75

    any ideas how to change this or fix it?

    it currently has 264870 lines of just this in it.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Moderator Samuel Wood (Otto)

    (@otto42)

    www.ads-software.com Admin

    Have you looked at line 75 of the wp-config.php file?

    Thread Starter monster-it

    (@monster-it)

    yes it gives me this
    define (‘WPLANG’, ‘en_GB’);

    Dion

    (@diondesigns)

    The problem is that you are using UTF-8 characters and not ASCII single-quote characters. Note the difference between your line:

    define (‘WPLANG’, ‘en_GB’);
    

    and the correct version of the line:

    define ('WPLANG', 'en_GB');
    

    The error will go away after you edit that line to use ASCII single-quote characters. If you have added more lines in wp-config.php, make sure those are using the single-quote character as well.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘errors in the error log’ is closed to new replies.