I’ve tried for weeks to get down to the bottom of this error and I feel like it’s going to be a matter of giving up. Reaching out here (though I know it’s probably not a Hestia issue) in the hope that someone might have a solution
Wordpress website, migrated from 20i onto my own server. Error:
“Fatal error: Allowed memory size of 4294967296 bytes exhausted (tried to allocate 4096 bytes) in /home/accountname/web/domain.com/public_html/wp-includes/class-wp-dependencies.php on line 260”
Everywhere I look, the advice/help is to increase the max. memory limit in one way or another, either by modifying the php.ini file, modifying apache or by modifying various Wordpress files and the .htaccess file but of course, if any of that worked, I wouldn’t be asking here.
I’ve increased the memory limit to as much as 4GB and still the error persists (I can’t help but feel that simply increasing the limit like this is just like brushing the issue beneath the rug anyway)
If increasing the memory limit did not resolve the issue, I recommend disabling all plugins and themes on your WordPress site. Then, activate them one by one to identify if any of them is causing the problem.
Thanks, though I’m way ahead of you bud. Disabling plugins (by renaming the plugins folder) was one of the first things I tried as it seems to be the go-to solution that every wordpress expert comes up with first.
Susspecting that it’s a problem with my server (courrpt PHP files) I even done a fresh install of Hestia onto a fresh install of Ubuntu and it made no difference.
You can try to diff your wordpress files with original ones using diff, wp-cli or plugin like sucuri (free is fine I guess). Maybe there’s some modified file that’s casusing memory leak.