WebsiteBaker Community Forum

WebsiteBaker Support (2.13.x) => General Help & Support => Topic started by: hillschmidt on April 28, 2022, 10:21:39 AM

Title: PHP 8 und WB 2.13.1 rc103 resultiert in Fehler /framework/Utils/IpAddress.php
Post by: hillschmidt on April 28, 2022, 10:21:39 AM
Nach der Installation dieses Releases und Umschalten auf PHP 8 erscheint folgender Fehler in Front- und Backend:

Code: [Select]
There was an uncatched exception
preg_match(): Argument #3 ($matches) cannot be passed by reference
in line (57) of (/framework/Utils/IpAddress.php):

Ideen?
Title: Re: PHP 8 und WB 2.13.1 rc103 resultiert in Fehler /framework/Utils/IpAddress.php
Post by: Luisehahne on April 28, 2022, 01:21:02 PM
Dieser Fehler ist im Patch 2.13.1.114 gefixt, aber warte, ich bin dabei ein Patch 115 zu erstellen, der Template Probleme mit älteren Modulen behebt

Dietmar
Title: Re: PHP 8 und WB 2.13.1 rc103 resultiert in Fehler /framework/Utils/IpAddress.php
Post by: hillschmidt on April 28, 2022, 01:34:25 PM
Super - dann warte ich gerne! Das Umschalten von PHP 7.4 auf 8.0 ist bei meinem Provider (seit 1999 Strato!) in Sekunden erledigt. Und 2.13.1 r103 habe ich nun bereits, nachdem das Code2/phplib Problem über den Workaround gelöst wurde ...
Title: Re: PHP 8 und WB 2.13.1 rc103 resultiert in Fehler /framework/Utils/IpAddress.php
Post by: RonK on June 16, 2022, 09:05:08 AM
Hi All,

Any updates on this?
I run a couple of website with website baker. One is hosted at Strato and Strato is moving towards PHP8.x.
Also the other provider will move towards PHP8.x sometime.

Best regards,
Ron
Title: Re: PHP 8 und WB 2.13.1 rc103 resultiert in Fehler /framework/Utils/IpAddress.php
Post by: crnogorac081 on June 16, 2022, 03:25:17 PM
Hi,

here is fix for IpAddress.php file:

https://forum.WebsiteBaker.org/index.php/topic,32036.msg224203.html#msg224203
Title: Re: PHP 8 und WB 2.13.1 rc103 resultiert in Fehler /framework/Utils/IpAddress.php
Post by: RonK on June 17, 2022, 09:24:09 AM
Thank you, I'll give it a try tonight.