首次从 xamp 打开 phpmyadmin 时,无法将标量值用作数组 [英] Cannot use a scalar value as an array when first opening phpmyadmin from xamp
问题描述
我之前看到过与此标题有关的问题.但我的情况有点不同.当我第一次尝试打开 localhost/phpmyadmin 时出现此错误.它列出了一堆错误,说不能将标量值用作数组".
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".
这里是错误
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?
推荐答案
我已经尝试重新加载,但没有成功,但后来我完成了上图中显示的任务,然后 phpmyAdmin 正常运行.
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.
所以首先在浏览器上按F12
打开开发者工具.
So to do it first of all press F12
on your browser to open developer tool.
然后转到 Application
选项卡,然后在左侧栏上转到 Clear Storage
,如图像用红线标记并编号为 1
And go to Application
tab then on the Left side-bar go to Clear Storage
as in image redlined and numbered 1
现在将出现存储数据的图表,在它的正下方将有 Clear Site data
按钮,如图像红线和编号 2 只需按下该按钮并刷新 phpmyAdmin 标签,它现在肯定可以工作了.
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.
这篇关于首次从 xamp 打开 phpmyadmin 时,无法将标量值用作数组的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!