Answers for "Cookies are blocked or not supported by your browser. You must enable cookies to use WordPress"

PHP
0

Cookies are blocked or not supported by your browser. You must enable cookies to use WordPress.

#in wp-config.php

define('COOKIE_DOMAIN', $_SERVER['HTTP_HOST'] );


#https://www.fiverr.com/tamerjarrar
Posted by: Guest on December-19-2020
1

Error: Cookies are blocked or not supported by your browser. You must enable cookies to use WordPress.

you’ll need to open your website’s function.php file. 
 
Then add the following code:
 
setcookie(TEST_COOKIE, 'WP Cookie check', 0, COOKIEPATH, COOKIE_DOMAIN);
if ( SITECOOKIEPATH != COOKIEPATH ) setcookie(TEST_COOKIE, 'WP Cookie check', 0, SITECOOKIEPATH, COOKIE_DOMAIN);
and then save/upload your functions.php file.


#https://www.fiverr.com/shadabdeveloper
Posted by: Guest on February-10-2021

Code answers related to "Cookies are blocked or not supported by your browser. You must enable cookies to use WordPress"

Browse Popular Code Answers by Language