Title: Make object cache friendly
Last modified: December 12, 2023

---

# Make object cache friendly

 *  Resolved [shawfactor](https://wordpress.org/support/users/shawfactor/)
 * (@shawfactor)
 * [2 years, 5 months ago](https://wordpress.org/support/topic/make-object-cache-friendly/)
 * With any form of object caching this plugin generates fatal errors on the single
   member attachment page, the fix is a bit beyond me but here is the main error
   generated:
 * PHP Fatal error: Uncaught Error: Attempt to assign property “single_item_name”
   on null in /****/public_html/wp-content/plugins/buddypress/bp-members/classes/
   class-bp-members-component.php:953
 * It would be really nice to get this fixed, I have noticed this with both redis
   and sqllite caching
    -  This topic was modified 2 years, 5 months ago by [shawfactor](https://wordpress.org/support/users/shawfactor/).

Viewing 4 replies - 1 through 4 (of 4 total)

 *  Plugin Author [Mathieu Viet](https://wordpress.org/support/users/imath/)
 * (@imath)
 * [2 years, 4 months ago](https://wordpress.org/support/topic/make-object-cache-friendly/#post-17282434)
 * Thanks for your feedback, I’ll work on it from there:
 * [https://github.com/buddypress/bp-attachments/issues/98](https://github.com/buddypress/bp-attachments/issues/98)
 *  Plugin Author [Mathieu Viet](https://wordpress.org/support/users/imath/)
 * (@imath)
 * [2 years, 4 months ago](https://wordpress.org/support/topic/make-object-cache-friendly/#post-17332980)
 * [@shawfactor](https://wordpress.org/support/users/shawfactor/) Looking more into
   it, to me it’s more an issue with BuddyPress. But it’s really weird to get such
   an issue, it means the Members component base post type does not exist.
 * I wasn’t able to reproduce for now. But I’ll work on it from the BuddyPress plugin.
 *  Thread Starter [shawfactor](https://wordpress.org/support/users/shawfactor/)
 * (@shawfactor)
 * [2 years, 2 months ago](https://wordpress.org/support/topic/make-object-cache-friendly/#post-17467812)
 * [@imath](https://wordpress.org/support/users/imath/)
 * can you please let me know the thread or trac nuber of the underlying buddypress
   issue? As I am still seeing it and would like to follow development
 *  Plugin Author [Mathieu Viet](https://wordpress.org/support/users/imath/)
 * (@imath)
 * [2 years, 2 months ago](https://wordpress.org/support/topic/make-object-cache-friendly/#post-17467962)
 * hi [@shawfactor](https://wordpress.org/support/users/shawfactor/) here it is:
 * [https://buddypress.trac.wordpress.org/ticket/9076](https://buddypress.trac.wordpress.org/ticket/9076)

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Make object cache friendly’ is closed to new replies.

 * ![](https://ps.w.org/bp-attachments/assets/icon.svg?rev=2878763)
 * [BP Attachments](https://wordpress.org/plugins/bp-attachments/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/bp-attachments/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/bp-attachments/)
 * [Active Topics](https://wordpress.org/support/plugin/bp-attachments/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/bp-attachments/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/bp-attachments/reviews/)

 * 5 replies
 * 2 participants
 * Last reply from: [Mathieu Viet](https://wordpress.org/support/users/imath/)
 * Last activity: [2 years, 2 months ago](https://wordpress.org/support/topic/make-object-cache-friendly/#post-17467962)
 * Status: resolved