-
AuthorPosts
-
August 20, 2021 at 8:50 am #1317584
Hi Support
We have an error on our site. This happens when we edit a page and then click on Mailchimp Signin or Page Content to edit it’s settings.
[20-Aug-2021 06:42:33 UTC] PHP Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 57344 bytes) in /home/michanicco/public_html/wp-includes/wp-db.php on line 2022
The PHP Memory Limit: 4000M
The PHP Version: 7.4.19
Enfold Version: 4.8.6.2
Total Pages: 2888
Total Posts: 56
.htaccess: php_value memory_limit 4000M
.user.ini: memory_limit = 4000M
php.ini: memory_limit = 4000M
wp-config.php: define( ‘WP_MEMORY_LIMIT’, ‘4000M’ );Please advise what more we need to do here to get this to work ?
Thank you.
- This topic was modified 3 years, 3 months ago by Rustum.
August 21, 2021 at 8:02 am #1317720Hi Rustum,
You’ll need to increase your memory limit, even though in .htacccess, php.ini, user.ini, wp-config.php it’s defined to have higher memory since there’s a finite amount that has been allocated to your account by the hosting provider, it will not go beyond it. You’ll probably need to upgrade your account for it to have a higher memory allocation.
Best regards,
NikkoAugust 21, 2021 at 10:09 am #1317729hi,
thank you. We are not on a shared server and have 16GB memory on our server. We have access to the entire resource pool of our server.
If you look at the allocation, it seems to be 256M it seems like all our config is ignored.
Please assist
August 22, 2021 at 10:42 am #1317805Hi. This is urgent.
CN you please assist?
August 22, 2021 at 11:24 am #1317808Hi Rustum,
I see, can you try to create a stage/dev site for us? so we can check on it further without affecting your live site.
Then please post the credentials in private content.
Also, please enable the WP_DEBUG in the stage site.Best regards,
NikkoAugust 23, 2021 at 9:08 am #1317928Hi
the credentials have been provided and WP-Debug enabledAugust 23, 2021 at 3:40 pm #1317992hi support, do you have any feedback?
Thanks
August 23, 2021 at 5:37 pm #1318017Hi,
I could not see why memory limit is still set to 256M. Could you please contact your hosting provider and ask them to check why it is ignored?
Best regards,
YigitAugust 23, 2021 at 7:32 pm #1318031But this seems to only happen when trying to edit the special heading. There is sufficient memory and it is not a shared server.
There must be some configuration. We ran the memory test script and it goes all the way to 5g when running the script therefore it is not server related
August 23, 2021 at 9:16 pm #1318039Hi Support
What average response time should I expect as this is highly urgent?
Thank you
August 24, 2021 at 11:33 am #1318104I see this was posted here https://kriesi.at/support/topic/allowed-memory-exhausted/
Wanted know if this was resolved and if so how..
Thanks
August 24, 2021 at 1:06 pm #1318123Hi,
I checked php.ini, .htaccess and wp-config.php files but I cannot see any rule which would override the one you set. 268435456 B equals to 256M so clearly there is some configuration and that configuration must be on your server as the theme cannot change or modify memory limit. Your hosting providers would be able to shed a light on that so please contact them :)
Best regards,
YigitAugust 24, 2021 at 3:33 pm #1318140Hi Yigit
The issue was on the core theme files. We changed the hard coded 256M to our server limit. Please check the below files for your next update
config-layerslider\LayerSlider\assets\classes\class.ls.importutil.php
config-layerslider\LayerSlider\assets\templates\tmpl-revisions-history.php
config-layerslider\LayerSlider\assets\views\slider_edit.php
config-layerslider\LayerSlider\assets\views\system_status.php
config-templatebuilder\avia-template-builder\php\class-html-helper.php@ini_set( ‘memory_limit’, ‘256M’ );
We changed the 256M to a greater value and all is working now.
Thanks !
August 24, 2021 at 4:04 pm #1318146Hi,
Glad you figured it out and thanks for sharing! I am sorry, I was not aware of that line. I reported it to our devs and will inform LayerSlider team as well :)
Best regards,
YigitAugust 25, 2021 at 4:17 am #1318193Hi Rustum, the question you asked here
https://kriesi.at/support/topic/allowed-memory-exhausted/#post-1318100
regarding whether it was resolved. The answer is no. The support kept saying the hosting is wrong, but the hosting provider proved that the memory limit was 2Gb. Unfortunately, we had to abandon this plugin.August 26, 2021 at 11:48 am #1318435 -
AuthorPosts
- You must be logged in to reply to this topic.