WebsiteBaker Community Forum

WebsiteBaker Support (2.13.x) => General Help & Support => Topic started by: helihans on June 09, 2025, 09:42:14 AM

Title: fout in /framework/Utils/IpAddress.php
Post by: helihans on June 09, 2025, 09:42:14 AM
een vreemde fout op diverse wb-sites in /framework/Utils/IpAddress.php

Ik gebruik 2.13.6 r237 en php8.0 ( ook de fout in 8.1 8.2 en 8.3)

de fout in het log: Sun, 08 Jun 2025 21:56:43 +0000 [E_WARNING] /framework/Utils/IpAddress.php:[181] from :[] App\Utils\IpAddress::App\Utils\{closure} "Undefined array key 8"
de fout in facebook: og:description   There was an uncatched exception bindec(): Argument #1 ($binary_string) must be of type string, null given in line (181) of (/framework/Utils/IpAddress.php):
 
iemand tips?
Title: Re: fout in /framework/Utils/IpAddress.php
Post by: sternchen8875 on June 09, 2025, 11:14:20 AM
Unpack the attached file and replace the same file in /framework/utils

The problem here lies in the possibility of using shortened IPv6 addresses. The verification mechanism was not fully prepared for that.
The attached file is part of the new WB version, which was actually supposed to be released already. It's been slightly delayed—sorry about that.
Title: Re: fout in /framework/Utils/IpAddress.php
Post by: helihans on June 09, 2025, 11:33:17 AM
Yes, this works fine.  (Y) (Y)
Thanks a lot fot fast response
Title: Re: fout in /framework/Utils/IpAddress.php
Post by: sternchen8875 on June 09, 2025, 11:37:17 AM
Thanks for the replay  :wink:  (Y)