WebsiteBaker Logo
  • *
  • Templates
  • Help
  • Add-ons
  • Download
  • Home
*
Welcome, Guest. Please login or register.

Login with username, password and session length
 

News


WebsiteBaker 2.13.8 is now available!


R.I.P Dietmar (luisehahne) and thank you for all your valuable work for WB
https://forum.websitebaker.org/index.php/topic,32355.0.html


* Support WebsiteBaker

Your donations will help to:

  • Pay for our dedicated server
  • Pay for domain registration
  • and much more!

You can donate by clicking on the button below.


  • Home
  • Help
  • Search
  • Login
  • Register

  • WebsiteBaker Community Forum »
  • WebsiteBaker Support (2.13.x) »
  • General Help & Support »
  • Bugreport: 2.13.3 r166 & PHP 8.2.2 errors in database framework
  • Print
Pages: [1]   Go Down

Author Topic: Bugreport: 2.13.3 r166 & PHP 8.2.2 errors in database framework  (Read 86712 times)

Offline CodeALot

  • Posts: 579
  • Gender: Male
Bugreport: 2.13.3 r166 & PHP 8.2.2 errors in database framework
« on: July 03, 2023, 12:45:40 PM »
Logfile full of things like:

Code: [Select]
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"
Logged

Offline hgs

  • WebsiteBaker Org e.V.
  • **
  • Posts: 1892
    • EFG MG
Re: Bugreport: 2.13.3 r166 & PHP 8.2.2 errors in database framework
« Reply #1 on: July 03, 2023, 03:15:38 PM »
I cannot confirm the error, but I already have PHP 8.2.3 on the server
What modules are used on the website?
Logged
LG Harald

"Fange nie an, aufzuhören - höre nie auf, anzufangen." Marcus Tullius Cicero (106-43 v.Chr.)

"Never begin to stop - never stop beginning." Marcus Tullius Cicero (106-43 BC)

Offline CodeALot

  • Posts: 579
  • Gender: Male
Re: Bugreport: 2.13.3 r166 & PHP 8.2.2 errors in database framework
« Reply #2 on: July 03, 2023, 08:02:09 PM »
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: [Select]
"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)
Logged

Offline CodeALot

  • Posts: 579
  • Gender: Male
Re: Bugreport: 2.13.3 r166 & PHP 8.2.2 errors in database framework
« Reply #3 on: July 03, 2023, 08:05:51 PM »
This is what gets written to the error logfile before I login (so only when I browse to /admin)

Code: [Select]
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"
Logged

Offline sternchen8875

  • Global Moderator
  • *****
  • Posts: 609
Re: Bugreport: 2.13.3 r166 & PHP 8.2.2 errors in database framework
« Reply #4 on: July 04, 2023, 01:03:13 AM »
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
Logged

Offline CodeALot

  • Posts: 579
  • Gender: Male
Re: Bugreport: 2.13.3 r166 & PHP 8.2.2 errors in database framework
« Reply #5 on: July 04, 2023, 01:21:17 AM »
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
Logged

Offline sternchen8875

  • Global Moderator
  • *****
  • Posts: 609
Re: Bugreport: 2.13.3 r166 & PHP 8.2.2 errors in database framework
« Reply #6 on: July 04, 2023, 10:01:07 AM »
as I suspected: there is currently no WB version that runs with PHP 8.2.x
Logged

Offline CodeALot

  • Posts: 579
  • Gender: Male
Re: Bugreport: 2.13.3 r166 & PHP 8.2.2 errors in database framework
« Reply #7 on: July 04, 2023, 10:24:01 AM »
Ah, ok, thank you. I'll switch back to 8.1 until that changes.
(It was in the post title though ;-)
Logged

Offline hgs

  • WebsiteBaker Org e.V.
  • **
  • Posts: 1892
    • EFG MG
Re: Bugreport: 2.13.3 r166 & PHP 8.2.2 errors in database framework
« Reply #8 on: July 04, 2023, 01:32:27 PM »
Quote from: hgs on July 03, 2023, 03:15:38 PM
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.

Logged
LG Harald

"Fange nie an, aufzuhören - höre nie auf, anzufangen." Marcus Tullius Cicero (106-43 v.Chr.)

"Never begin to stop - never stop beginning." Marcus Tullius Cicero (106-43 BC)

Offline CodeALot

  • Posts: 579
  • Gender: Male
Re: Bugreport: 2.13.3 r166 & PHP 8.2.2 errors in database framework
« Reply #9 on: July 10, 2023, 09:55:20 PM »
Quote from: hgs on July 04, 2023, 01:32:27 PM
Quote from: hgs on July 03, 2023, 03:15:38 PM
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!
Logged

  • Print
Pages: [1]   Go Up
  • WebsiteBaker Community Forum »
  • WebsiteBaker Support (2.13.x) »
  • General Help & Support »
  • Bugreport: 2.13.3 r166 & PHP 8.2.2 errors in database framework
 

  • SMF 2.0.19 | SMF © 2017, Simple Machines
  • XHTML
  • RSS
  • WAP2