{"id":19016408,"date":"2026-09-10T10:08:06","date_gmt":"2026-09-10T10:08:06","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/depreciated-code-4\/"},"modified":"2026-09-10T10:08:06","modified_gmt":"2026-09-10T10:08:06","slug":"depreciated-code-4","status":"publish","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/depreciated-code-4\/","title":{"rendered":"depreciated code"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">I&#8217;m seeing the following warnings with PHP 8.3:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>Deprecated: html_build_attributes(): Implicitly marking parameter $escape as nullable is deprecated, the explicit nullable type must be used instead in \/home\/southcott\/public_html\/wp-content\/plugins\/age-gate\/vendor\/mcaskill\/php-html-build-attributes\/Function.HTML-Build-Attributes.php on line 17<br \/>Deprecated: League\\Plates\\Template\\Func::call(): Implicitly marking parameter $template as nullable is deprecated, the explicit nullable type must be used instead in \/home\/southcott\/public_html\/wp-content\/plugins\/age-gate\/vendor\/league\/plates\/src\/Template\/Func.php on line 96<br \/>Deprecated: Parsedown::blockSetextHeader(): Implicitly marking parameter $Block as nullable is deprecated, the explicit nullable type must be used instead in \/home\/southcott\/public_html\/wp-content\/plugins\/age-gate\/vendor\/erusev\/parsedown\/Parsedown.php on line 715<br \/>Deprecated: Parsedown::blockTable(): Implicitly marking parameter $Block as nullable is deprecated, the explicit nullable type must be used instead in \/home\/southcott\/public_html\/wp-content\/plugins\/age-gate\/vendor\/erusev\/parsedown\/Parsedown.php on line 853<br \/>Deprecated: Illuminate\\Support\\Arr::first(): Implicitly marking parameter $callback as nullable is deprecated, the explicit nullable type must be used instead in \/home\/southcott\/public_html\/wp-content\/plugins\/age-gate\/vendor\/illuminate\/collections\/Arr.php on line 183<br \/>Deprecated: Illuminate\\Support\\Arr::last(): Implicitly marking parameter $callback as nullable is deprecated, the explicit nullable type must be used instead in \/home\/southcott\/public_html\/wp-content\/plugins\/age-gate\/vendor\/illuminate\/collections\/Arr.php on line 212<br \/>Deprecated: Illuminate\\Support\\Collection::filter(): Implicitly marking parameter $callback as nullable is deprecated, the explicit nullable type must be used instead in \/home\/southcott\/public_html\/wp-content\/plugins\/age-gate\/vendor\/illuminate\/collections\/Collection.php on line 355<br \/>Deprecated: Illuminate\\Support\\Collection::first(): Implicitly marking parameter $callback as nullable is deprecated, the explicit nullable type must be used instead in \/home\/southcott\/public_html\/wp-content\/plugins\/age-gate\/vendor\/illuminate\/collections\/Collection.php on line 371<br \/>Deprecated: Illuminate\\Support\\Collection::last(): Implicitly marking parameter $callback as nullable is deprecated, the explicit nullable type must be used instead in \/home\/southcott\/public_html\/wp-content\/plugins\/age-gate\/vendor\/illuminate\/collections\/Collection.php on line 668<br \/>Deprecated: Illuminate\\Support\\Traits\\EnumeratesValues::times(): Implicitly marking parameter $callback as nullable is deprecated, the explicit nullable type must be used instead in \/home\/southcott\/public_html\/wp-content\/plugins\/age-gate\/vendor\/illuminate\/collections\/Traits\/EnumeratesValues.php on line 144<br \/>Deprecated: Illuminate\\Support\\Traits\\EnumeratesValues::when(): Implicitly marking parameter $callback as nullable is deprecated, the explicit nullable type must be used instead in \/home\/southcott\/public_html\/wp-content\/plugins\/age-gate\/vendor\/illuminate\/collections\/Traits\/EnumeratesValues.php on line 475<br \/>Deprecated: Illuminate\\Support\\Traits\\EnumeratesValues::when(): Implicitly marking parameter $default as nullable is deprecated, the explicit nullable type must be used instead in \/home\/southcott\/public_html\/wp-content\/plugins\/age-gate\/vendor\/illuminate\/collections\/Traits\/EnumeratesValues.php on line 475<br \/>Deprecated: Illuminate\\Support\\Traits\\EnumeratesValues::whenEmpty(): Implicitly marking parameter $default as nullable is deprecated, the explicit nullable type must be used instead in \/home\/southcott\/public_html\/wp-content\/plugins\/age-gate\/vendor\/illuminate\/collections\/Traits\/EnumeratesValues.php on line 497<br \/>Deprecated: Illuminate\\Support\\Traits\\EnumeratesValues::whenNotEmpty(): Implicitly marking parameter $default as nullable is deprecated, the explicit nullable type must be used instead in \/home\/southcott\/public_html\/wp-content\/plugins\/age-gate\/vendor\/illuminate\/collections\/Traits\/EnumeratesValues.php on line 509<br \/>Deprecated: Illuminate\\Support\\Traits\\EnumeratesValues::unless(): Implicitly marking parameter $default as nullable is deprecated, the explicit nullable type must be used instead in \/home\/southcott\/public_html\/wp-content\/plugins\/age-gate\/vendor\/illuminate\/collections\/Traits\/EnumeratesValues.php on line 522<br \/>Deprecated: Illuminate\\Support\\Traits\\EnumeratesValues::unlessEmpty(): Implicitly marking parameter $default as nullable is deprecated, the explicit nullable type must be used instead in \/home\/southcott\/public_html\/wp-content\/plugins\/age-gate\/vendor\/illuminate\/collections\/Traits\/EnumeratesValues.php on line 534<br \/>Deprecated: Illuminate\\Support\\Traits\\EnumeratesValues::unlessNotEmpty(): Implicitly marking parameter $default as nullable is deprecated, the explicit nullable type must be used instead in \/home\/southcott\/public_html\/wp-content\/plugins\/age-gate\/vendor\/illuminate\/collections\/Traits\/EnumeratesValues.php on line 546<br \/>Deprecated: Illuminate\\Support\\Enumerable::times(): Implicitly marking parameter $callback as nullable is deprecated, the explicit nullable type must be used instead in \/home\/southcott\/public_html\/wp-content\/plugins\/age-gate\/vendor\/illuminate\/collections\/Enumerable.php on line 28<br \/>Deprecated: Illuminate\\Support\\Enumerable::filter(): Implicitly marking parameter $callback as nullable is deprecated, the explicit nullable type must be used instead in \/home\/southcott\/public_html\/wp-content\/plugins\/age-gate\/vendor\/illuminate\/collections\/Enumerable.php on line 268<br \/>Deprecated: Illuminate\\Support\\Enumerable::when(): Implicitly marking parameter $default as nullable is deprecated, the explicit nullable type must be used instead in \/home\/southcott\/public_html\/wp-content\/plugins\/age-gate\/vendor\/illuminate\/collections\/Enumerable.php on line 278<br \/>Deprecated: Illuminate\\Support\\Enumerable::whenEmpty(): Implicitly marking parameter $default as nullable is deprecated, the explicit nullable type must be used instead in \/home\/southcott\/public_html\/wp-content\/plugins\/age-gate\/vendor\/illuminate\/collections\/Enumerable.php on line 287<br \/>Deprecated: Illuminate\\Support\\Enumerable::whenNotEmpty(): Implicitly marking parameter $default as nullable is deprecated, the explicit nullable type must be used instead in \/home\/southcott\/public_html\/wp-content\/plugins\/age-gate\/vendor\/illuminate\/collections\/Enumerable.php on line 296<br \/>Deprecated: Illuminate\\Support\\Enumerable::unless(): Implicitly marking parameter $default as nullable is deprecated, the explicit nullable type must be used instead in \/home\/southcott\/public_html\/wp-content\/plugins\/age-gate\/vendor\/illuminate\/collections\/Enumerable.php on line 306<br \/>Deprecated: Illuminate\\Support\\Enumerable::unlessEmpty(): Implicitly marking parameter $default as nullable is deprecated, the explicit nullable type must be used instead in \/home\/southcott\/public_html\/wp-content\/plugins\/age-gate\/vendor\/illuminate\/collections\/Enumerable.php on line 315<br \/>Deprecated: Illuminate\\Support\\Enumerable::unlessNotEmpty(): Implicitly marking parameter $default as nullable is deprecated, the explicit nullable type must be used instead in \/home\/southcott\/public_html\/wp-content\/plugins\/age-gate\/vendor\/illuminate\/collections\/Enumerable.php on line 324<br \/>Deprecated: Illuminate\\Support\\Enumerable::first(): Implicitly marking parameter $callback as nullable is deprecated, the explicit nullable type must be used instead in \/home\/southcott\/public_html\/wp-content\/plugins\/age-gate\/vendor\/illuminate\/collections\/Enumerable.php on line 432<br \/>Deprecated: Illuminate\\Support\\Enumerable::last(): Implicitly marking parameter $callback as nullable is deprecated, the explicit nullable type must be used instead in \/home\/southcott\/public_html\/wp-content\/plugins\/age-gate\/vendor\/illuminate\/collections\/Enumerable.php on line 555<br \/>Warning: Cannot modify header information - headers already sent by (output started at \/home\/southcott\/public_html\/wp-content\/plugins\/age-gate\/vendor\/illuminate\/collections\/Traits\/EnumeratesValues.php:144) in \/home\/southcott\/public_html\/wp-includes\/functions.php on line 7310<br \/>Warning: Cannot modify header information - headers already sent by (output started at \/home\/southcott\/public_html\/wp-content\/plugins\/age-gate\/vendor\/illuminate\/collections\/Traits\/EnumeratesValues.php:144) in \/home\/southcott\/public_html\/wp-admin\/admin-header.php on line 14<\/code><\/pre>\n","protected":false},"template":"","class_list":["post-19016408","topic","type-topic","status-publish","hentry"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/19016408","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\/19016408\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=19016408"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}