skip to Main Content

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)

enter image description here
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


  1. Use any other browser or clean browser’s memory

    Login or Signup to reply.
  2. I was facing the same with PHPMyAdmin on localhost, and clearing only localhost cookies of browser also fixed this for me.

    Login or Signup to reply.
  3. enter image description here

    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 to Clear Storage as in image redlined and numbered 1

    And 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.

    Login or Signup to reply.
  4. 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

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search