Warning: Use of undefined constant COOKIE_DOMAIN

in Download Manager Free

Viewing 2 posts - 1 through 2 (of 2 total)
Aug 18, 2021 at 6:26 am
#160006
Participant
Emanuele Crepaldi
OP

Good morning,
yesterday wp signal this error:
Warning: Use of undefined constant COOKIE_DOMAIN – assumed ‘COOKIE_DOMAIN’ (this will throw an Error in a future version of PHP) in /home/isra/domains/isra-rescue.org/public_html/wp-content/plugins/download-manager/src/__/Session.php on line 28

I had to deactivate the plugin from the site and the error doesn’t show up. how can i solve?

My site: http://www.isra-rescue.org/
Thank you

Aug 18, 2021 at 7:17 am
#160009
Spectator
Humayon

Hello @sibysu,
Hope you are well.
For now please add the following code in the wp-config.php file, which should solve your issue.

if ( ! defined( 'COOKIE_DOMAIN' ) ) {
		define( 'COOKIE_DOMAIN', false );
}

Thank You

Viewing 2 posts - 1 through 2 (of 2 total)

The topic "Warning: Use of undefined constant COOKIE_DOMAIN" is closed to new replies.