Tagged: Memory Error
We are having a repeated (at least 14 times since 01/01/2024) error on a woocommerce site.
Site details are:
WordPress version 6.5.3
Active theme: Enfold Child (version 1.0)
Current plugin: (version )
PHP version 8.1.28
Error message (redacted by YYYYYY) is:
Error Details
=============
An error of type E_ERROR was caused in line 2011 of the file
/home/YYYYYY/public_html/wp-content/themes/enfold/config-templatebuilder/avia-template-builder/php/class-template-builder.php.
Error message: Allowed memory size of 1073741824 bytes exhausted
(tried to allocate 139700361116000 bytes)
Each time the error has occurred the pressure has been to get the site back up and running asap. To do so I have, each time, reinstalled the Enfold Theme and cleared recovery mode and this seems to fix the issue.
The error occurred last night so we may be clear for a while, or it may happen at any time.
How best can we (collectively) identify the problem and resolve it with a minimum of site downtime?
Many thanks
John
Hi,
Please try increasing the memory allocated to PHP on your installation: https://developer.wordpress.org/apis/wp-config-php/#increasing-memory-allocated-to-php
Best regards,
Rikard