I’ve seen previously asked problems concerning with this title. but my case is little bit different. I am getting this error when I first try to open localhost/phpmyadmin. it lists bunch of errors saying “Cannot use a scalar value as an array”.
here are the errors
Warning in .librariesclassesPluginsAuthenticationPlugin.php#226
Cannot use a scalar value as an array
Backtrace
.librariesclassesPluginsAuthenticationPlugin.php#67: PhpMyAdminPluginsAuthenticationPlugin->setSessionAccessTime()
.librariesclassesPluginsAuthenticationPlugin.php#248: PhpMyAdminPluginsAuthenticationPlugin->storeCredentials()
.librariescommon.inc.php#349: PhpMyAdminPluginsAuthenticationPlugin->authenticate()
.index.php#26: require_once(.librariescommon.inc.php)
Warning in .librariesclassesRelation.php#82
Cannot use a scalar value as an array
Backtrace
.librariesclassesDatabaseInterface.php#1547: PhpMyAdminRelation->getRelationsParam()
.librariesclassesDatabaseInterface.php#2482: PhpMyAdminDatabaseInterface->postConnectControl()
.librariescommon.inc.php#358: PhpMyAdminDatabaseInterface->connect(integer 257)
.index.php#26: require_once(.librariescommon.inc.php)
it is not only this. but it is too many such like errors are appearing till the end of the scroll. I am afraid of not to loose my databases. Can any one tell me what mistake do I made and how to solve it please?
4
Answers
Use any other browser or clean browser’s memory
I was facing the same with PHPMyAdmin on localhost, and clearing only localhost cookies of browser also fixed this for me.
I have tried hard reload but no luck but then i have done the task As Displayed in above image then phpmyAdmin is running as it should be.
So to do it first of all press
F12
on your browser to open developer tool.And go to
Application
tab then on the Left side-bar go toClear Storage
as in image redlined and numbered 1And now the chart will appear for storage data and at exactly below it there will be
Clear Site data
button as in image redlined and numbered 2 Just Press that button and refresh the phpmyAdmin Tab it will definitely working now.Just press F12, You will see a top bar, Go to Application tab. After clicking on Application, click on storage which will be displayed on left bottom corner. When you’ll click Storage a chart will open with a button CLEAR SITE DATA. Click on the button and your issue will be resolved.
Remember to be on the page/tab on whci