• Resolved leiluspocus

    (@leiluspocus)


    Hello,

    I just installed Hustle plugin in my local environment. It works fine, I managed to activate the plugin, create my first optin.

    When I push the plugin in a staging environment, there is the following error:

    Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 256 bytes) in /var/www/mywebsite/wp-includes/wp-db.php on line 1906

    The page is blank after I activate the plugin and I cannot access any of the admin pages…

    Is there a way to reduce these consumption of memory ? I don’t want to increase memory usage in my webserver (max: 512MB).

    Thank you in advance !

Viewing 9 replies - 1 through 9 (of 9 total)
  • Plugin Support Williams – WPMU DEV Support

    (@wpmudev-support8)

    Hey @leiluspocus,

    Hope you’re well!

    Actually, Hustle is not needed a lot of memory, so there can be another issue or plugin conflict. Can you enable WordPress debugging? You just need to put these codes in wp-config.php;

    /* Debug Settings */
    define('WP_DEBUG', true);
    define('WP_DEBUG_LOG', true);
    define('WP_DEBUG_DISPLAY', false);
    /* End of Debug Settings */

    Then try again. When you see the error, check your wp-content folder. Is there debug.log file? Can you show us the content of that file?

    Cheers,
    Oguz

    Thread Starter leiluspocus

    (@leiluspocus)

    Hello Oguz ! Thank you for your prompt reply ??

    I really don’t think it’s a matter of plugins, because it’s working perfectly in my local environment. It’s once I push it on staging that I have these troubles.

    The same error is displayed (well this time, in an other file).

    Fatal error: Allowed memory size of 536870912 bytes exhausted (tried to allocate 72 bytes) in /var/www/mywebsite/wp-includes/cache.php on line 672

    I also tried to disable all the plugins but Hustle, I still have this error:

    Fatal error: Allowed memory size of 536870912 bytes exhausted (tried to allocate 72 bytes) in /var/www/mywebsite/wp-includes/cache.php on line 672

    saulposel

    (@saulposel)

    Just to say I am experiencing the same issue.

    Able to install the plugin, but when trying to load any of the plugin’s admin pages I get a memory error. All other admin pages still work as usual.

    I have tried allowing a huge amount of memory to see if that resolve the issue, but still no luck. Just to note that this is on a WooCommerce site.

    For note, the error is: Fatal error: Allowed memory size of 4311744512 bytes exhausted (tried to allocate 72 bytes) in /nas/content/staging/cookeryschool/wp-includes/meta.php on line 841

    Plugin Support Williams – WPMU DEV Support

    (@wpmudev-support8)

    Hey @leiluspocus,

    If same files and database works on local but not on remote that means there is a problem about the remote environment, so maybe trying to increase allowed memory size can solve the problem for your case.

    Hey @saulposel,

    It’s better to open new topic for your own question, did you try plugin conflict test for your case? You just need to deactivate all plugins except Hustle and try again.

    Cheers,
    Oguz

    Thread Starter leiluspocus

    (@leiluspocus)

    Hey @oguz !

    Actually that’s what I did in my remote environment ?? I increased the memory size but I still have this error ??

    Please note that the tables associated with the plugin (wp_optin I think?) have succesfully be created.

    What is the part that takes that much memory precisely ?

    Cheers

    La?la

    Hello La?la

    Hope you are doing well!

    This might be a conflict with another plugin. From my end, the plugin is working with the PHP Memory limit set to 60MB.

    Would you please run a quick test? Deactivate all the other plugins and switch to default WordPress theme, for example, Twenty Seventeen and check if the Fatal error will show up again.

    If the issue persists, please try to re-install the plugin via FTP. If everything is well, activate one plugin at the time till the error will show up again. Let us know which plugin/theme may be causing this error. If you have /mu-plugins/ folder, please temporary remove it too.

    Also please let us know what is the PHP version of your site?

    Please let us know how it went!

    Kind regards,
    Nastia

    jdailey

    (@jdailey)

    Thank you for using Hustle. I am going to close this ticket for now. If you were able to run the test and still need help please let us know and we can reopen the thread.

    Hello,

    I’ve got the same problem as author of this thread.
    After upgrading Hustle to the latest version I get error:

    [02-Mar-2018 11:27:59 UTC] PHP Fatal error:  Allowed memory size of 134217728 bytes exhausted (tried to allocate 2097152 bytes) in .../public_html/banki/wp-includes/wp-db.php on line 1890
    [02-Mar-2018 11:28:00 UTC] PHP Fatal error:  Allowed memory size of 134217728 bytes exhausted (tried to allocate 72 bytes) in ...wp-includes/wp-db.php on line 1889

    The page is blank after I activate the plugin and I cannot access any of the admin pages…

    I’m sure that is because of Hustle plugin (I’ve disabled all other plugins)

    Thank you in advance !

    • This reply was modified 6 years, 9 months ago by taniekonto.
    Plugin Support Williams – WPMU DEV Support

    (@wpmudev-support8)

    Hey @taniekonto,

    Hope you’re well.

    Looks like memory_limit for your server is not enough for your website with using Hustle. Can you try to increase it? You can check this blog post https://premium.wpmudev.org/blog/increase-memory-limit/ or ask your hosting provider for how you can increase it.

    Also, if the problem continues could you please start a new thread? According to www.ads-software.com forum guides you should open a new topic even if the issue looks same;

    Unless users have the exact same version of WordPress on the same physical server hosted by the same hosts with the same plugins, theme, and configurations, then the odds are the solution for one user will not be the same for another. For this reason, we recommend people start their own topics.

    (https://make.www.ads-software.com/support/handbook/forum-welcome/#post-in-the-best-place)

    And we will gladly investigate this further for you.

    Cheers,
    Oguz

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Plugin consuming too much memory’ is closed to new replies.