• Resolved dave8441

    (@dave8441)


    Here is the error message I received:

    An error of type E_ERROR was caused in line 453 of the file /home/doyles15/public_html/main/wp-content/plugins/w3-total-cache/Cache_File.php. Error message: Allowed memory size of 536870912 bytes exhausted (tried to allocate 2297230 bytes)

    I have deactivated the plugin. How do I fix the error?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Contributor Marko Vasiljevic

    (@vmarko)

    Hello @dave8441

    I am sorry about the issue you are experiencing and I am happy to help!

    The type E_ERROR: Allowed memory size of 536870912 means that 512 MB memory size is not sufficient and you need to increase the memory size and I would recommend increasing it to 1024 MB.

    1. Login to your cPanel
    2. Go to the File Manager.
    3. Select the Web root (public_html/www) directory and click Go.
    4. Find the php.ini file in the public_html. Note!?If you do not have a php.ini in your public_html files, check with your hosting support staff to restore?the php.ini to your public_html directory. Open the php.ini with the code editor.
    5. Find the following section in the php.ini file.
      max_execution_time = 30
      max_input_time = 60
      memory_limit = 512M

      Try to increase the memory_limit value to 1024M. Save the changes.
    6. In order for your memory limit to take effect you will need to?make the php.ini recursive.

    Let me know if this helps!

    Thanks!

    Thread Starter dave8441

    (@dave8441)

    Hi @vmarko,

    Increasing the memory limit seems to have fixed the issue. Thanks for your help.

    Plugin Contributor Marko Vasiljevic

    (@vmarko)

    Hello @dave8441

    You are most welcome!

    We would really appreciate it if you could take a minute and post a review here. This will help us to continue offering a top-notch product to users.
    Thanks!

    Thread Starter dave8441

    (@dave8441)

    Hi @vmarko,

    The error message still occurred after I performed the above steps, so I contacted my hosting provider. They performed an additional step that resolved the problem. Here is their reply:

    “WordPress, depending on which process is running, actually uses memory values set in two different places. The first is the PHP memory_limit, but the second, hidden value is the WP_MEMORY_LIMIT, which I’ve added a configuration for in the wp-config.php file. If not set, this value is set to the WordPress default of 32 MB, which is often not enough”

    Just wanted to share this info in case anyone else has the same issue.

    Thanks again!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘WordPress caught an error with this plugin’ is closed to new replies.