Title: PHP 8.5.0 Deprecated Errors
Last modified: December 20, 2025

---

# PHP 8.5.0 Deprecated Errors

 *  Resolved [kognetiks](https://wordpress.org/support/users/kognetiks/)
 * (@kognetiks)
 * [5 months, 1 week ago](https://wordpress.org/support/topic/php-8-5-0-deprecated-errors/)
 * Hello,
   I found these errors in my WordPress debug.log file after upgrading to
   PHP 8.5.0.[20-Dec-2025 16:19:11 UTC] PHP Deprecated: SearchRegex\Sql\Builder::
   get_result(): Implicitly marking parameter $modifier as nullable is deprecated,
   the explicit nullable type must be used instead in /home/xxx/xxx.com/wp-content/
   plugins/search-regex/includes/sql/class-sql.php on line 63[20-Dec-2025 16:19:
   11 UTC] PHP Deprecated: SearchRegex\Sql\From::__construct(): Implicitly marking
   parameter $alias as nullable is deprecated, the explicit nullable type must be
   used instead in /home/xxx/xxx/wp-content/plugins/search-regex/includes/sql/class-
   from.php on line 24[20-Dec-2025 16:19:11 UTC] PHP Deprecated: SearchRegex\Sql\
   Query::get_as_sql(): Implicitly marking parameter $modifier as nullable is deprecated,
   the explicit nullable type must be used instead in /home/xxx/xxx/wp-content/plugins/
   search-regex/includes/sql/class-query.php on line 222[20-Dec-2025 16:19:11 UTC]
   PHP Deprecated: SearchRegex\Sql\Where\Where_String::__construct(): Implicitly
   marking parameter $flags as nullable is deprecated, the explicit nullable type
   must be used instead in /home/xxx/xxx/wp-content/plugins/search-regex/includes/
   sql/where/where-string.php on line 36[20-Dec-2025 16:19:11 UTC] PHP Deprecated:
   SearchRegex\Sql\Select\Select::__construct(): Implicitly marking parameter $alias
   as nullable is deprecated, the explicit nullable type must be used instead in/
   home/xxx/xxx/wp-content/plugins/search-regex/includes/sql/select/class-select.
   php on line 50[20-Dec-2025 16:19:11 UTC] PHP Deprecated: SearchRegex\Sql\Select\
   Select_Column::__construct(): Implicitly marking parameter $alias as nullable
   is deprecated, the explicit nullable type must be used instead in /home/xxx/xxx/
   wp-content/plugins/search-regex/includes/sql/select/class-column.php on line 
   12I thought you might want to know.Best,Stephen

Viewing 1 replies (of 1 total)

 *  Plugin Author [John Godley](https://wordpress.org/support/users/johnny5/)
 * (@johnny5)
 * [5 months, 1 week ago](https://wordpress.org/support/topic/php-8-5-0-deprecated-errors/#post-18763317)
 * Sure, it’s the same as [https://wordpress.org/support/topic/php-deprecation-notice-php-8-4/](https://wordpress.org/support/topic/php-deprecation-notice-php-8-4/)

Viewing 1 replies (of 1 total)

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

 * ![](https://ps.w.org/search-regex/assets/icon-256x256.jpg?rev=1030025)
 * [Search Regex](https://wordpress.org/plugins/search-regex/)
 * [Support Threads](https://wordpress.org/support/plugin/search-regex/)
 * [Active Topics](https://wordpress.org/support/plugin/search-regex/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/search-regex/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/search-regex/reviews/)

## Tags

 * [php](https://wordpress.org/support/topic-tag/php/)

 * 1 reply
 * 2 participants
 * Last reply from: [John Godley](https://wordpress.org/support/users/johnny5/)
 * Last activity: [5 months, 1 week ago](https://wordpress.org/support/topic/php-8-5-0-deprecated-errors/#post-18763317)
 * Status: resolved