Fatal error: Uncaught Error: Call to a member function fetch_assoc() on null in /www/hobuddy.com/prod/api/dev/class.api.php:538 Stack trace: #0 /www/hobuddy.com/prod/api/dev/class.api.php(612): Api->detect_user() #1 /www/hobuddy.com/prod/index.php(57): Api->run('auth', Array, true) #2 {main} thrown in /www/hobuddy.com/prod/api/dev/class.api.php on line 538