• Welcome to WebsiteBaker Community Forum. Please log in or sign up.
Welcome, Guest
News
Support WebsiteBaker
Your donations will help to:
PayPal
  • Pay for our dedicated server
  • Pay for domain registration
  • and much more!
You can donate by clicking on the button below.

Errors from CoreAutoloader under PHP 8.1

Started by CodeALot, April 07, 2022, 10:40:39 AM  ( Read 9,680 times )

CodeALot

WB Version 2.13.0 r63 - PHP 8,1

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

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"

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

        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"
        and other are already fixed

        The next, i will be going to fix it
        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"""


        Dietmar
          Note: Once the code has been generated, it is easy to debug. It's not a bug, it's a feature!

          CodeALot

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

            \n\n