phpmyadmin getting HTTP 500 error


Yesterday phpmyadmin was working fine in my server, but today it’s getting a 500 error.

[Thu May 17 20:15:17.277309 2018] [:error] [pid 27295] [client] PHP Fatal error:  Uncaught Error: Call to undefined function __() in /usr/share/phpmyadmin/libraries/core.lib.php:245\nStack trace:\n#0 /usr/share/phpmyadmin/libraries/ PMA_fatalError('Error during se...')\n#1 /usr/share/phpmyadmin/libraries/ require('/usr/share/phpm...')\n#2 /usr/share/phpmyadmin/index.php(12): require_once('/usr/share/phpm...')\n#3 {main}\n  thrown in /usr/share/phpmyadmin/libraries/core.lib.php on line 245
[Thu May 17 20:16:34.564414 2018] [auth_basic:error] [pid 27288] [client] AH01618: user  not found: /phpmyadmin/

Not sure what happened or what I did!

Using Apache2 and Ubuntu 16.04

Any help is appreciated! Thank you!

Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

Check if your session directory is writable by the webserver

You can do that by adding a php info file in your phpmyadmin directory: