I have come to this situation when I was using p2p (Post to post) plugin with a theme “Superstore” from wootheme. The problem is in the theme. If I change the theme it works well. For my situation it was solved using the instruction from wordpress support.
Add the code below in the theme “functions.php” as shown in the screenshot.
function my_canvas_hotfix_remove_filters($query = NULL)
remove_filter('pre_get_posts', 'woo_exclude_categories_homepage', 10);
add_action('init', 'my_canvas_hotfix_remove_filters', 999);
The problem should be solved.