I've been trying to debug this issue for the past hour and I can't seem to figure it out.
I created a new page and it's now returning a blank page. I disabled permalinks and added the following link to debug the query:
global $wp_query;
print_r($wp_query);
The following text gets outputted:
WP_Query Object ( [query] => [query_vars] => Array ( ) [tax_query] => [meta_query] => [queried_object] => [queried_object_id] => [request] => [posts] => [post_count] => 0 [current_post] => -1 [in_the_loop] => [post] => [comments] => [comment_count] => 0 [current_comment] => -1 [comment] => [found_posts] => 0 [max_num_pages] => 0 [max_num_comment_pages] => 0 [is_single] => [is_preview] => [is_page] => [is_archive] => [is_date] => [is_year] => [is_month] => [is_day] => [is_time] => [is_author] => [is_category] => [is_tag] => [is_tax] => [is_search] => [is_feed] => [is_comment_feed] => [is_trackback] => [is_home] => [is_404] => [is_comments_popup] => [is_paged] => [is_admin] => [is_attachment] => [is_singular] => [is_robots] => [is_posts_page] => [is_post_type_archive] => [query_vars_hash] => [query_vars_changed] => 1 [thumbnails_cached] => )
I Also added "hello world" inside index.php and page.php and nothing.