On login to WordPress website or blog either on Wp-admin page or on any custom user login form getting below error and cant access your Worpdress site ?
Error: Cookies are blocked or not supported by your browser. You must enable cookies to use WordPress.
If your developer used a caching plugin for optimize your site performance, than some time chance of experience a “Cookies Blocked” error message while trying to log into the WordPress admin panel. if you getting this error and in hurry to access your WordPress Dashboard. we have two quick easy solutions for how to fix a “cookies blocked” error on WordPress admin dashboard.
Error: Cookies are Blocked Quick Solution #1
If you trying to access your wordpress dashboard and see “Cookies are blocked or not supported by your browser. You must enable cookies to use WordPress.
“ Error : hit refresh 2-3 times.
In most of cases. User able to get into website Wp-admin dashboards after seeing this message, simply just refreshing the browser. With Refresh Browser Somehow, the cookie that was missing is then picked up and you are allowed in to access WordPress Dashboard
Error: Cookies are Blocked Quick Solution #2
Add below 2 line code in your active theme functions.php file:
setcookie(TEST_COOKIE, 'WP Cookie check', 0, COOKIEPATH, COOKIE_DOMAIN); if ( SITECOOKIEPATH != COOKIEPATH ) setcookie(TEST_COOKIE, 'WP Cookie Set', 0, SITECOOKIEPATH, COOKIE_DOMAIN);