Warning: Trying to access array offset on value of type null in /home/public/post.php on line 7
Fatal error: Uncaught TypeError: mysqli_fetch_assoc(): Argument #1 ($result) must be of type mysqli_result, bool given in /home/public/includes/public.php:48
Stack trace:
#0 /home/public/includes/public.php(48): mysqli_fetch_assoc(false)
#1 /home/public/post.php(7): getAuthor(NULL)
#2 {main}
thrown in /home/public/includes/public.php on line 48