Fatal error: Out of memory (allocated 2097152) (tried to allocate 122880 bytes) in /var/www/html/wp-includes/rest-api.php on line 127

Fatal error: Out of memory (allocated 2097152) (tried to allocate 122880 bytes) in /var/www/html/wp-includes/class-wp-hook.php on line 286