Title: Debug error log
Last modified: April 26, 2022

---

# Debug error log

 *  Resolved [teeboy4real](https://wordpress.org/support/users/teeboy4real/)
 * (@teeboy4real)
 * [4 years, 1 month ago](https://wordpress.org/support/topic/debug-error-log/)
 * Hello,
 * Please take a look at this error log
 * [26-Apr-2022 22:58:55 UTC] PHP Notice: bp_displayed_user_id() was called **incorrectly**.
   Please wait for the `bp_parse_query` hook to be fired before using it. Please
   see [Debugging in WordPress](https://wordpress.org/support/article/debugging-in-wordpress/)
   for more information. (This message was added in version BP Rewrites.) in /var/
   www/wptbox/wp-includes/functions.php on line 5775
 * [26-Apr-2022 22:58:55 UTC] PHP Notice: bp_current_component() was called **incorrectly**.
   Please wait for the `bp_parse_query` hook to be fired before using it. Please
   see [Debugging in WordPress](https://wordpress.org/support/article/debugging-in-wordpress/)
   for more information. (This message was added in version BP Rewrites.) in /var/
   www/wptbox/wp-includes/functions.php on line 5775
 * [26-Apr-2022 22:58:55 UTC] PHP Notice: bp_current_item() was called **incorrectly**.
   Please wait for the `bp_parse_query` hook to be fired before using it. Please
   see [Debugging in WordPress](https://wordpress.org/support/article/debugging-in-wordpress/)
   for more information. (This message was added in version BP Rewrites.) in /var/
   www/wptbox/wp-includes/functions.php on line 5775
 * `[23:00:13 UTC] PHP Notice: BuddyPress Members Nav was called <strong>incorrectly
   </strong>. Please wait for the`bp_setup_nav`hook to be fired before trying to
   create a nav or a subnav item. The following nav item slugs are problematic: 
   <strong style="color: red">cover-photo</strong>. Please see <a href="https://
   wordpress.org/support/article/debugging-in-wordpress/">Debugging in WordPress
   </a> for more information. (This message was added in version BP Rewrites.) in/
   var/www/wptbox/wp-includes/functions.php on line 5775`
 * Thanks

Viewing 1 replies (of 1 total)

 *  Anonymous User
 * (@anonymized-6594935)
 * [4 years, 1 month ago](https://wordpress.org/support/topic/debug-error-log/#post-15604365)
 * Hi [@teeboy4real](https://wordpress.org/support/users/teeboy4real/)
 * Thanks a lot for testing this plugin.
 * These notices are added by the BP Rewrites plugin when the `WP_DEBUG` constant
   is set to `true`. Their goal is to draw the developer’s attention about the fact
   the code he/she is using right now would need to be adapted so that BuddyPress
   template globals are accessed once they are defined when using the WP Rewrites
   API.
 * The BP Rewrites plugin is a feature as a plugin that we’ll include into BuddyPress
   Core once a lot of users have tested it. Thanks to these notices we hope these
   testing will help developers to progressively adapt their work to this new way
   of parsing BP generated URLs.
 * It’s made on purpose.
 * See [https://bpdevel.wordpress.com/2022/02/13/bp-rewrites-1-0-0-beta1/](https://bpdevel.wordpress.com/2022/02/13/bp-rewrites-1-0-0-beta1/)
   for more information about these notices.

Viewing 1 replies (of 1 total)

The topic ‘Debug error log’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/bp-rewrites_ececec.svg)
 * [BP Rewrites](https://wordpress.org/plugins/bp-rewrites/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/bp-rewrites/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/bp-rewrites/)
 * [Active Topics](https://wordpress.org/support/plugin/bp-rewrites/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/bp-rewrites/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/bp-rewrites/reviews/)

## Tags

 * [k](https://wordpress.org/support/topic-tag/k/)

 * 1 reply
 * 2 participants
 * Last reply from: Anonymous User
 * Last activity: [4 years, 1 month ago](https://wordpress.org/support/topic/debug-error-log/#post-15604365)
 * Status: resolved