2022-12-17, 20:31:23
(2022-12-17, 19:27:26)islander Wrote:(2022-12-17, 15:47:11)Oleg06 Wrote: I checked the I18N Search plugin. Got three errors.
Code:Deprecated: htmlspecialchars(): Passing null to parameter #1 ($string) of type string is deprecated in C:\OSPanel\domains\gsphp8.ia\plugins\i18n_search\configure.php on line 117<br />
Deprecated: trim(): Passing null to parameter #1 ($string) of type string is deprecated in C:\OSPanel\domains\gsphp8.ia\plugins\i18n_search\searchresults.php on line 84
Deprecated: Function strftime() is deprecated in C:\OSPanel\domains\gsphp8.ia\plugins\i18n_search\searchresults.php on line 162
PHP 8.1 deprecates these calls, it does not make them errors. The purpose of deprecation is to give authors advance notice to fix their code, so you and the authors of libraries you use have until PHP 9.0 comes out to fix things.
These should be easy to update and will be added to the growing list, unless Shawn updates these first.
Agree, it doesn't look good. Is there any way to fix this?
![[Image: tags3.jpg]](https://getsimplethemes.ru/tags3.jpg)