quick fix for php error in button-functions.php
-
Error: Undefined offset: 0 in wp-content/plugins/buddypress-like/includes/button-functions.php line 83
Fix replace this:
$activity_type = $activity['activities'][0]->type;
with this:
$activity_type = bp_get_activity_type();
??
- The topic ‘quick fix for php error in button-functions.php’ is closed to new replies.