Fatal error: Uncaught Error: Call to a member function prepare() on null in /home/sscvcom/private_application/database.php:33 Stack trace: #0 /home/sscvcom/public_html/photo.php(28): App\Database->prepare('SELECT * FROM `...') #1 {main} thrown in /home/sscvcom/private_application/database.php on line 33