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 12
I thought you might want to know.
Best,
Stephen
You must be logged in to reply to this topic.