Title: depreciated code
Last modified: September 10, 2026

---

# depreciated code

 *  [pcdrdave](https://wordpress.org/support/users/pcdrdave/)
 * (@pcdrdave)
 * [2 weeks, 3 days ago](https://wordpress.org/support/topic/depreciated-code-4/)
 * I’m seeing the following warnings with PHP 8.3:
 *     ```wp-block-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 17Deprecated: 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 96Deprecated: 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 715Deprecated: 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 853Deprecated: 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 183Deprecated: 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 212Deprecated: 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 355Deprecated: 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 371Deprecated: 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 668Deprecated: 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 144Deprecated: 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 475Deprecated: 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 475Deprecated: 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 497Deprecated: 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 509Deprecated: 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 522Deprecated: 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 534Deprecated: 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 546Deprecated: 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 28Deprecated: 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 268Deprecated: 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 278Deprecated: 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 287Deprecated: 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 296Deprecated: 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 306Deprecated: 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 315Deprecated: 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 324Deprecated: 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 432Deprecated: 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 555Warning: 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 7310Warning: 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
       ```
   

You must be [logged in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fdepreciated-code-4%2F%3Foutput_format%3Dmd&locale=en_US)
to reply to this topic.

 * ![](https://ps.w.org/age-gate/assets/icon-256x256.png?rev=2783003)
 * [Age Gate](https://wordpress.org/plugins/age-gate/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/age-gate/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/age-gate/)
 * [Active Topics](https://wordpress.org/support/plugin/age-gate/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/age-gate/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/age-gate/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [pcdrdave](https://wordpress.org/support/users/pcdrdave/)
 * Last activity: [2 weeks, 3 days ago](https://wordpress.org/support/topic/depreciated-code-4/)
 * Status: not resolved