Fatal error: Uncaught Error: Call to a member function query() on string in /var/www/html/maw/class/pdo_db.php:138 Stack trace: #0 /var/www/html/maw/class/pdo_db.php(57): pdo_db->query('SELECT DISTINCT...') #1 /var/www/html/maw/class/admin.php(47): pdo_db->Direct_select('SELECT DISTINCT...') #2 /var/www/html/maw/includes/header.php(10): admin->fetchAllSiteLocations() #3 /var/www/html/maw/index.php(3): require('/var/www/html/m...') #4 {main} thrown in /var/www/html/maw/class/pdo_db.php on line 138