BuddyBoss Home – Web Support Forums Plugins BuddyBoss Wall Wall having php issues with foreach() in line 249

Tagged: ,

Viewing 8 posts - 1 through 8 (of 8 total)
  • Question

    #35071
    @jewdotcamp

    When I get on the front end of my BP, I am having the following popup appear across all activity streams:

    Warning: Invalid argument supplied for foreach() in /home/jew81475/public_html/staff/wp-content/plugins/buddyboss-wall/includes/wall-functions.php on line 249

    My site is a multisite with BP network installed, Buddyboss wall is network activated. I am using rtmediapro instead of buddyboss media. Hope this helps and that you all can help me. Thank you!

    Answers

    #35144

    Alyssa
    Participant
    @alyssa-buddyboss

    @jewdotcamp Welcome to the BuddyBoss community! Can you try disabling plugins to determine if it is a plugin conflict. I can further troubleshoot from there. Does the issue go away if the Wall is the opposite of network activated? (I forget the other option available)

    #35189
    @jewdotcamp

    Hey thanks for the reply.

    So I changed the settings. I do have multisite set up. Buddypress, bbpress, BuddyBoss, and BuddyBoss Wall are all on site 1. Instead of buddyboss media, I have Buddypress activity plus and rtmedia pro installed. However, I have checked against these and all the other plugins. There doesn’t seem to be a conflict.

    I checked the line and it has to do with like ids. How can I remedy this?

    If you want to check it out http://www.jew.camp/staff/activity

    Thank you for your response.

    Best,

    Jacob

    #35211

    Alyssa
    Participant
    @alyssa-buddyboss

    @jewdotcamp odd this is on line 247 for my current version. Try reinstalling the theme, possibly via FTP to ensure no errors, also make sure it is the latest version 🙂

    #35286
    @jewdotcamp

    I deleted the theme(s) and plugin(s), reinstalled them and activated them on the appropriate site. I feel that helped, but didn’t solve the problem. The error message still appears above the activity feed on “my wall” as well as inside of groups. It does this for all users.

    The good news this is a demo site for a client, so I will manage for now, but please advise as I would like to fix this. I am willing to reinstall from scratch when we make our working model.

    THank you!

    #35300

    Alyssa
    Participant
    @alyssa-buddyboss

    @jewdotcamp I’m sure if you add this to functions.php it would disappear:
    error_reporting(0);
    Is the plugin network activated? If not, try enabling it. If so, try disabling it. I’m still increasing my working knowledge on MS.

    #35314
    @jewdotcamp

    I cleaned out a bunch of plugins and cleared my cache and it’s all working well. I apologize as I didn’t document which ones. I appreciate the help all the way. If it happens again, I’ll do the error reporting code. Thank you so much, TJ

    -Best, Jacob

    #35350

    Alyssa
    Participant
    @alyssa-buddyboss

    Great news. I’ll close this out then. If it does come up again please open a new topic.

Viewing 8 posts - 1 through 8 (of 8 total)
  • The question ‘Wall having php issues with foreach() in line 249’ is closed to new replies.