=> 'boolean', ), ), ), 'icon' => array( 'description' => __( 'The icon for the post type.' ), 'type' => array( 'string', 'null' ), 'context' => array( 'view', 'edit', 'embed' ), 'readonly' => true, ), ), ); $this->schema = $schema; return $this->add_additional_fields_schema( $this->schema ); } /** * Retrieves the query params for collections. * * @since 4.7.0 * * @return array Collection parameters. */ public function get_collection_params() { return array( 'context' => $this->get_context_param( array( 'default' => 'view' ) ), ); } }
Fatal error: Uncaught Error: Failed opening required '/home/kharjhom/public_html/wp-includes/rest-api/endpoints/class-wp-rest-post-statuses-controller.php' (include_path='.:/opt/cpanel/ea-php81/root/usr/share/pear') in /home/kharjhom/public_html/wp-settings.php:266 Stack trace: #0 /home/kharjhom/public_html/wp-config.php(65): require_once() #1 /home/kharjhom/public_html/wp-load.php(50): require_once('/home/kharjhom/...') #2 /home/kharjhom/public_html/wp-blog-header.php(13): require_once('/home/kharjhom/...') #3 /home/kharjhom/public_html/index.php(17): require('/home/kharjhom/...') #4 {main} thrown in /home/kharjhom/public_html/wp-settings.php on line 266

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