WebsiteBaker Community Forum
WebsiteBaker Support (2.13.x) => General Help & Support => Topic started by: CodeALot on July 03, 2023, 12:45:40 PM
-
Logfile full of things like:
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"
-
I cannot confirm the error, but I already have PHP 8.2.3 on the server
What modules are used on the website?
-
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:
"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""
(This is the whole errorlog right after logging in. All errors are generated from the framework folder)
-
This is what gets written to the error logfile before I login (so only when I browse to /admin)
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"
-
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
-
But of course :)
Running WB 2.13.3 r166
PHP 8.2.2
Apache API version 20120211
Webserver Software: Linux vs9088 4.19.0-13-amd64 #1 SMP Debian 4.19.160-2 (2020-11-28) x86_64
-
as I suspected: there is currently no WB version that runs with PHP 8.2.x
-
Ah, ok, thank you. I'll switch back to 8.1 until that changes.
(It was in the post title though ;-)
-
I cannot confirm the error, but I already have PHP 8.2.3 on the server
What modules are used on the website?
Sorry for this statement.
I was already one step further with the development environment.
The errors occur as posted.
-
I cannot confirm the error, but I already have PHP 8.2.3 on the server
What modules are used on the website?
Sorry for this statement.
I was already one step further with the development environment.
The errors occur as posted.
No worries, I just went back to PHP 8.1 and all is fine now. Looking forward to new WB updates as always :-) Thanks for the replies!