Opened 4 years ago
Closed 4 years ago
#8331 closed defect (bug) (worksforme)
Fatal error: Class 'BP_REST_Components_Endpoint' not found
Reported by: | man4toman | Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | 5.0.0 |
Component: | REST API | Keywords: | reporter-feedback |
Cc: |
Description
Hi
I start setup a test environment with latest version of WordPress "5.5-beta1-48404" and svn version of BuddyPress, but I get a fatal error:
<b>Fatal error</b>: Uncaught Error: Class 'BP_REST_Components_Endpoint' not found in /wp-content/plugins/buddypress/bp-core/classes/class-bp-component.php:90
Am I missing something or this a critical problem?
Change History (5)
#2
@
4 years ago
- Keywords reporter-feedback added
@man4toman I can't reproduce, are you using the BP REST API into one of your plugins or into your active theme ?
FYI, we are making sure the BP REST API is available using this function : bp_rest_api_is_available()
and after testing it, it behaves the right way.
#3
@
4 years ago
@imath Thanks for your follow up.
I re-check everything also availability of BP REST API, fatal error gone away.
hi @man4toman
Thanks a lot for your feedback. Well, the BP REST API is included during our build process, so this issue should not happen with our stable releases. I never got this issue because I always have the development version of the BP REST API activated.
That being said, this fatal is pretty ugly. We should probably remove it. I'm going to look at it.