Thread Rating:
  • 4 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Get simple 3.3.16 support for php 8.0
#84
(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.


GS Community Edition with php8.x compatibility, new features and much more!  Support Me


Reply


Messages In This Thread
RE: Get simple 3.3.16 support for php 8.0 - by islander - 2022-12-17, 19:27:26



Users browsing this thread: 1 Guest(s)