Fatal error: Uncaught TypeError: mysqli_fetch_all(): Argument #1 ($result) must be of type mysqli_result, bool given in /home/digitaleyedeas/public_html/public_functions.php:12 Stack trace: #0 /home/digitaleyedeas/public_html/public_functions.php(12): mysqli_fetch_all(false, 1) #1 /home/digitaleyedeas/public_html/work.php(5): getPublishedPosts() #2 {main} thrown in /home/digitaleyedeas/public_html/public_functions.php on line 12