Fatal error: Uncaught Error: Class 'WP_REST_Posts_Controller' not found in /home/ratinpar/public_html/wp-includes/rest-api/endpoints/class-wp-rest-attachments-controller.php:17
Stack trace:
#0 /home/ratinpar/public_html/wp-settings.php(287): require()
#1 /home/ratinpar/public_html/wp-config.php(99): require_once('/home/ratinpar/...')
#2 /home/ratinpar/public_html/wp-load.php(50): require_once('/home/ratinpar/...')
#3 /home/ratinpar/public_html/wp-blog-header.php(13): require_once('/home/ratinpar/...')
#4 /home/ratinpar/public_html/index.php(17): require('/home/ratinpar/...')
#5 {main}
thrown in /home/ratinpar/public_html/wp-includes/rest-api/endpoints/class-wp-rest-attachments-controller.php on line 17
Fatal error: Uncaught Error: Call to a member function set() on null in /home/ratinpar/public_html/wp-includes/l10n.php:856
Stack trace:
#0 /home/ratinpar/public_html/wp-includes/l10n.php(959): load_textdomain('default', '/home/ratinpar/...', 'fa_IR')
#1 /home/ratinpar/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/ratinpar/public_html/wp-includes/l10n.php on line 856