• Resolved vbhunt

    (@vbhunt)


    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)
  • Thread Starter vbhunt

    (@vbhunt)

    Updated Tags

    Plugin Author fatcatapps

    (@fatcatapps)

    Hello vbhunt

    This seems to be caused by the use of another plugin.

    We do not have a WPLANG constant, or a config php in our Easy Pricing Tables plugin. We also cannot account for every possible constant set by other plugins.

    If you have any plugins that deal with multiple languages on your site, I would look to them for answers/solutions.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Undefined Constant in config.php’ is closed to new replies.