Conversation
supportHello, I started to receive the following : Notice: Undefined variable: item_id in /wp-content/plugins/bp-activity-share/public/class-bp-activity-share-public.php on line 256 I replaced the line in question from : $share_count = bp_activity_get_meta( $item_id, ‘bp_share_activity_count’, true ); To $share_count = isset($item_id) ? bp_activity_get_meta( $item_id, ‘bp_share_activity_count’, true ):0; Since the previous IF block was leaving from time to time the $item_id uninitialized . Would it be possible to please merge this into a future update ? Thank you, Adrian.
Hi @pitishor , Sorry for the delayed follow-up. I hope you are doing great. 🙂 Are you still facing this issue or it has been resolved?
Hi @pitishor , Sorry for the delayed follow-up. I hope you are doing great. 🙂 Are you still facing this issue or it has been resolved?