altis-core
altis-core copied to clipboard
Out of memory error after switching themes
Steps to reproduce:
- Newly installed altis v12-beta1 php 8.0
- installed twentytwentytwo theme
- Activated theme
- Got 500 error in browser. On invesitgation this was an out of memory error.
I expected the theme to activate without an error
See log entry below:
altis-upgrade-test-php | [21-Jul-2022 13:55:36 UTC] PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 20480 bytes) in /usr/src/app/vendor/humanmade/wp-redis/object-cache.php on line 627
altis-upgrade-test-php | [21-Jul-2022 13:55:36 UTC] PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 20480 bytes) in /usr/src/app/vendor/humanmade/aws-xray/inc/namespace.php on line 90
altis-upgrade-test-php | [21-Jul-2022 13:55:36 UTC] PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 20480 bytes) in Unknown on line 0
Note. Activating a second time went ok. with no error. This may be a transient issue
The issue may not be directly relat4ed to switching themes. Further out of memory errors occured during testing
altis-upgrade-test-php | [21-Jul-2022 16:27:41 UTC] PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 20480 bytes) in /usr/src/app/wordpress/wp-includes/blocks.php on line 182
altis-upgrade-test-php | [21-Jul-2022 16:27:41 UTC] PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 4096 bytes) in /usr/src/app/vendor/humanmade/ludicrousdb/ludicrousdb/includes/class-ludicrousdb.php on line 1521
altis-upgrade-test-php | [21-Jul-2022 16:27:41 UTC] PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 4096 bytes) in /usr/src/app/vendor/humanmade/aws-xray/inc/namespace.php on line 92
altis-upgrade-test-php | [21-Jul-2022 16:27:41 UTC] PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 4096 bytes) in Unknown on line 0
altis-upgrade-test-php | [21-Jul-2022 16:27:42 UTC] PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 4096 bytes) in /usr/src/app/vendor/yoast/wordpress-seo/wp-seo-main.php on line 77
altis-upgrade-test-php | [21-Jul-2022 16:27:42 UTC] PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 4096 bytes) in /usr/src/app/vendor/humanmade/aws-xray/inc/namespace.php on line 92