Frequent AJAX requests to admin-ajax.php

This topic has 2 replies, 1 voice, and was last updated 1 hours, 39 minutes ago ago by HUSSTLE

  • Avatar: HUSSTLE
    HUSSTLE
    Participant
    March 6, 2025 at 16:24

    Running into an issue, and this is what my current host support chat response to me simply trying to edit a page using Elementor.

    ####

    Allowed memory exhaustion can mean that a PHP script has exceeded the maximum memory limit set in the server’s PHP configuration. This typically happens when a script consumes too much memory due to large data processing, infinite loops, or excessive AJAX calls (like in your case with xstore_wishlist_fragments).

    Based on the graph, the xstore_wishlist_fragments and xstore_get_user_wishlist functions from the et-core-plugin (which is part of the XStore theme) are making frequent AJAX requests to admin-ajax.php.

    This can contribute to high memory usage, especially if these requests are triggered on every page load or by multiple users simultaneously.

    You’re currently on Version 9.4.8 released on February 27, 2025, which seems to be the most recent version of the theme according to the change logs here.

    To mitigate and possibly resolve the issue – look for a setting in XStore’s theme options to disable or limit AJAX calls for the wishlist if possible. or you can reach out to the theme developer for help with this.

    ####

    Content is visible for topic creator and
    support staff only.
    1 Answer
    Avatar: HUSSTLE
    HUSSTLE
    Participant
    March 6, 2025 at 19:21

    [06-Mar-2025 16:10:41 UTC] PHP Fatal error: Allowed memory size of 536870912 bytes exhausted (tried to allocate 20480 bytes) in /scripts/env.php on line 105
    1:20 pm

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

You must be logged in to reply to this topic.Log in/Sign up

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