Fatal error: Allowed memory size of 536870912 bytes exhausted (tried to allocate 8388608 bytes) in /var/www/html/wp-includes/wp-db.php on line 2022

Fatal error: Allowed memory size of 536870912 bytes exhausted (tried to allocate 8388608 bytes) in /var/www/html/wp-includes/class-wp-recovery-mode.php on line 172