Fatal error: Uncaught Error: Call to a member function fetch_assoc() on boolean in /var/www/html/viewProfile.php:18 Stack trace: #0 {main} thrown in /var/www/html/viewProfile.php on line 18