{"id":18772389,"date":"2026-01-01T20:54:23","date_gmt":"2026-01-01T20:54:23","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/php-deprecated-84\/"},"modified":"2026-01-01T20:54:23","modified_gmt":"2026-01-01T20:54:23","slug":"php-deprecated-84","status":"publish","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/php-deprecated-84\/","title":{"rendered":"PHP Deprecated"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">Hi guys,<br \/>I&#8217;m seeing a bunch of PHP Deprecated messages in my debug log:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>PHP Deprecated: Creation of dynamic property YaySMTP\\PhpMailerExtends::$SMTPSecure is deprecated in \/wp-content\/plugins\/yaysmtp\/includes\/PluginCore.php on line 158<br \/>PHP Deprecated: Creation of dynamic property Google_Service_Gmail::$serviceName is deprecated in \/wp-content\/plugins\/yaysmtp\/vendor\/google\/apiclient-services\/src\/Google\/Service\/Gmail.php on line 104<br \/>PHP Deprecated: GuzzleHttp\\Psr7\\Uri::isSameDocumentReference(): Implicitly marking parameter $base as nullable is deprecated, the explicit nullable type must be used instead in \/wp-content\/plugins\/yaysmtp\/vendor\/guzzlehttp\/psr7\/src\/Uri.php on line 243<br \/>PHP Deprecated: GuzzleHttp\\HandlerStack::create(): Implicitly marking parameter $handler as nullable is deprecated, the explicit nullable type must be used instead in \/wp-content\/plugins\/yaysmtp\/vendor\/guzzlehttp\/guzzle\/src\/HandlerStack.php on line 39<br \/>PHP Deprecated: GuzzleHttp\\HandlerStack::__construct(): Implicitly marking parameter $handler as nullable is deprecated, the explicit nullable type must be used instead in \/wp-content\/plugins\/yaysmtp\/vendor\/guzzlehttp\/guzzle\/src\/HandlerStack.php on line 53<br \/>PHP Deprecated: GuzzleHttp\\Handler\\StreamHandler::invokeStats(): Implicitly marking parameter $response as nullable is deprecated, the explicit nullable type must be used instead in \/wp-content\/plugins\/yaysmtp\/vendor\/guzzlehttp\/guzzle\/src\/Handler\/StreamHandler.php on line 75<br \/>PHP Deprecated: GuzzleHttp\\Middleware::tap(): Implicitly marking parameter $before as nullable is deprecated, the explicit nullable type must be used instead in \/wp-content\/plugins\/yaysmtp\/vendor\/guzzlehttp\/guzzle\/src\/Middleware.php on line 125<br \/>PHP Deprecated: GuzzleHttp\\Middleware::tap(): Implicitly marking parameter $after as nullable is deprecated, the explicit nullable type must be used instead in \/wp-content\/plugins\/yaysmtp\/vendor\/guzzlehttp\/guzzle\/src\/Middleware.php on line 125<br \/>PHP Deprecated: GuzzleHttp\\Middleware::retry(): Implicitly marking parameter $delay as nullable is deprecated, the explicit nullable type must be used instead in \/wp-content\/plugins\/yaysmtp\/vendor\/guzzlehttp\/guzzle\/src\/Middleware.php on line 168<br \/>PHP Deprecated: Google\\Auth\\Middleware\\ScopedAccessTokenMiddleware::__construct(): Implicitly marking parameter $cacheConfig as nullable is deprecated, the explicit nullable type must be used instead in \/wp-content\/plugins\/yaysmtp\/vendor\/google\/auth\/src\/Middleware\/ScopedAccessTokenMiddleware.php on line 70<br \/>PHP Deprecated: Google\\Auth\\Middleware\\ScopedAccessTokenMiddleware::__construct(): Implicitly marking parameter $cache as nullable is deprecated, the explicit nullable type must be used instead in \/wp-content\/plugins\/yaysmtp\/vendor\/google\/auth\/src\/Middleware\/ScopedAccessTokenMiddleware.php on line 70<br \/>PHP Deprecated: Calling get_class() without arguments is deprecated in \/wp-content\/plugins\/yaysmtp\/vendor\/google\/apiclient\/src\/Http\/REST.php on line 58<br \/>PHP Deprecated: Google\\Auth\\HttpHandler\\HttpHandlerFactory::build(): Implicitly marking parameter $client as nullable is deprecated, the explicit nullable type must be used instead in \/wp-content\/plugins\/yaysmtp\/vendor\/google\/auth\/src\/HttpHandler\/HttpHandlerFactory.php on line 31<br \/>PHP Deprecated: GuzzleHttp\\Promise\\FulfilledPromise::then(): Implicitly marking parameter $onFulfilled as nullable is deprecated, the explicit nullable type must be used instead in \/wp-content\/plugins\/yaysmtp\/vendor\/guzzlehttp\/promises\/src\/FulfilledPromise.php on line 26<br \/>PHP Deprecated: GuzzleHttp\\Promise\\FulfilledPromise::then(): Implicitly marking parameter $onRejected as nullable is deprecated, the explicit nullable type must be used instead in \/wp-content\/plugins\/yaysmtp\/vendor\/guzzlehttp\/promises\/src\/FulfilledPromise.php on line 26<br \/>PHP Deprecated: GuzzleHttp\\Promise\\PromiseInterface::then(): Implicitly marking parameter $onFulfilled as nullable is deprecated, the explicit nullable type must be used instead in \/wp-content\/plugins\/yaysmtp\/vendor\/guzzlehttp\/promises\/src\/PromiseInterface.php on line 29<br \/>PHP Deprecated: GuzzleHttp\\Promise\\PromiseInterface::then(): Implicitly marking parameter $onRejected as nullable is deprecated, the explicit nullable type must be used instead in \/wp-content\/plugins\/yaysmtp\/vendor\/guzzlehttp\/promises\/src\/PromiseInterface.php on line 29<br \/>PHP Deprecated: GuzzleHttp\\Promise\\Utils::queue(): Implicitly marking parameter $assign as nullable is deprecated, the explicit nullable type must be used instead in \/wp-content\/plugins\/yaysmtp\/vendor\/guzzlehttp\/promises\/src\/Utils.php on line 24<br \/>PHP Deprecated: GuzzleHttp\\Promise\\Promise::__construct(): Implicitly marking parameter $waitFn as nullable is deprecated, the explicit nullable type must be used instead in \/wp-content\/plugins\/yaysmtp\/vendor\/guzzlehttp\/promises\/src\/Promise.php on line 23<br \/>PHP Deprecated: GuzzleHttp\\Promise\\Promise::__construct(): Implicitly marking parameter $cancelFn as nullable is deprecated, the explicit nullable type must be used instead in \/wp-content\/plugins\/yaysmtp\/vendor\/guzzlehttp\/promises\/src\/Promise.php on line 23<br \/>PHP Deprecated: GuzzleHttp\\Promise\\Promise::then(): Implicitly marking parameter $onFulfilled as nullable is deprecated, the explicit nullable type must be used instead in \/wp-content\/plugins\/yaysmtp\/vendor\/guzzlehttp\/promises\/src\/Promise.php on line 31<br \/>PHP Deprecated: GuzzleHttp\\Promise\\Promise::then(): Implicitly marking parameter $onRejected as nullable is deprecated, the explicit nullable type must be used instead in \/wp-content\/plugins\/yaysmtp\/vendor\/guzzlehttp\/promises\/src\/Promise.php on line 31<br \/>PHP Deprecated: Creation of dynamic property Google_Service_Gmail_ListSendAsResponse::$sendAs is deprecated in \/wp-content\/plugins\/yaysmtp\/vendor\/google\/apiclient\/src\/Model.php on line 109<br \/>PHP Deprecated: Creation of dynamic property Google_Service_Gmail_SendAs::$smtpMsa is deprecated in \/wp-content\/plugins\/yaysmtp\/vendor\/google\/apiclient\/src\/Model.php on line 120<br \/>PHP Deprecated: Calling get_class() without arguments is deprecated in \/wp-content\/plugins\/yaysmtp\/vendor\/google\/apiclient\/src\/Http\/REST.php on line 58<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Please let me know if there&#8217;s anything I need to be concerned about, or if I&#8217;m okay to suppress the PHP Deprecated notice until an update is released.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Thank you!<\/p>\n","protected":false},"template":"","class_list":["post-18772389","topic","type-topic","status-publish","hentry"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/18772389","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic"}],"about":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":0,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/18772389\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=18772389"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}