• I have this error since yesterday:
    Fatal error: Allowed memory size of 536870912 bytes exhausted (tried to allocate 60018688 bytes) in /home/site/public_html/wp-content/plugins/litespeed-cache/src/object.lib.php on line 305

    The memory_limit is set to 512M. I disabled all the plugins an got this:
    Fatal error: Allowed memory size of 536870912 bytes exhausted (tried to allocate 60022528 bytes) in /home/site/public_html/wp-includes/wp-db.php on line 2056

    The page holds wpdm all dowloads list which i inserted with a shortcode.
    I can`t open that page to be edited.. i get the same error.

    Download manager version is 3.1.12

    Wordpress version 5.6

    The page I need help with: [log in to see the link]

Viewing 10 replies - 1 through 10 (of 10 total)
  • Plugin Support Nayeem Hyder

    (@nriddhi)

    I think this is causing for PHP memory setting

    Fixing the Error there are a couple of ways on how to go about resolving this error. These include:

    1.Editing the wp-config.php file
    2.Editing the php.ini file
    3.Editing the .htaccess file

    1.Editing the wp-config.php file

    Here you will need to edit thewp-config.php file.
    define( 'WP_MEMORY_LIMIT', '1024M' );

    2.Editing the php.ini file

    On a live install, the file can be accessed within the root of your install, that is within the /public_html/ folder. Note that the file is not installed by WordPress but in most cases set up by your host. If you are using CPanel as your control panel, for example, make sure the checkbox for “Show Hidden Files” is checked and then click Go. You may check into this article on how to go about editing the file. Before editing the file, kindly preserve a backup to it by downloading it to your computer.
    Once this is done, open the file, add or edit the following line:

    memory_limit 512M

    3.Editing the .htaccess file

    The .htaccess file is a file located within the root of your WordPress files.

    You will need to add or edit the following code to the bottom of the file:

    php_value memory_limit 256M

    With this done, you can then save your changes and check if the error is resolved.

    Thanks

    Thread Starter arakelian

    (@arakelian)

    I raised higher than 1024 ad still gives the error. It loads more packages in the list..but breaks the page and gives the error.

    Is wpdm-all-downloads.php obsolete?
    Do i have to use the block included in wpdm blocks plugin?
    I have a lot of files that are being loaded in that list.. is this why it needs so much memory?

    EDIT
    I deleted the all-downloads shortcode from the page and lowered the memory limit to 256, 512 –> error . Now i try 1024 and it looks like it`s no error.
    With anything other than 1024 it gives errors on other pages too..until i disable WPDM .. then it goes smoothly.
    I tried older versions too..the same result.

    Thank you for taking the time to help me.

    • This reply was modified 3 years, 10 months ago by arakelian.
    Plugin Support Nayeem Hyder

    (@nriddhi)

    I think you should use 1024M in your memory limit, because, thus it is working fine from your side

    thanks

    Thread Starter arakelian

    (@arakelian)

    that is not the fix…the fix should come from the plugin makers.

    Is this problem solved in 3.1.13 ? Now i am running an older version that is working ok and i don`t want to break everything again by updating.

    • This reply was modified 3 years, 10 months ago by arakelian.

    Same problem here. And to change memory limit to 1024M ist not working and btw a bad solution.

    If i activate the PlugIn all menus in the backend seems to be empty. If i deactivate the PlugIn my menus are fine. There is a bigger problem with the download manager plugin i guess.

    • This reply was modified 3 years, 9 months ago by sebastiankuse.

    @arakelian no, its not solved in 3.1.13. I still have the problem.

    Thread Starter arakelian

    (@arakelian)

    Thanks. Waiting for the fix.

    Plugin Contributor Shafaet Alam

    (@shafayat-alam)

    Sorry for the delays, somehow I missed this post, please go to Admin Menu >> Settings >> Privacy Tab, and clear cache and stats data for once. Finally, if you are not yet using the latest version, please update. The issue will be gone.

    Plugin Contributor Shafaet Alam

    (@shafayat-alam)

    @sebastiankuse, as the issue is resolved, may you please update your review.

    Hi, I am using the Mentor plugin. When updating to 500, it is through the plugins themselves

    How can I solve the problem ??

    thank you

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Fatal error: Allowed memory size’ is closed to new replies.