This topic has 2 replies, 2 voices, and was last updated 1 years, 5 months ago ago by Rose Tyler
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’;
}
}
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
Tagged: functions.php, script, themes, woocommerce, wordpress
You must be logged in to reply to this topic.Log in/Sign up