Declaration of case-insensitive constants is deprecated
-
Hi,
I’m getting notification in my debug.log because deprecated declaration in one of the PHP functions.
PHP Deprecated: define(): Declaration of case-insensitive constants is deprecated in /var/www/rekrytointi.com/public_html/wp-content/plugins/registered-user-sync-activecampaign/rus-activecampaign.php on line 15
Luckily the fix is easy and you only need to modify single line in file “rus-activecampaign.php”.
Here is the old line(15):
define( 'RUSAC_URI', plugin_dir_url( __FILE__ ), true );
Here is the new line(15):
define( 'RUSAC_URI', plugin_dir_url( __FILE__ ) );
Here is link for the PHP function where you can see that the third declaration(“case_insensitive”) is deprecated since PHP 7.3.0 :
https://www.php.net/manual/en/function.define.phpThank you for your time
Sincerely
-Eppu
- The topic ‘Declaration of case-insensitive constants is deprecated’ is closed to new replies.