Fatal error: Out of memory (allocated 31457280) (tried to allocate 12288 bytes) in /home/user1021/public_html/wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php on line 1270

Fatal error: Uncaught Error: Call to a member function set() on null in /home/user1021/public_html/wp-includes/l10n.php:856 Stack trace: #0 /home/user1021/public_html/wp-includes/l10n.php(959): load_textdomain('default', '/home/user1021/...', 'ar') #1 /home/user1021/public_html/wp-includes/class-wp-fatal-error-handler.php(49): load_default_textdomain() #2 [internal function]: WP_Fatal_Error_Handler->handle() #3 {main} thrown in /home/user1021/public_html/wp-includes/l10n.php on line 856