Issue generating custom filter for cpt admin columns

You’ve probably hooked into one of the WP_Query-related actions/filters (e.g., pre_get_posts) and altering the query when isset( $_GET[ 'partner' ] ) == true. Find a way to conditionally avoid that modification (e.g., checking if $query->is_main_query()).

error code: 523