Fatal error: cannot override __ () (previously declared in D: \ wamp \ apps \ phpMyAdmin \ libraries \ sql-parser \ src \ common.php: 17)

I worked with PMA, as always, but today PMA freezes when I tried a simple request. So I tried to restart the browser (Chrome), but now I can no longer access the PMA due to the following error:

Fatal error: Cannot redeclare __() (previously declared in D:\wamp\apps\phpMyAdmin\libraries\sql-parser\src\common.php:17) in D:\wamp\apps\phpMyAdmin\libraries\php-gettext\gettext.inc on line 290 

Then, after I deleted all the cookies, I met this error:

 Fatal error: Call to undefined function PMA\libraries\PMA_langSet() in D:\wamp\apps\phpMyAdmin\libraries\Config.php on line 1021 

I tried rebooting, tried downloading PMA again from the official site and replacing the files in the PMA directory, but the error is still here.

I do not know what to do now.

+5
source share
1 answer

Delete all session cookies seems to fix the error. Hope this helps.

+16
source

Source: https://habr.com/ru/post/1246221/


All Articles