Page 1 of 1

Github Flatpress 769 - PHP 8.2.0 - PHP Warning: Deprecated

Posted: Sun Dec 11, 2022 4:26 pm
by laborix
since 8 December 2022 PHP 8.2.0 is available as official version, so a quick test with the current Github version 769 and ...

after Setup

Code: Select all

Deprecated: Creation of dynamic property entry_index::$catlist is deprecated in .../fpgit769/fp-includes/core/core.entry.php on line 45
Deprecated: Creation of dynamic property SBPlusTree::$file is deprecated in .../fpgit769/fp-includes/core/core.bplustree.class.php on line 1581
Deprecated: Creation of dynamic property SBPlusTree::$nodesize is deprecated in .../fpgit769/fp-includes/core/core.bplustree.class.php on line 1583
Deprecated: Creation of dynamic property SBPlusTree::$keylen is deprecated in .../fpgit769/fp-includes/core/core.bplustree.class.php on line 1584
Deprecated: Creation of dynamic property SBPlusTree::$position is deprecated in .../fpgit769/fp-includes/core/core.bplustree.class.php on line 1588
Deprecated: Creation of dynamic property BPlusTree_Node::$storage is deprecated in .../fpgit769/fp-includes/core/core.bplustree.class.php on line 579
after switch to Blog

Code: Select all

Deprecated: Creation of dynamic property FPDB_Query::$comments is deprecated in .../fpgit769/fp-includes/core/core.fpdb.class.php on line 460
Deprecated: Creation of dynamic property StringParser_BBCode_Node_Element::$_codeInfo is deprecated in .../fpgit769/fp-plugins/bbcode/inc/stringparser_bbcode.class.php on line 1731
Deprecated: Creation of dynamic property Plugin_PrettyURLs::$baseurl is deprecated in .../fpgit769/fp-plugins/prettyurls/plugin.prettyurls.php on line 253
Deprecated: Creation of dynamic property Plugin_PrettyURLs::$mode is deprecated in .../fpgit769/fp-plugins/prettyurls/plugin.prettyurls.php on line 254
Deprecated: Creation of dynamic property entry_cached_index::$file is deprecated in .../fpgit769/fp-includes/core/core.bplustree.class.php on line 1581
Deprecated: Creation of dynamic property plugin_indexer::$enabledlist is deprecated in .../fpgit769/fp-includes/core/core.plugins.php on line 39
and last but not least, first entry and comment fields

Code: Select all

Deprecated: Using php-function "wp_specialchars" as a modifier is deprecated and will be removed in a future release. Use Smarty::registerPlugin to explicitly register a custom modifier. in .../fpgit769/fp-includes/smarty-4.3.0/libs/sysplugins/smarty_internal_compile_private_modifier.php on line 112
Ok, it's PHP 8.2.0, but it's already officially released and it's a matter of time before the first Flatpress user asks for it.

Re: Github Flatpress 769 - PHP 8.2.0 - PHP Warning: Deprecated

Posted: Sat Feb 18, 2023 11:26 am
by Arvid
I added this posting to issue 115.
The "Using php-function "wp_specialchars" as a modifier is deprecated" bug is already fixed :)

Re: Github Flatpress 769 - PHP 8.2.0 - PHP Warning: Deprecated

Posted: Sat Oct 28, 2023 12:02 pm
by Arvid
Fixed it, see this posting :)