Line 532 (the one in bold) of the functions.php script is part of the following code block:

This topic has 2 replies, 2 voices, and was last updated 10 months, 3 weeks ago ago by Rose Tyler

  • Avatar: Lucas
    Lucas
    Participant
    May 29, 2023 at 17:57

    The problem seems to be related to the XStore theme. When accessing the /store/ page, the following PHP error is logged every timeen /public_html/php_errorlog:
    [PHP Fatal error: Allowed memory size of 805306368 bytes exhausted (tried to allocate 970752 bytes) in /public_html/wp-content/themes/xstore/theme/functions.php on line 532

    Indicates that the theme has reached the 758MB memory limit that we have on all shared hosting plans. That memory limit is enough for most well-written and optimized scripts, so the fact that the theme has exceeded it could indicate a problem with the theme itself.

    Line 532 (the one in bold) of the functions.php script is part of the following code block:
    if ( !function_exists(‘etheme_config_css_files’)) {
    function etheme_config_css_files() {
    return include get_template_directory() . ‘/framework/config-css.php’;
    }
    }

    1 Answer
    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    May 30, 2023 at 12:33

    Hello @Lucas,

    Thank you for contacting us and for using XStore.

    This code connects a settings file to the page in order to attach styles, and it cannot cause such problems. Most likely, the issue arises earlier. To solve it, please provide us with temporary access to the admin panel and FTP.

    To provide wp-admin access, you can create a new user account with administrator role via the Dashboard, and provide us with the username and password via the Private Content area.
    To create FTP access, please contact your hosting provider for assistance.

    Kind Regards,
    8theme team

  • 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.