Support » Theme: Expert Movers » define(): Declaration of case-insensitive constants is deprecated

  • With PHP 7.3, there are 5 PHP notices per request:

    PHP Deprecated: define(): Declaration of case-insensitive constants is deprecated in themes/expert-movers/functions.php on line 238

    It looks like the define() calls are missing a __() (language API call), and, e.g.

    
    define('EXPERT_MOVERS_LIVE_DEMO','https://www.luzuk.com/demo/expert-movers/','expert-movers');
    

    is supposed to be

    
    define('EXPERT_MOVERS_LIVE_DEMO',__('https://www.luzuk.com/demo/expert-movers/','expert-movers'));
    
    • This topic was modified 1 year, 2 months ago by jqz. Reason: Markdown for code blocks is not supported
  • The topic ‘define(): Declaration of case-insensitive constants is deprecated’ is closed to new replies.