er])) {
/*
* Integrators who cannot yet upgrade to the PSR-4 class names can silence deprecations
* by defining a `REQUESTS_SILENCE_PSR0_DEPRECATIONS` constant and setting it to `true`.
* The constant needs to be defined before the first deprecated class is requested
* via this autoloader.
*/
if (!defined('REQUESTS_SILENCE_PSR0_DEPRECATIONS') || REQUESTS_SILENCE_PSR0_DEPRECATIONS !== true) {
// phpcs:ignore WordPress.PHP.DevelopmentFunctions.error_log_trigger_error
trigger_error(
'The PSR-0 `Requests_...` class names in the Requests library are deprecated.'
. ' Switch to the PSR-4 `WpOrg\Requests\...` class names at your earliest convenience.',
E_USER_DEPRECATED
);
// Prevent the deprecation notice from being thrown twice.
if (!defined('REQUESTS_SILENCE_PSR0_DEPRECATIONS')) {
define('REQUESTS_SILENCE_PSR0_DEPRECATIONS', true);
}
}
// Create an alias and let the autoloader recursively kick in to load the PSR-4 class.
return class_alias(self::$deprecated_classes[$class_lower], $class_name, true);
}
return false;
}
}
}
Fatal error: Uncaught Error: Class 'WpOrg\Requests\Autoload' not found in /home/candoodesigncom/public_html/wp-includes/class-wp-http.php:13
Stack trace:
#0 /home/candoodesigncom/public_html/wp-settings.php(265): require()
#1 /home/candoodesigncom/public_html/wp-config.php(100): require_once('/home/candoodes...')
#2 /home/candoodesigncom/public_html/wp-load.php(50): require_once('/home/candoodes...')
#3 /home/candoodesigncom/public_html/wp-blog-header.php(13): require_once('/home/candoodes...')
#4 /home/candoodesigncom/public_html/index.php(17): require('/home/candoodes...')
#5 {main}
thrown in /home/candoodesigncom/public_html/wp-includes/class-wp-http.php on line 13
Fatal error: Uncaught Error: Call to a member function set() on null in /home/candoodesigncom/public_html/wp-includes/l10n.php:856
Stack trace:
#0 /home/candoodesigncom/public_html/wp-includes/l10n.php(959): load_textdomain('default', '/home/candoodes...', 'fa_IR')
#1 /home/candoodesigncom/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/candoodesigncom/public_html/wp-includes/l10n.php on line 856