- Uncaught Exception: DB Error: Access denied for user ” (using password: YES)
= Check credentials
by dev
by dev
Problem:
Solution:
::class is only available from PHP 5.5 onward, So updating php version of the SERVER will solve the problem.
First check php version of your server with command line.
php -v
Note that phpinfo() may give different version that with the php -v