Error Connection: SQLSTATE[HY000] [2002] No such file or directory
Fatal error: Uncaught Error: Call to a member function prepare() on null in /home/photostockeditor/public_html/controller/image.php:24
Stack trace:
#0 /home/photostockeditor/public_html/config/router.php(104): index('bakery-coffee-s...')
#1 /home/photostockeditor/public_html/index.php(22): require_once('/home/photostoc...')
#2 {main}
thrown in /home/photostockeditor/public_html/controller/image.php on line 24