Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

PhpMyAdmin is suddenly showing errors

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 PhpMyAdmin\Core::arrayWrite() must be of the type array, null given, called in C:\xampp\phpMyAdmin\libraries\classes\Config.php on line 1049 and defined in C:\xampp\phpMyAdmin\libraries\classes\Core.php:677 Stack trace: #0 C:\xampp\phpMyAdmin\libraries\classes\Config.php(1049): PhpMyAdmin\Core::arrayWrite('lang', NULL, 'fr') #1 C:\xampp\phpMyAdmin\libraries\classes\Config.php(996): PhpMyAdmin\Config->setUserValue(NULL, 'lang', 'fr', 'en') #2 C:\xampp\phpMyAdmin\libraries\common.inc.php(453): PhpMyAdmin\Config->loadUserPreferences() #3 C:\xampp\phpMyAdmin\index.php(27): require_once('C:\xampp\phpMyA...') #4 {main} thrown in C:\xampp\phpMyAdmin\libraries\classes\Core.php on line 677

Thank you for your interest. Have a good day.

like image 212
Zineb Berrada Avatar asked Jun 11 '19 06:06

Zineb Berrada


1 Answers

Please try clearing your browser cache and remove phpMyAdmin cookies, which start with "pma".

follow these steps

  • Open up your phpMyAdmin in browser
  • Press F12 to open Developer tools
  • go to Application > Clear storage
  • Clear all Cookies and Cache
  • Try refreshing the page.
like image 121
Sumithran Avatar answered Oct 22 '22 10:10

Sumithran