After Update to 4.7 Running out of Memory on $get_posts = new WP_Query;

WisTex's picture

Updated to 4.7 through the dashboard. Immediately crashed the site. Tried disabling all the plugins. Tried the default theme. Tried to load in safe mode. Tried to increase memory limits in php.ini. Still crashes even when memory_limit=350MB.

Error seems directly related to trying to load the posts using WP_Query.

[12-Dec-2016 16:12:12 UTC] PHP Fatal error: Allowed memory size of 367001600 bytes exhausted (tried to allocate 597 bytes) in /home/user/public_html/wp-includes/class-wp-term-query.php on line 667

[12-Dec-2016 16:13:53 UTC] PHP Fatal error: Allowed memory size of 367001600 bytes exhausted (tried to allocate 32 bytes) in /home/user/public_html/wp-includes/post.php on line 1688

[12-Dec-2016 16:15:08 UTC] PHP Fatal error: Allowed memory size of 367001600 bytes exhausted (tried to allocate 130968 bytes) in /home/user/public_html/wp-includes/class-wp-query.php on line 3238

[12-Dec-2016 16:15:48 UTC] PHP Fatal error: Allowed memory size of 367001600 bytes exhausted (tried to allocate 72 bytes) in /home/user/public_html/wp-includes/class-wp-query.php on line 617

Anyone know of a solution for this?