Fatal error: Call to a member function orderBy() on a non-object in C:\xampp\htdocs\characters.php on line 391