Home Forums Plugin Support AffiliateWP BuddyPress Pro Notices and warning about undefined index and property

2 replies, 2 voices Last updated by Christian Freeman 5 years, 5 months ago
    • nakomajoe
      Participant
      @nakomajoe
      #8622

      Lots of PHP warnings and errors on one page after updating plugins this weekend. I get them immediately after submitting the affiliate registration form. I now get:

      Notice: Undefined index: user in /home/mysite/public_html/wp-content/plugins/affiliatewp-buddypress-pro/includes/class-friends.php on line 64

      Notice: Undefined index: aff_connection in /home/mysite/public_html/wp-content/plugins/affiliatewp-buddypress-pro/includes/class-friends.php on line 88

      Notice: Undefined property: BP_Friends_Component::$table_name in /home/mysite/public_html/wp-content/plugins/buddypress/bp-friends/classes/class-bp-friends-friendship.php on line 371

      Notice: Undefined property: BP_Friends_Component::$table_name in /home/mysite/public_html/wp-content/plugins/buddypress/bp-friends/classes/class-bp-friends-friendship.php on line 189

      Notice: Undefined property: BP_Groups_Component::$table_name_groupmeta in /home/mysite/public_html/wp-content/plugins/affiliatewp-buddypress-pro/includes/class-groups.php on line 273

      Notice: Undefined property: BP_Groups_Component::$table_name in /home/mysite/public_html/wp-content/plugins/buddypress/bp-groups/classes/class-bp-groups-group.php on line 881

      Notice: Undefined property: BP_Groups_Component::$table_name in /home/mysite/public_html/wp-content/plugins/buddypress/bp-groups/classes/class-bp-groups-group.php on line 321

      Notice: Undefined index: aff_connection in /home/mysite/public_html/wp-content/plugins/affiliatewp-buddypress-pro/includes/class-friends.php on line 115

      Notice: Undefined property: BP_Groups_Component::$table_name_groupmeta in /home/mysite/public_html/wp-content/plugins/affiliatewp-buddypress-pro/includes/class-groups.php on line 273

      Notice: Undefined index: approved in /home/mysite/public_html/wp-content/plugins/affiliatewp-buddypress-pro/includes/class-notifications.php on line 165

      Notice: Undefined index: rejected in /home/mysite/public_html/wp-content/plugins/affiliatewp-buddypress-pro/includes/class-notifications.php on line 256

      Notice: Undefined property: BP_XProfile_Component::$table_name_data in /home/mysite/public_html/wp-content/plugins/buddypress/bp-xprofile/classes/class-bp-xprofile-profiledata.php on line 473

      Notice: Undefined property: BP_XProfile_Component::$table_name_fields in /home/mysite/public_html/wp-content/plugins/buddypress/bp-xprofile/classes/class-bp-xprofile-field.php on line 210

      Notice: Undefined property: BP_XProfile_Component::$table_name_fields in /home/mysite/public_html/wp-content/plugins/buddypress/bp-xprofile/classes/class-bp-xprofile-field.php on line 860

      Notice: Undefined property: BP_XProfile_Component::$table_name_fields in /home/mysite/public_html/wp-content/plugins/buddypress/bp-xprofile/classes/class-bp-xprofile-field.php on line 210

      Notice: Trying to get property of non-object in /home/mysite/public_html/wp-content/plugins/buddypress/bp-xprofile/bp-xprofile-functions.php on line 1120

      Notice: Undefined property: BP_XProfile_Component::$table_name_fields in /home/mysite/public_html/wp-content/plugins/buddypress/bp-xprofile/classes/class-bp-xprofile-profiledata.php on line 162

      Notice: Undefined property: BP_Activity_Component::$table_name in /home/mysite/public_html/wp-content/plugins/buddypress/bp-activity/classes/class-bp-activity-activity.php on line 288

      Warning: Cannot modify header information – headers already sent by (output started at /home/mysite/public_html/wp-content/plugins/affiliatewp-buddypress-pro/includes/class-friends.php:64) in /home/mysite/public_html/wp-includes/pluggable.php on line 920

      Warning: Cannot modify header information – headers already sent by (output started at /home/mysite/public_html/wp-content/plugins/affiliatewp-buddypress-pro/includes/class-friends.php:64) in /home/mysite/public_html/wp-includes/pluggable.php on line 921

      Warning: Cannot modify header information – headers already sent by (output started at /home/mysite/public_html/wp-content/plugins/affiliatewp-buddypress-pro/includes/class-friends.php:64) in /home/mysite/public_html/wp-includes/pluggable.php on line 922

      Notice: Undefined property: BP_Messages_Component::$table_name_messages in /home/mysite/public_html/wp-content/plugins/buddypress/bp-messages/classes/class-bp-messages-message.php on line 136

      Notice: Undefined property: BP_Messages_Component::$table_name_messages in /home/mysite/public_html/wp-content/plugins/buddypress/bp-messages/classes/class-bp-messages-message.php on line 141

      Notice: Undefined index: pending in /home/mysite/public_html/wp-content/plugins/affiliatewp-buddypress-pro/includes/class-notifications.php on line 224

      Notice: Undefined index: registration in /home/mysite/public_html/wp-content/plugins/affiliatewp-buddypress-pro/includes/class-activity.php on line 112

    • nakomajoe
      Participant
      @nakomajoe
      #8623
      This reply has been marked as private.
    • Christian Freeman
      Participant
      @christianf
      #8695

      Hello,

      Yes, I see what you mean. These are notices, not fatal errors. So, you must have Debug mode enabled in WordPress in order to see these. I am working on an update for AffiliateWP BP Pro now, which will include a fix for this. For now, I would suggest disabling Debug Mode in your wp-config.php file so that you don’t see these notices.

      Thanks for reporting this.

Viewing 2 reply threads
  • You must be logged in to reply to this topic.