If you are using WordPress for a long time then you might face the problem login to PhpMyadmin. It keeps saying “Failed to set session cookie. Maybe you are using HTTP instead of HTTPS to access phpMyAdmin.” In this article I’m going to show you how to fix Session Cookie error on WordPress.
You can fix this easily. Just follow the steps below.
Step 1: Configure your config.inc.php file
First of all check out that is your server files is properly configured. If not make the changes like below.
$cfg['Servers'][$i]['auth_type'] = 'cookie';
Step 2: Clear the Cookies from your browser
Now go to your browser settings and clear the cookies from it. Navigate to inspect elements on your browser. If you are using chrome click Ctrl+Shift+I.
Then go to application tab and clear the cookies and caches from browser and click the Clear site Data button. See the screenshot below. I have used it for my Chrome.
After clear cookies you can also clear your browser history.
Now try to login your PhpMyadmin. Hope this will work for your Failed to set session cookie error. If you like this article you may also like Fix White Screen Of Death on WordPress and Fixing the Common Errors in WordPress