-
AuthorPosts
-
December 13, 2024 at 10:44 am #1473558
Hello,
We are having a problem with the casamariol.com website. Everything is updated. As it is a website in production we have duplicated it to test.casamariol.com
We are having different problems: cannot access the backend gives error 500, cannot save pages, …
We scanned the site with wordfence and found a file with email code in the root. wp-init.php, is now removed.
We have disabled all the plugins and the site is still not working.
We have installed the twenty twenty five theme and it seems that the backend can be accessed fine.
I have received some email from WordPress with the errors it gives, they are the following:
Un error del tipus E_ERROR s’ha produït a la línia 1065 del fitxer /home/customer/www/casamariol.com/public_html/wp-content/themes/enfold/config-templatebuilder/avia-template-builder/php/class-asset-manager.php. El missatge d’error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 212992 bytes)
Un error del tipus E_ERROR s’ha produït a la línia 1045 del fitxer /home/customer/www/casamariol.com/public_html/wp-content/themes/enfold/config-templatebuilder/avia-template-builder/php/class-asset-manager.php. El missatge d’error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 315392 bytes)
Can you take a look and see what could happen?
Thank you,
December 13, 2024 at 11:29 am #1473562Hey Empatica,
Your site seems to be out of PHP memory, please try to increase it: https://developer.wordpress.org/apis/wp-config-php/#increasing-memory-allocated-to-php
Best regards,
RikardDecember 13, 2024 at 11:51 am #1473565Hi,
I’ll send you the site health info file. It says there:
WP_MEMORY_LIMIT 256M
WP_MAX_MEMORY_LIMIT 768MDoes it have to go up to 1024M?
If I add to wp-config.php: define( ‘WP_MAX_MEMORY_LIMIT’, ‘1024M’ );
It is not changed on the health info site, it is still at 768M.
If I activate enfold it still fails, if I activate Twenty Twenty-Five it works to access the backend.
What can I do more?
Thank you
December 13, 2024 at 11:58 am #1473567Hello,
I had not put the declaration before the wp-settings one. Now 1024M appears on the health info site but it still doesn’t work when I activate enfold or enfold child.
What can I do more?
Thank you
December 13, 2024 at 1:43 pm #1473572Hi,
Thanks for the update. What does the memory limit list under Site Health in WordPress? You might have to reach out to your hosting provider and have them increase it.
Best regards,
RikardDecember 13, 2024 at 3:10 pm #1473581Hello,
Enfold limits the memory limit somewhere.
The memory limit of the server is 768M, this is how it appears on the health info site.
If I change the memory limit in the wp-config, enfold ignores it, but twenty twenty-five does.
If you access WordPress, twenty twenty-five is now active and the wp-config memory limit is 768M and the site health info indicates this.
If I activate enfold it returns to 256M
Can you check it and tell me why this happens?
Thank you
December 14, 2024 at 11:19 am #1473615Hi,
There’s nothing like that in the theme, and I can’t see that happening on my end. I activated Enfold and the constants are the same:
WP_MEMORY_LIMIT 768M WP_MAX_MEMORY_LIMIT 768M
Best regards,
RikardDecember 14, 2024 at 11:44 am #1473621Hi,
I have seen now that I activate the enfold or enfold child theme it drops to 256M and if I activate the twenty twenty five theme it changes what appears in the health info site:
Enfold: https://snipboard.io/C7RKOT.jpg
Twenty twenty-five: https://snipboard.io/B6HOvI.jpg
You don’t see it the same as me? I don’t understand.
Best regards,
Jordi
December 14, 2024 at 1:47 pm #1473629Hi,
I activated the parent theme, anything added in the child theme has not been added by us. The memory limit is set in the wp-config.php file though, which is a default WordPress file, and that won’t change when changing themes. If you should have anything in your child theme which could change the memory limit though, which I highly doubt, then you could simply start out with an empty child theme to see what happens then.
Best regards,
RikardDecember 18, 2024 at 12:52 pm #1473895Hi,
We think it’s fixed now, we created a new installation of wordpress and we have been importing everything until we completed the page and it seems to be working. There was something (wordpress, enfold, some plugin, …) that made the server memory limit change from 768M to 256M. With the new installation this doesn’t happen.
Thank you very much for everything.
Regards,
Jordi
December 18, 2024 at 4:58 pm #1473925Hi,
Thanks for the update, we’ll go ahead and close this thread for now then. Please open a new thread if you should have any further questions or problems.
Best regards,
Rikard -
AuthorPosts
- The topic ‘Possible problem with enfold’ is closed to new replies.