return false; } $option_name = $this->get_option_name(); if ( ! $option_name ) { return false; } $paused_extensions = (array) get_option( $option_name, array() ); unset( $paused_extensions[ $this->type ] ); if ( ! $paused_extensions ) { return delete_option( $option_name ); } return update_option( $option_name, $paused_extensions ); } /** * Checks whether the underlying API to store paused extensions is loaded. * * @since 5.2.0 * * @return bool True if the API is loaded, false otherwise. */ protected function is_api_loaded() { return function_exists( 'get_option' ); } /** * Get the option name for storing paused extensions. * * @since 5.2.0 * * @return string */ protected function get_option_name() { if ( ! wp_recovery_mode()->is_active() ) { return ''; } $session_id = wp_recovery_mode()->get_session_id(); if ( empty( $session_id ) ) { return ''; } return "{$session_id}_paused_extensions"; } }
Fatal error: require(): Failed opening required '/home/shikhroh/public_html/wp-includes/class-wp-theme-json.php' (include_path='.:') in /home/shikhroh/public_html/wp-settings.php on line 189

Fatal error: Uncaught Error: Call to a member function set() on null in /home/shikhroh/public_html/wp-includes/l10n.php:850 Stack trace: #0 /home/shikhroh/public_html/wp-includes/l10n.php(953): load_textdomain('default', '/home/shikhroh/...', 'ar') #1 /home/shikhroh/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/shikhroh/public_html/wp-includes/l10n.php on line 850