Skip to:
Content
Pages
Categories
Search
Top
Bottom

Activity stream disappears in WordPress dashboard

  • @skvirly

    Participant

    I am using WP 4.3.1, BP 2.3.3 and Sweet date theme, here. Any plugin I want to use besides the ones mentioned before makes my activity stream in the WP dashboard disappear. I am also using bbPress 2.5.8, rtMedia 3.8.19, akismet 3.1.3, contact form 7 v4.3. All the plugins deactivated makes my activity stream appear again, any of the other plugins activated makes it disappear again. I first thought that it was a bbpress issue only, but after systematic troubleshooting it rather seems to be a Buddypress related issue. Any help is greatly appreciated.

Viewing 12 replies - 1 through 12 (of 12 total)
  • @danbp

    Participant

    Have you tried with Twenty Fifteen ?

    @skvirly

    Participant

    @danbp: Thank you for the suggestion. I forgot that. I did try and I get exactly the same behaviour so we can rule out any theme related issue. It really seems to be a Buddypress problem with several plugins.
    Any other suggestions to see where the problem might be ?
    Thanks.

    @danbp

    Participant

    Deactivate all plugins and reactivate them one by one until you find a culprit.
    There is no other way to debug.
    Activate also debug mode in wp-config, perhaps you get some php warning or notice which may help you to isolate something.

    @skvirly

    Participant

    @danbp: I already had done the deactivation/activation procedure. It was inconclusive because it depended on which plugin I would activate first which one would create the error.

    The debug mode indeed gives a clue. The error message in the activity stream in the dashboard is:
    “Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 7680 bytes) in …/wp-content/plugins/buddypress/bp-core/bp-core-functions.php(147) : runtime-created function on line 1”

    I already had asked Ipage to up my memory limit and they had increased it to 128MB. Seemingly even that is not enough. I am surprised how much memory is needed with this little plugins. How much should I ask for now knowing that I still want to include Paid Memberships Pro ?
    Thank you for your support !

    @skvirly

    Participant

    @danbp: I increased the memory limit to 512 MB and it still gives exactly the same error message.

    line 1 of bp-core-functions.php is simply “<?php” so I don’t see the issue. I am new to this.

    Any other suggestions ?

    @skvirly

    Participant

    @danbp : I am checking my error logs generated by the server. I have a large amount of
    “PHP Notice: Undefined offset: 1 in /hermes/bosoraweb076/b2865/ipg.skvirlcom/wp-content/plugins/buddypress/bp-xprofile/classes/class-bp-xprofile-field-type-multiselectbox.php on line 126”

    Can it be related to the problem or is this something else ?

    @skvirly

    Participant

    @danbp : Here is line 123 till 131 of the class-bp-xprofile-field-type-multiselectbox.php file.
    123 // Check for updated posted values, but errors preventing them from
    124 // being saved first time
    125 foreach( $option_values as $i => $option_value ) {
    126 if ( isset( $_POST[‘field_’ . $this->field_obj->id] ) && $_POST[‘field_’ . $this->field_obj->id][$i] != $option_value ) {
    127 if ( ! empty( $_POST[‘field_’ . $this->field_obj->id][$i] ) ) {
    128 $option_values[] = sanitize_text_field( $_POST[‘field_’ . $this->field_obj->id][$i] );
    129 }
    130 }
    131 }

    Related to the problem you think ? Could this be looping somehow and causing memory to be exhausted ?
    Your support is highly appreciated. Thanks.

    @danbp

    Participant

    Hi @skvirly,

    unfortunately, i think nothing about your issue, except that it seems that something is interfering somewhere.

    The best practice in such case is to start from the begin.
    Activate WordPress and 2015 theme. Check that anything is correctly working.
    Then activate BuddyPress. Re-check.
    Then bbPress. Re-check.
    Then, activate Sweet Date theme. Re-check.

    If all is Ok, and only if all, you now have a base install of WP/BP/bbP and your theme working correctly. There shouldn’t be any notice or warning at this stage. If you got one, it’s a probleme with the theme.

    If this is ok, you add one plugin. And re-check. This normally make things easier to debug.
    As it is apparently related to xprofile, it could be possible that if you use contactform plugin for your register page, that something is wrong with that plugin. But this is only a hypothesis, not a certainty.

    Note that php memory_limit of 128 mo is enought to run a script, when BP is running on a single install. Aside, note also it’s default for php 5.6 version.

    Happy debuging.

    @skvirly

    Participant

    Hi @danbp
    I guess that is the only way to go about it. I was afraid I needed to reinstall everything losing all of my content, but by deactivating/activating that shouldn’t happen. I will take a stab at it and I will let you know.
    Ipage is still working with php 5.3 🙁 so I need to mannually up the memory limit.
    Thanks.

    @skvirly

    Participant

    Hi @danbp
    Bad news. I deactivated all plugins and activated WP theme 2015. All works well. I only activated BP 2.3.3. and the activity stream already gives me exactly the same error:
    Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 7680 bytes) in xxx/wp-content/plugins/buddypress/bp-core/bp-core-functions.php(147) : runtime-created function on line 1

    Seemingly I am the only one with this problem. Should I proceed to a completely fresh install ?

    @danbp

    Participant

    Did you activated permalinks ? Is mod_rewrite on in htaccess ?
    Details here.

    @skvirly

    Participant

    @danbp:
    Yes permalinks are enabled. This is a copy of my .htaccess file
    “# BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ – [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>

    # END WordPress”

    Anything that needs to be changed ?

Viewing 12 replies - 1 through 12 (of 12 total)
  • The topic ‘Activity stream disappears in WordPress dashboard’ is closed to new replies.
Skip to toolbar