invalid post type bp_ps_form
-
Hi,
We’re using BuddyBoss version 1.4.2 and BP Profile Search 5.3.3.
When trying to access the Profile Search tab under BuddyBoss > Profiles page, we’re getting an error message
Invalid post type.. The URL of this page is/wp-admin/edit.php?post_type=bp_ps_form.We debugged this further and realized that the post type
bp_ps_formis being registered inbuddyboss-platform/bp-core/profile-search/bps-start.phpwhich in turn is being loaded frombuddyboss-platform/bp-core/bp-core-profile-search.php.However, before the line
include buddypress()->plugin_dir . 'bp-core/profile-search/bps-start.php';is executed, the function returns after the checkif ( defined( 'BPS_VERSION' ) || function_exists( 'bps_buddypress' ) ) {.We noticed that your plugin BP Profile Search is defining the constant
BPS_VERSIONwhich is preventing BuddyBossPlatform plugin to register the post typebp_ps_form.I’m not sure if this should be reported to you or BuddyBoss, so took a first stab by reporting it to you here.
Any help from you would be greatly appreciated.
The topic ‘invalid post type bp_ps_form’ is closed to new replies.