Fatal error: Uncaught TypeError: Cannot access offset of type mysqli on array in /home/ekkadus/public_html/db.php:22
Stack trace:
#0 /home/ekkadus/public_html/forgot-password.php(10): spost(Object(mysqli), 'forgot')
#1 {main}
thrown in /home/ekkadus/public_html/db.php on line 22