I’m running WordPress with WP_DEBUG on and there’s a couple of E_NOTICE level errors in your code.
The first is on line 102, the variable `$protection` is not defined.
This can easily be fixed by adding on line 100:
$protection = false;
That ensures the $protection variable gets set.
The second one is on line 86, Uninitialized string offset: 0.
So line 86 can be changed to:
` if ( $bp->current_action == ‘feed’ || ( isset($bp->action_variables) && $bp->action_variables == ‘feed’ ) )`
I hope this helps and thanks again for your plugin.
The topic ‘A few fixes for NOTICE level errors…’ is closed to new replies.