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 /var/www/html/transobelisco.com.br/web/wp-includes/class-wp-http.php:13
Stack trace:
#0 /var/www/html/transobelisco.com.br/web/wp-settings.php(268): require()
#1 /var/www/html/transobelisco.com.br/web/wp-config.php(102): require_once('/var/www/html/t...')
#2 /var/www/html/transobelisco.com.br/web/wp-load.php(50): require_once('/var/www/html/t...')
#3 /var/www/html/transobelisco.com.br/web/wp-blog-header.php(13): require_once('/var/www/html/t...')
#4 /var/www/html/transobelisco.com.br/web/index.php(17): require('/var/www/html/t...')
#5 {main}
thrown in /var/www/html/transobelisco.com.br/web/wp-includes/class-wp-http.php on line 13
Fatal error: Uncaught Error: Call to a member function set() on null in /var/www/html/transobelisco.com.br/web/wp-includes/l10n.php:856
Stack trace:
#0 /var/www/html/transobelisco.com.br/web/wp-includes/l10n.php(959): load_textdomain('default', '/var/www/html/t...', 'pt_BR')
#1 /var/www/html/transobelisco.com.br/web/wp-includes/class-wp-fatal-error-handler.php(49): load_default_textdomain()
#2 [internal function]: WP_Fatal_Error_Handler->handle()
#3 {main}
thrown in /var/www/html/transobelisco.com.br/web/wp-includes/l10n.php on line 856