Skip to:
Content
Pages
Categories
Search
Top
Bottom

Forum Replies Created

Viewing 8 replies - 1 through 8 (of 8 total)

  • Skvirly
    Participant

    @skvirly

    @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 ?


    Skvirly
    Participant

    @skvirly

    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 ?


    Skvirly
    Participant

    @skvirly

    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

    @skvirly

    @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.


    Skvirly
    Participant

    @skvirly

    @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

    @skvirly

    @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

    @skvirly

    @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

    @skvirly

    @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.

Viewing 8 replies - 1 through 8 (of 8 total)
Skip to toolbar