I hope you’re doing well.
Last week (friday) phpmyadmin was working just fine, but when I tried to work with it today it shows me some errors and doesn’t show databases etc.
I’m workin with xampp on windows 7 (it’s not my pc …)
Here is the error:
Fatal error: Uncaught TypeError: Argument 2 passed to
PhpMyAdminCore::arrayWrite() must be of the type array, null given,
called in C:xamppphpMyAdminlibrariesclassesConfig.php on line
1049 and defined in C:xamppphpMyAdminlibrariesclassesCore.php:677
Stack trace: #0
C:xamppphpMyAdminlibrariesclassesConfig.php(1049):
PhpMyAdminCore::arrayWrite(‘lang’, NULL, ‘fr’) #1
C:xamppphpMyAdminlibrariesclassesConfig.php(996):
PhpMyAdminConfig->setUserValue(NULL, ‘lang’, ‘fr’, ‘en’) #2
C:xamppphpMyAdminlibrariescommon.inc.php(453):
PhpMyAdminConfig->loadUserPreferences() #3
C:xamppphpMyAdminindex.php(27):
require_once(‘C:xamppphpMyA…’) #4 {main} thrown in
C:xamppphpMyAdminlibrariesclassesCore.php on line 677
Thank you for your interest.
Have a good day.
5
Answers
Please try clearing your browser cache and remove phpMyAdmin cookies, which start with "pma".
follow these steps
Restore your database ‘phpmyadmin’ from your latest backup.
Before you stop MariaDb and then as usual, restore and start your DBMS again. It’ll work.
Open up your phpMyAdmin url and press F12 for Developer mode .. go to Application Tab and Clear all Cookies .. refresh your phpMyAdmin page .. should be good to go .. enjoy
follow these steps…
…. .. .. hurray!!! it’s done .. … …..
I did not find a "Application tab" in the Developers menu like mentioned by Eliki Bula and Norbert
But followed the steps to clear a single site from the cache in Firefox and "forgot" the url of
mypage/phpmadmin
and it worked, the error was gone.So its fact.
The reason for this problem is somewhere in the Cookies from phpmyadmin, to you yust have to clear the cookies for this page on any way.