Fatal error: Out of memory when opening a draft post
-
This started happening yesterday, prior to the latest WP update to 4.5. So I know it’s not a 4.4 or 4.5 related issue.
When I open a draft post to edit it, all my text appears in white (unable to be seen unless highlighted), all my tags are gone, I am unable to change from visual to text mode and I get the following error in the “revisions” section all the way at the bottom:“Fatal error: Out of memory (allocated 198967296) (tried to allocate 164271 bytes) in /nfs/c06/h04/mnt/93327/domains/abridgedpause.com/html/wp-includes/wp-db.php on line 1772”
I did some research and changed the limit in the .htaccess file as well as the wp-config file and both did nothing at all.
I looked up line 1772 in wp-dp.php and it doesn’t seem to have anything at all to do with size limits:
} } elseif ( is_resource( $this->result ) ) { while ( $row = mysql_fetch_object( $this->result ) ) { $this->last_result[$num_rows] = $row; $num_rows++; }
Does anyone know what this is about and what I need to do? I cannot edit this post in particular at all. From the looks of it it’s only happening with this particular post but I haven’t had time to go through my hundreds of others to try to reproduce it.
- The topic ‘Fatal error: Out of memory when opening a draft post’ is closed to new replies.