-1
Good evening. I am beginner in PHP Wordpress development. I downloaded a site in WP PHP to make changes, so when calling on the localhost, I get the following message: Warning: Use of Undefined Constant 'WPLANG' - assumed ''WPLANG'' (this will throw an Error in a Future version of PHP) in C: xampp htdocs novosite wp-config.php on line 75
I’ve looked on line 75 and didn’t understand the problem. you could help me?
Saying what the error is without the code is a bit difficult, but this type of alert is typical of when you try to use a variable without the dollar sign. In this case, if no constant with the name is found
WPLANG
, PHP searches for the name variable$WPLANG
and leave the warning. If you wanted to use a constant, make sure PHP can access it, if you wanted to use a variable, add the dollar sign in the name.– Andre