[buddypress-trac] [BuddyPress] #5241: Notices occur when BP_ENABLE_ROOT_PROFILES is enabled

buddypress-trac noreply at wordpress.org
Fri Dec 20 14:47:28 UTC 2013


#5241: Notices occur when BP_ENABLE_ROOT_PROFILES is enabled
---------------------------+-----------------------
 Reporter:  henrywright    |       Owner:
     Type:  defect (bug)   |      Status:  reopened
 Priority:  normal         |   Milestone:  2.0
Component:  Rewrite Rules  |     Version:  1.7
 Severity:  minor          |  Resolution:
 Keywords:                 |
---------------------------+-----------------------

Comment (by henrywright):

 Some more feedback on this since upgrading to 1.9. I'm now getting a huge
 number of debug notices when root profiles are enabled.

 Steps:

 a) Enable root profiles
 b) visit the notifications page {{{example.com/username/notifications}}}

 1. Notice: Trying to get property of non-object in /wp-includes/query.php
 on line 3675

 2. Notice: Trying to get property of non-object in /wp-content/plugins
 /wordpress-seo/frontend/class-frontend.php on line 552

 3. Notice: Undefined property: WP_Query::$post in /wp-includes/query.php
 on line 3296

 4. Notice: Trying to get property of non-object in /wp-content/plugins
 /wordpress-seo/frontend/class-frontend.php on line 642

 5. Notice: Undefined property: WP_Query::$post in /wp-includes/query.php
 on line 3296

 6. Notice: Trying to get property of non-object in /wp-includes/query.php
 on line 3671

 7. Notice: Trying to get property of non-object in /wp-includes/query.php
 on line 3673

 8. Notice: Trying to get property of non-object in /wp-includes/query.php
 on line 3675

 9. Notice: Trying to get property of non-object in /wp-content/plugins
 /wordpress-seo/frontend/class-frontend.php on line 848

 10. Notice: Trying to get property of non-object in /wp-content/plugins
 /wordpress-seo/frontend/class-frontend.php on line 851

 11. Notice: Undefined property: WP_Query::$post in /wp-includes/query.php
 on line 3296

 12. Notice: Trying to get property of non-object in /wp-includes/query.php
 on line 3671

 13. Notice: Trying to get property of non-object in /wp-includes/query.php
 on line 3673

 14. Notice: Trying to get property of non-object in /wp-includes/query.php
 on line 3675

 15. Notice: Undefined property: WP_Query::$post in /wp-includes/query.php
 on line 3296

 16. Notice: Trying to get property of non-object in /wp-content/plugins
 /wordpress-seo/frontend/class-frontend.php on line 154

 17. Notice: Trying to get property of non-object in /wp-content/plugins
 /wordpress-seo/frontend/class-frontend.php on line 159

 18. Notice: Undefined property: WP_Query::$post in /wp-includes/query.php
 on line 3296

 19. Notice: Trying to get property of non-object in /wp-includes/query.php
 on line 3671

 20. Notice: Trying to get property of non-object in /wp-includes/query.php
 on line 3673

 21. Notice: Trying to get property of non-object in /wp-includes/query.php
 on line 3675

 22. Notice: Undefined property: WP_Query::$post in /wp-includes/query.php
 on line 3296

 23. Notice: Trying to get property of non-object in /wp-content/plugins
 /wordpress-seo/frontend/class-frontend.php on line 642

 24. Notice: Trying to get property of non-object in /wp-content/plugins
 /wordpress-seo/frontend/class-opengraph.php on line 124

 25. Notice: Trying to get property of non-object in /wp-includes/general-
 template.php on line 1442

 26. Notice: Trying to get property of non-object in /wp-includes/general-
 template.php on line 1583

 27. Notice: Undefined property: WP_Query::$post in /wp-includes/query.php
 on line 3296

 28. Notice: Trying to get property of non-object in /wp-includes/query.php
 on line 3671

 29. Notice: Trying to get property of non-object in /wp-includes/query.php
 on line 3673

 30. Notice: Trying to get property of non-object in /wp-includes/query.php
 on line 3675

 31. Notice: Trying to get property of non-object in /wp-content/plugins
 /wordpress-seo/frontend/class-opengraph.php on line 327

 32. Notice: Trying to get property of non-object in /wp-includes/post-
 template.php on line 29

 33. Notice: Trying to get property of non-object in /wp-content/plugins
 /wordpress-seo/frontend/class-opengraph.php on line 332

 34. Notice: Undefined property: WP_Query::$post in /wp-includes/query.php
 on line 3296

 35. Notice: Trying to get property of non-object in /wp-includes/query.php
 on line 3671

 36. Notice: Trying to get property of non-object in /wp-includes/query.php
 on line 3673

 37. Notice: Trying to get property of non-object in /wp-includes/query.php
 on line 3675

 38. Notice: Trying to get property of non-object in /wp-includes/comment-
 template.php on line 939

 39. Notice: Trying to get property of non-object in /wp-includes/comment-
 template.php on line 964

 40. Notice: Trying to get property of non-object in /wp-includes/general-
 template.php on line 1704

 41. Notice: Undefined property: WP_Query::$post in /wp-includes/query.php
 on line 3296

 These notices don't happen when root profiles are ''disabled''.

--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/5241#comment:12>
BuddyPress <http://buddypress.org/>
BuddyPress


More information about the buddypress-trac mailing list