Adding debugging text to getAllPosts.php