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

Errors from CoreAutoloader under PHP 8.1

(1/1)

CodeALot:
WB Version 2.13.0 r63 - PHP 8,1

New installation, nothing added yet. Errorfile fills up with this:


--- Code: ---Thu, 07 Apr 2022 08:34:47 +0000 [E_DEPRECATED] /framework/CoreAutoloader.php:[118] from /framework/CoreAutoloader.php:[118] preg_split "preg_split(): Passing null to parameter #3 ($limit) of type int is deprecated"
--- End code ---

Does anyone have any idea what where to change/fix?

dbs:
So far i know is 2.13.0 for PHP 8.0 ready.
The upcoming 2.13.1 is for PHP 8.1.

ruebenwurzel:
The Developement Team ist working hard on getting WB working under PHP 8.1, but i think we'll have to wait until WB 2.13.2. The upcoming WB 2.13.1 works with PHP 7.4.x and 8.0.x

Matthias

Luisehahne:
Hello Friends,
the coming Version WB 2.13.1 isn't completly ready fixed for php8.1.x. All Tests works fine from php 7.4.x until php 8.0.x without known issues.

e.g. the deprecated error


--- Code: ---Thu, 07 Apr 2022 08:34:47 +0000 [E_DEPRECATED] /framework/CoreAutoloader.php:[118] from /framework/CoreAutoloader.php:[118] preg_split "preg_split(): Passing null to parameter #3 ($limit) of type int is deprecated"
--- End code ---
and other are already fixed

The next, i will be going to fix it

--- Code: ---Sat, 09 Apr 2022 18:46:44 +0000 [E_WARNING] /framework/helpers/ParentList.php:[141] from /framework/helpers/ParentList.php:[79] bin\helpers\ParentList::build_access_file "Trying to access array offset on value of type bool"
Sat, 09 Apr 2022 18:46:45 +0000 [E_WARNING] /framework/traits/CaptchaTrait.php:[52] from /framework/Login.php:[137] bin\Login->checkCaptcha "Undefined array key "captcha"""
--- End code ---

Dietmar

CodeALot:
Thanks all, I'll change the hosting tot 7.4 for now. (Fortunately this hoster allows me to do that :)

Navigation

[0] Message Index

Go to full version