Note: This post is a bit meta, and not related to personal finance, but I believe it is important information that many people will find helpful.
Fatal error: Out of memory (allocated 26476544) (tried to allocate 4247825 bytes)
I did a lot of searching on this problem, and found multiple suggestions including modifying my .htaccess file, or adding a line to my php.ini file, but none of these worked for me.
After manually upgrading several times, I was determined to figure this out. Here is what worked for me:
- Disable all of your plugins upgrade. (This can be done via a bulk action.)
- Run the WordPress automatic upgrade.
- Re-activate your plugins.
It’s really that simple. I’m not sure why deactivating plugins is the key. I assume this frees up necessary memory.
Good luck, and I hope this works for you.