• ResolvedPlugin Contributor jomo

    (@jonathanmoorebcsorg)


    Notice: Undefined offset: 0 in /wp-content/plugins/lh-private-buddypress/lh-private-buddypress.php on line 25
    from:
    $bp->action_variables[0] == ‘feed’

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Contributor jomo

    (@jonathanmoorebcsorg)

    this can be fixed by wrapping this logic in a

        if (is_buddypress()){
        }

    and returning false if not.

    Or even:

      if ( function_exists('bp_is_active') ) {
        if (is_buddypress()){

    in case BuddyPress was deactivated.

    That way, public bbPress forum or other non-BuddyPress page may be allowed.

    Plugin Contributor jomo

    (@jonathanmoorebcsorg)

    testing ok so far

    • This reply was modified 7 years, 8 months ago by jomo.
    Plugin Author shawfactor

    (@shawfactor)

    These changes should also be included in the latest version 1.03.

    Thankyou for your suggestions, all good improvements, do you wish to be co-author of this plugin?

    I would be happy to add you

    Pete

    • This reply was modified 7 years, 8 months ago by shawfactor.
    Plugin Contributor jomo

    (@jonathanmoorebcsorg)

    I’m sure I don’t deserve the honour of being a co-author, up to you.
    Yes the changes seem ok so far

    • This reply was modified 7 years, 8 months ago by jomo. Reason: forgot to mark as resolved
Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Undefined offset: 0 in call $bp->action_variables[0] == ‘feed’’ is closed to new replies.