• Resolved ddbell

    (@ddbell)


    I have a new wordpress install. I changed the memory limit in the wp-config.php file to 256M. I have the Avada theme installed. The system status in the them still says the WP memory limit is 40M. However, the WP Clone plugin system info says 256M. I tried changing it to 128. The WP clone plugin system info changes to whatever I set the memory limit in the wp-config.php file. The Avada them always says the memory limit is 40M.

    I then installed the Server IP & Memory Usage Display plugin to see what it would show. No matter what I enter into the wp-config.php file, the Server IP & Memory Usage Display plugin always shows the WP memory limit at 40M.

    I’m pretty sure that I am changing the file correctly. I am entering this code at the location shown.

    define( ‘WP_MAX_MEMORY_LIMIT’, ‘256M’ );
    /* That’s all, stop editing! Happy blogging. */

    I can’t figure out why Aada and the memory plugin both still show 40M for the limit while the WP Clone plugin shows the limit that I put into the file. I also don’t know which is correct. Is it 40M or 256M.

    See screenshot here for what is shown in WP for the them and plugins.

    Any ideas about what is going on?

Viewing 7 replies - 1 through 7 (of 7 total)
  • Moderator t-p

    (@t-p)

    The Avada them always says the memory limit is 40M.

    – Your currently used theme is not in the wordpress.org/themes/ directory: https://wordpress.org/themes/search/Avada/

    – These forums are for free themes available in the WordPress theme directory at wordpress.org/themes/. So please go to their official support channel, so you can get support from the people who know it best. Forum volunteers are also not given access to commercial products, so they would not know why it is not working properly. Other community members who may have faced your issue might be able to help you but your best bet is your product’s developer. Keep in mind we encourage you to use the official support venues, as it allows the developers to be aware of issues with their code and gives back to the community in a more robust way. See http://codex.wordpress.org/Forum_Welcome#Commercial_Products

    Thread Starter ddbell

    (@ddbell)

    My question had nothing to do with the Avada theme. My question was regarding if I was updating the php file correctly to change the memory limit. I was just checking what the theme (and 2 other plugins as mentioned) showed the memory limit as. I was just using these to check to see if my changes to the wp-config.php were working or not.

    Anyway, I figured it out on my own. Thanks

    I was using this is the wp-config.php file
    define( ‘WP_MAX_MEMORY_LIMIT’, ‘256M’ );

    It needed to be this
    define( ‘WP_MEMORY_LIMIT’, ‘256M’ );

    Moderator t-p

    (@t-p)

    My question had nothing to do with the Avada theme.

    This is your question from your original post:

    I can’t figure out why Aada and the memory plugin both still show 40M…

    Thread Starter ddbell

    (@ddbell)

    Lesson learned…..
    I should have not mentioned the word “Avada”. I should have simply asked if I was changing the wp-config.php file correctly and left it at that. I know better for next time.

    I did not realize that merely mentioning a “commercial” theme inside a post would disqualify my question from a response.

    The 2 plugins that I mentioned are open source and not “commercial”.

    Moderator t-p

    (@t-p)

    did not realize that merely mentioning a “commercial” theme inside a post would disqualify my question from a response

    My reply above says:

    Other community members who may have faced your issue might be able to help you but your best bet is your product’s developer.

    Meanwhile, to rule out any theme/plugins conflict, try:
    Flushing any caching plugins you might be running, as well as server and/or browser caches. Also, any op cache or content network cache, as well as Cloudflare, clear those caches.
    – deactivating ALL (yes all) plugins temporarily to see if this resolves the problem (plugin functions can interfere). If this works, re-activate them individually (one-by-one) to find the problematic plugin(s).
    resetting the plugins folder by FTP. Sometimes, an apparently inactive plugin can still cause problems. Also remember to deactivate any plugins in the mu-plugins folder (if you have created such folder). The easiest way is to rename that folder to mu-plugins-old.
    – switching to the unedited default Theme (Twenty Sixteen, etc.) for a moment using the WP dashboard to rule out any theme-specific issue (theme functions can interfere like plugins).

    Thread Starter ddbell

    (@ddbell)

    Thanks for the help. However, as mentioned, I already figured it out.

    I was using this is the wp-config.php file
    define( ‘WP_MAX_MEMORY_LIMIT’, ‘256M’ );

    It needed to be this
    define( ‘WP_MEMORY_LIMIT’, ‘256M’ );

    Moderator t-p

    (@t-p)

    Glad to know it 🙂

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

The topic ‘php memory limit issues’ is closed to new replies.