Hi Guys,
I have disabled caches, tried different browsers etc, but the Pro Header / Footer Builder will not load.
The content editor will however; hope you can help.
Kade.
Hi Guys,
I have disabled caches, tried different browsers etc, but the Pro Header / Footer Builder will not load.
The content editor will however; hope you can help.
Kade.
Hello @kademcconville,
Thanks for asking.
I see following error message in browser console when trying to open header builder Failed to load resource: the server responded with a status of 500 () https://rkade.uk.com/cornerstone-endpoint
. That usually stems from Mod Security. Please contact your host to white-list /cornerstone-endpoint
.
At the same time please try increasing your PHP memory limit. by editing your wp-config.php file and add these lines:
define( 'WP_MEMORY_LIMIT', '256M' );
define( 'WP_MAX_MEMORY_LIMIT', '512M' );
Let us know how it goes.
Thanks.
My memory limit is much bigger than suggested; running on a VPN.
define( ‘WP_MEMORY_LIMIT’, ‘512M’ );
define( ‘WP_MAX_MEMORY_LIMIT’, ‘1024M’ );
And has been for a number of years now?
Failed to load resource: the server responded with a status of 400 () - /wp-admin/admin-ajax.php
is also an error i seem to be getting?
Appreciate the help!
Hello There,
I have investigated your site and I am getting this error message:
{"success":false,"debug":{"peak_memory":186424536,"php_errors":["E_ERROR: Out of memory (allocated 188743680) (tried to allocate 20480 bytes) in \.....\/public_html\/wp-includes\/meta.php on line 840."]},"fatal_error":true}
Could you please provide us ftp access so that we can investigate further?
Thank you in advance.
Thanks for the response - I will update Secure Note
Hello There,
I have logged in and investigated the error. This is due to how your PHP memory is set in your server. I’ve already tried changing the numbers in the php.ini file and still no resolution. I am still getting this error:
PHP Fatal error: Out of memory (allocated 188743680) (tried to allocate 20480 bytes) in /...../public_html/wp-includes/meta.php on line 840
PHP’s config can be set in multiple places:
php.ini
(usually in /etc somewhere)php_value
)php.ini
(use the command php -i | grep memory_limit
to check the CLI conf)php_value
)ini_set()
)In PHPinfo's output, the "Master" value is the compiled-in default value, and the "Local" value is what's actually in effect. It can be either unchanged from the default, or overridden in any of the above locations.
Also note that PHP generally has different .ini files for command-line and webserver-based operation. Checking phpinfo()
from the command line will report different values than if you'd run it in a web-based script.
Please ask further help from your hosting provider to be able to increase the PHP memory limit in your server.
Please let us know how it goes.
Thanks for the info!
Seems very odd that;
I am awaiting a response from the web hosts as we speak.
Cheers.
Hi There,
I also did check your site, the site running a lot of plugins and widgets, 512M may not be enough.
And also purge your CloudFlare cache and put it into development mode for awhile to make sure this is not a caching related issue.
Let’s hear your hosts response.
Thanks,
Hi there,
I have put Cloudflare into development mode previously - caching not the issue here it seems.
Not made any changes to the site to all of a sudden demand more memory to be fair.
Hosts have confirmed server set up fine - I am running 3 X websites on the same VPS see.
Thanks.
Hi,
Can you try deactivating some of your plugins and see if your header and footer will load.
Thanks
Conflict with;
“WPSSO Core Pro [Main Plugin]”
Glad to hear you’re able to get it sorted.
Cheers!
This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.