Cannot use a scalar value as an array when first opening phpmyadmin from xamp
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.
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.