• Professores

    (@professoresunidos)


    Hi, there!

    Yesterday I bought an SSL certificate and increased the memory size for my multisite. It installed automatically. Today I went on my site and I got the following message:

    Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 12288 bytes) in /home/xxxxxxxxx/public_html/wp-content/plugins/marketpress/marketpress-includes/plugins-gateway/eway30.php on line 264

    My host said that I need to disable the plugin, but they didn’t know how to do it with a multisite. Any thoughts?

    Please, please help me. This is my first post and I’m learning this whole thing.

    Thank you,
    Adriana (Professores)

Viewing 7 replies - 1 through 7 (of 7 total)
  • Hey Adriana,

    If you do not have access to the WordPress admin, you can rename the plugin folder via FTP to deactivate it.

    But why not increase the memory some more instead?

    GL!

    Thread Starter Professores

    (@professoresunidos)

    Hi, GL!

    I did buy more memory before this incident, thats why I don’t know what to do.

    Can you give me more details in how I rename the plugin?

    TIA!
    Adriana

    Thread Starter Professores

    (@professoresunidos)

    ok… I’m starting to freak out! Here is what I have done so far:

    I follow these instruction:
    reset your plugins folder via FTP or the file manager provided in your host’s control panel. This method preserves plugin options but requires plugins be manually reactivated.

    Via FTP or your host’s file manager, navigate to the wp-contents folder (directory)
    Via FTP or your host’s file manager, rename the folder “plugins” to “plugins.hold”
    Login to your WordPress administration menus (/wp-admin)
    Via FTP or your host’s file manager, rename “plugins.hold” back to “plugins”

    When I signed in on my site, it gave me this message:
    “Please install/activate the Swift Framework plugin.
    If you have not installed the plugin, please go to Appearance > Install Plugins ”

    After installing the plugins, I lost everything including, photos, categories, membership page, etc. I noticed that there is no “Products/add a product/etc” on my dashboard.

    Please, can someone help me?
    Adriana

    Hey Adriana,

    You most likely do not need to buy more memory. I made the wrong assumption that you increased memory via wp-config.php. This would be the way to increase the allowed memory.

    Wp-config.php can be found in your site’s root. You can add the following near the end, before: /* That’s all, stop editing! Happy blogging. */

    define( 'WP_MEMORY_LIMIT', '96M' );

    That would be 96 megabyte. You can increase it more if that would be necessary.

    When you change the name of a plugin folder the plugin gets deactivated, but all the settings are still there. This is done to regain access to your site when a plugin causes problems.

    However, looking at the instructions above, it seems that you renamed the folder that holds all plugins. That is – as far as I know – never necessary.

    When a plugin or theme depends on another one to function it asks to install it. I’m not sure which one needed the Swift Framework, but I think you only needed to increase memory. So I’d suggest to do that and try to undo the rest.

    I don’t know the Swift framework, but frameworks are usually some kind of foundation. When missing, or when something is wrong with it, a lot may disappear, or at least not show up.

    I hope that helps!
    GL (= good luck)!

    Hi, I am having this problem about memory:

    Fatal error: Out of memory (allocated 1048576) (tried to allocate 30720 bytes) in /home/mamaepra/public_html/wp-includes/default-constants.php on line 202

    Fatal error: Out of memory (allocated 46661632) (tried to allocate 30720 bytes) in /home/mamaepra/public_html/wp-content/plugins/jetpack/modules/related-posts/jetpack-related-posts.php on line 880 (when I ty to share in Facebook)

    Internal Server Error
    The server encountered an internal error or misconfiguration and was unable to complete your request.
    Please contact the server administrator, [email protected] and inform them of the time the error occurred, and anything you might have done that may have caused the error.
    More information about this error may be available in the server error log.
    Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request.

    These problems is in all my actions.

    Help, please!!!

    Tks

    Mariana/Mauricio

    I got a WP site in construction at
    https://www.sasdep.net.br
    and I like to have a WP MultiUser (MU) to make easy buil a new version of site, in other language (avoiding to do a new WP installation).

    I was doing the WP MU configurations oriented by CODEX WP site:
    https://codex.www.ads-software.com/Create_A_Network

    According to step 2, I added this string
    /* Multisite */
    define( ‘WP_ALLOW_MULTISITE’, true );
    to wp-config.php

    this enabled at dashboard option at “tools > network setup”]

    After press the buttom “install” in this screen cited, opened a screen with 2 codes to add to .htaccess and wp-config.php files.
    The code of .htacess file

    “RewriteEngine on

    # 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”

    already was in my host/wordpress instalation. I do not change it.

    the code for wp-config.php file

    “define(‘MULTISITE’, true);
    define(‘SUBDOMAIN_INSTALL’, false);
    define(‘DOMAIN_CURRENT_SITE’, ‘www.[DomainName].net.br’);
    define(‘PATH_CURRENT_SITE’, ‘/’);
    define(‘SITE_ID_CURRENT_SITE’, 1);
    define(‘BLOG_ID_CURRENT_SITE’, 1);”

    knocked down my WP site, and thsi message appears:

    “Warning: Cannot modify header information – headers already sent by (output started at /home/sasdepne/public_html/wp-config.php:1) in /home/sasdepne/public_html/wp-includes/pluggable.php on line 1121”

    What should I do to enable WP MU in my WP installation?
    Thanks a lot for any help,
    Wallace Vianna
    webdesigner, Brazil

    Hey Mariana & Wallace,

    It’s best to start a new topic when you run into a problem.
    This makes the follow up easier, one issue at a time and this way the person starting a topic can indicate that it is resolved.

    That said, I’ll be short. If you need more help, please start a new topic. You can do so at the end of every category.


    Mariana,

    1. Access your site through FTP, f.ex. with FileZilla, or through cPanel’s file manager.
    2. You can find the file wp-config.php in the root of your WordPress directory.
    3. Download it and open it in a text editor, f.ex. Notepad (not an office program).
    4. Scroll down untill where you see: /* That’s all, stop editing! Happy blogging. */
    5. Before that, add this:
    define( 'WP_MEMORY_LIMIT', '96M' );
    6. Save and upload back to the WordPress root, replacing the other one.

    In case the problem would occur again, you can increase ’96M’.
    More info can be found here.


    Wallace,

    The code in your .htaccess file is not correct for multisite. If that is the code you got after allowing multisite, that is weird and there may be something else that needs to be solved first.

    You could try to replace it though, but which code to add depends on your setup: subdomain or subfolder. You have chosen this upon activating and you can find/pick the correct .htaccess code here.

    If that does not work, replace it with the initial .htaccess code again, remove “define( ‘WP_ALLOW_MULTISITE’, true );” from wp-config.php to set your site back to a single install and find out what needs to be solved first, or what you may have overlooked.

    F.ex. Did you deactivate your plugins before you made the switch?

    I hope that helps.
    Good luck!

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Fatal error on multi-site’ is closed to new replies.