WPIntell

Source evidence

Notice: Undefined variable: item_id

BP Activity Share · support · 2017-02-15T20:05:00+00:00

complaintsentiment
mediumseverity
0.87relevance
1replies
Evidence linked to opportunitycommercial context

Proof Health

Open evidence

Commercial opportunities need traceable source links before they are treated as build-worthy.

3 / 31 rows with source links

9.7% of this page's analysis has direct source links.

0 build-decision rows missing links

0 rows here require auditable proof before promotion.

28 rows with no attached evidence

0 rows have source counts but still need direct links.

Conversation

support
pitishor unresolved
Hello, 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?

Comments

1 shown
Sanket Parmar 2017-07-22T16:31:00+00:00

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?