flatpressblog / flatpress

FlatPress is a lightweight, easy-to-set-up flat-file blogging engine.
https://flatpress.org
GNU General Public License v2.0
185 stars 57 forks source link

Plugin PrettyURLs | PHP8.2 #305

Closed Fraenkiman closed 9 months ago

Fraenkiman commented 9 months ago

Hello everyone,

Laborix has the following errors in the server log in the forum post using PHP 8.2.15:

PHP Deprecated:  Creation of dynamic property Plugin_PrettyURLs::$baseurl is deprecated in .../fpgit1142/fp-plugins/prettyurls/plugin.prettyurls.php on line 253
PHP Deprecated:  Creation of dynamic property Plugin_PrettyURLs::$mode is deprecated in .../fpgit1142/fp-plugins/prettyurls/plugin.prettyurls.php on line 254
PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in .../fpgit1142/fp-plugins/prettyurls/plugin.prettyurls.php on line 302
PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in .../fpgit1142/fp-plugins/prettyurls/plugin.prettyurls.php on line 306
PHP Deprecated:  strrpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in .../fpgit1142/fp-plugins/prettyurls/plugin.prettyurls.php on line 309
PHP Deprecated:  strlen(): Passing null to parameter #1 ($string) of type string is deprecated in .../fpgit1142/fp-plugins/prettyurls/plugin.prettyurls.php on line 309

Best regards Frank