PHP Fatal error: Uncaught Error
-
I have found a bug in bp-follow-notifications.php
Line 308 was throwing a fatal error in my logs.
The line:
$has_notified[] = $r['leader_id'];
The error:
PHP Fatal error: Uncaught Error: [] operator not supported for strings in /[snip]/wp-content/plugins/buddypress-followers/_inc/bp-follow-notifications.php:308
This is because line 301 asks for a string by setting the single flag to true
$has_notified = bp_get_user_meta( $r['follower_id'], 'bp_follow_has_notified', true );
- The topic ‘PHP Fatal error: Uncaught Error’ is closed to new replies.