Regular ajax loading error and PHP fatel error

This topic has 4 replies, 2 voices, and was last updated 2 months, 2 weeks ago ago by thesicilian

  • Avatar: thesicilian
    thesicilian
    Participant
    September 11, 2025 at 05:11

    Hi, on a regular basis I am seeing an ajax error while on the front end of the website.

    I have everything up to date, cannot work out why the error.

    Today I got PHP Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 32768 bytes) – not sure if this is related to the ajax error.

    What can I do?

    Please, contact administrator
    for this information.
    Files is visible for topic creator and
    support staff only.
    3 Answers
    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    September 11, 2025 at 05:35

    Hello,

    Thank you for reaching out to us.

    We understand the inconvenience caused by the AJAX error on your website. Based on the PHP fatal error message you’ve shared, it appears that your site is running out of allocated memory, which could indeed be related to the AJAX issue you are experiencing.

    To resolve this, we recommend increasing the PHP memory limit. You can do this by adding the following line to your wp-config.php file, just before the line that says “That’s all, stop editing!”:

    define(‘WP_MEMORY_LIMIT’, ‘512M’);

    If you are unsure how to do this or if the issue persists after increasing the memory limit, we suggest contacting your hosting provider for further assistance. They may be able to help you adjust server settings or identify any underlying issues.

    Additionally, please ensure that all plugins and the theme are updated to their latest versions, and try deactivating third-party plugins temporarily to check if any of them might be causing a conflict.

    Should you need further assistance, feel free to provide us with temporary wp-admin and FTP access via the private content area, and we will be happy to take a closer look.

    Best Regards,
    8Theme’s Team

    Avatar: thesicilian
    thesicilian
    Participant
    September 17, 2025 at 03:27

    Done that all fixed, thanks!

    Avatar: thesicilian
    thesicilian
    Participant
    September 17, 2025 at 03:27

    Thanks for the support! My topic “regular ajax loading error and PHP fatel error” has been successfully resolved.

  • Viewing 4 results - 1 through 4 (of 4 total)

The issue related to '‘regular ajax loading error and PHP fatel error’' has been successfully resolved, and the topic is now closed for further responses

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.