“Invalid post type” when doing filter/search
-
At certain points searching/filtering/sorting in the admin for bbpress custom post types (topics, replies, forums) I get a white screen with the error “Invalid post type.” It appears in the URL that it might be resending the post type which is creating an array so in the url it says &post_type=array& which is throwing the error.
Example: https://mydomain.com/wp-admin/edit.php?orderby=modified&order=asc&s=Product+Releases&post_status=all&post_type=Array&_wpnonce=d255a43653&_wp_http_referer=%2Fwp-admin%2Fedit.php%3Forderby%3Dmodified%26order%3Dasc%26s%3DProduct%2BReleases%26post_status%3Dall%26post_type%3Dtopic%26action%3D-1%26m%3D0%26bbp_forum_id%26action2%3D-1&action=-1&m=0&topic-prefix=0&bbp_forum_id=18134&filter_action=Filter&paged=1&action2=-1Is there any way to fix this? We are trying to sift through many many topics to do some edits on a forum that we are migrating and need better ways to find posts in the admin. Any input as to where to fix it or if it is even fixable would be greatly appreciated.
WP version: 5.0.3
bbPress version: 2.5.14
Site: https://corepointuc.wpengine.com (it’s locked down private but this is an admin issue)
Theme: Divi Child theme
Not sure if this is a bug so please let me know if I need to report it as such. (ie. trac ticket)Thank you for any input or leads in the right direction!
Leslie
- You must be logged in to reply to this topic.