WebsiteBaker Support (2.13.x) > General Help & Support

Bugreport: 2.13.3 r166 & PHP 8.2.2 errors in database framework

(1/2) > >>

CodeALot:
Logfile full of things like:


--- Code: ---Mon, 03 Jul 2023 10:43:10 +0000 [E_DEPRECATED] /framework/class.database.php:[99] from /framework/class.database.php:[52] database->connect "Creation of dynamic property database::$Collation is deprecated"
Mon, 03 Jul 2023 10:43:10 +0000 [E_DEPRECATED] /framework/class.database.php:[75] from /framework/initialize.php:[438] database::getInstance "Creation of dynamic property database::$sInstanceIdentifier is deprecated"
Mon, 03 Jul 2023 10:43:10 +0000 [E_DEPRECATED] /framework/class.database.php:[803] from /framework/class.database.php:[132] mysql->__construct "Creation of dynamic property mysql::$oDbHandle is deprecated"
Mon, 03 Jul 2023 10:43:10 +0000 [E_DEPRECATED] /framework/class.database.php:[803] from /framework/class.database.php:[150] mysql->__construct "Creation of dynamic property mysql::$oDbHandle is deprecated"
Mon, 03 Jul 2023 10:43:10 +0000 [E_DEPRECATED] /framework/class.database.php:[803] from /framework/class.database.php:[132] mysql->__construct "Creation of dynamic property mysql::$oDbHandle is deprecated"
Mon, 03 Jul 2023 10:43:11 +0000 [E_DEPRECATED] /framework/class.database.php:[99] from /framework/class.database.php:[52] database->connect "Creation of dynamic property database::$Collation is deprecated"
Mon, 03 Jul 2023 10:43:11 +0000 [E_DEPRECATED] /framework/class.database.php:[75] from /framework/initialize.php:[438] database::getInstance "Creation of dynamic property database::$sInstanceIdentifier is deprecated"

--- End code ---

hgs:
I cannot confirm the error, but I already have PHP 8.2.3 on the server
What modules are used on the website?

CodeALot:
A lot of modules, but the errorlog fills with this error even when I only have the ADMIN mainscreen (back-end) on my screen. (So no modules are called there, AFAIK)

This is what it produces right after loggin in:


--- Code: ---"created: [Mon, 03 Jul 2023 18:00:18 +0000]
Mon, 03 Jul 2023 18:00:20 +0000 [E_DEPRECATED] /framework/class.database.php:[99] from /framework/class.database.php:[52] database->connect "Creation of dynamic property database::$Collation is deprecated"
Mon, 03 Jul 2023 18:00:20 +0000 [E_DEPRECATED] /framework/class.database.php:[75] from /framework/initialize.php:[438] database::getInstance "Creation of dynamic property database::$sInstanceIdentifier is deprecated"
Mon, 03 Jul 2023 18:00:20 +0000 [E_DEPRECATED] /framework/class.database.php:[803] from /framework/class.database.php:[132] mysql->__construct "Creation of dynamic property mysql::$oDbHandle is deprecated"
Mon, 03 Jul 2023 18:00:20 +0000 [E_DEPRECATED] /framework/class.database.php:[803] from /framework/class.database.php:[150] mysql->__construct "Creation of dynamic property mysql::$oDbHandle is deprecated"
Mon, 03 Jul 2023 18:00:20 +0000 [E_DEPRECATED] /framework/class.database.php:[803] from /framework/class.database.php:[132] mysql->__construct "Creation of dynamic property mysql::$oDbHandle is deprecated"
Mon, 03 Jul 2023 18:00:20 +0000 [E_DEPRECATED] /framework/class.database.php:[99] from /framework/class.database.php:[52] database->connect "Creation of dynamic property database::$Collation is deprecated"
Mon, 03 Jul 2023 18:00:20 +0000 [E_DEPRECATED] /framework/class.database.php:[75] from /framework/initialize.php:[438] database::getInstance "Creation of dynamic property database::$sInstanceIdentifier is deprecated"
Mon, 03 Jul 2023 18:00:20 +0000 [E_DEPRECATED] /framework/class.database.php:[803] from /framework/class.database.php:[132] mysql->__construct "Creation of dynamic property mysql::$oDbHandle is deprecated"
Mon, 03 Jul 2023 18:00:20 +0000 [E_DEPRECATED] /framework/class.database.php:[803] from /framework/class.database.php:[150] mysql->__construct "Creation of dynamic property mysql::$oDbHandle is deprecated"
Mon, 03 Jul 2023 18:00:20 +0000 [E_DEPRECATED] /framework/class.database.php:[803] from /framework/class.database.php:[132] mysql->__construct "Creation of dynamic property mysql::$oDbHandle is deprecated"
Mon, 03 Jul 2023 18:00:22 +0000 [E_DEPRECATED] /framework/class.database.php:[99] from /framework/class.database.php:[52] database->connect "Creation of dynamic property database::$Collation is deprecated"
Mon, 03 Jul 2023 18:00:22 +0000 [E_DEPRECATED] /framework/class.database.php:[75] from /framework/initialize.php:[438] database::getInstance "Creation of dynamic property database::$sInstanceIdentifier is deprecated"
Mon, 03 Jul 2023 18:00:22 +0000 [E_DEPRECATED] /framework/class.database.php:[803] from /framework/class.database.php:[132] mysql->__construct "Creation of dynamic property mysql::$oDbHandle is deprecated"
Mon, 03 Jul 2023 18:00:22 +0000 [E_DEPRECATED] /framework/class.database.php:[803] from /framework/class.database.php:[150] mysql->__construct "Creation of dynamic property mysql::$oDbHandle is deprecated"
Mon, 03 Jul 2023 18:00:22 +0000 [E_DEPRECATED] /framework/class.database.php:[803] from /framework/class.database.php:[132] mysql->__construct "Creation of dynamic property mysql::$oDbHandle is deprecated""
--- End code ---

(This is the whole errorlog right after logging in. All errors are generated from the framework folder)

CodeALot:
This is what gets written to the error logfile before I login (so only when I browse to /admin)


--- Code: ---Mon, 03 Jul 2023 18:04:48 +0000 [E_DEPRECATED] /framework/class.database.php:[99]  from /framework/class.database.php:[52] database->connect "Creation of dynamic property database::$Collation is deprecated"
Mon, 03 Jul 2023 18:04:48 +0000 [E_DEPRECATED] /framework/class.database.php:[75]  from /framework/initialize.php:[438] database::getInstance "Creation of dynamic property database::$sInstanceIdentifier is deprecated"
Mon, 03 Jul 2023 18:04:48 +0000 [E_DEPRECATED] /framework/class.database.php:[803]  from /framework/class.database.php:[132] mysql->__construct "Creation of dynamic property mysql::$oDbHandle is deprecated"
Mon, 03 Jul 2023 18:04:48 +0000 [E_DEPRECATED] /framework/class.database.php:[803]  from /framework/class.database.php:[150] mysql->__construct "Creation of dynamic property mysql::$oDbHandle is deprecated"
Mon, 03 Jul 2023 18:04:48 +0000 [E_DEPRECATED] /framework/class.database.php:[803]  from /framework/class.database.php:[132] mysql->__construct "Creation of dynamic property mysql::$oDbHandle is deprecated"

--- End code ---

sternchen8875:
i get messages like this, when i open the adress from a WB-Installation with the wrong php-version, so for example: a WB 2.12.x doesn't work with PHP 8.2.x, the same in other direction: the latest wb-version doesn't work with php 7.x

maybe, you can give some more details about this

Navigation

[0] Message Index

[#] Next page

Go to full version