Answer the question
In order to leave comments, you need to log in
What is the Use of undefined constant WP_LANG_DIR error?
Notice: Use of undefined constant WP_LANG_DIR - assumed 'WP_LANG_DIR' in /home/savyc146/domains/example.ua/public_html/wp-includes/l10n.php on line 719
Answer the question
In order to leave comments, you need to log in
In general, this constant is either manually set in wp-config.php (at an early stage of loading), if you need to change the standard path to translation files, or set by the engine later , in the wp-includes/load.php file, with the following value:
WordPress looks, if it was not defined in wp-config.php, then it defines itself. There shouldn't be any mistakes . If you have an error, then this, as it were, hints that your kernel boot process has been modified, something you are doing wrong. This error should not be.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question