WebsiteBaker 2.13.9 R25 is now available!
R.I.P Dietmar (luisehahne) and thank you for all your valuable work for WBhttps://forum.websitebaker.org/index.php/topic,32355.0.html
Sun, 25 Jan 2026 05:18:21 +0000 [E_DEPRECATED] /modules/form/view.php:[158] from /modules/droplets/droplets.php(43) : eval()'d code:[31] require "Non-canonical cast (double) is deprecated, use the (float) cast instead"Sun, 25 Jan 2026 05:18:21 +0000 [E_DEPRECATED] /include/captcha/Securimage.php:[2714] from /vendor/composer/ClassLoader.php:[576] include "The backtick (`) operator is deprecated, use shell_exec() instead"Sun, 25 Jan 2026 05:18:21 +0000 [E_DEPRECATED] /include/captcha/Securimage.php:[2979] from /vendor/composer/ClassLoader.php:[576] include "The backtick (`) operator is deprecated, use shell_exec() instead"[25-Jan-2026 05:18:21 UTC] PHP Deprecated: Function imagedestroy() is deprecated since 8.5, as it has no effect since PHP 8.0 in /www/htdocs/v141252/matthias_gallas_de/include/captcha/Securimage.php on line 1988"
Ist geplant WB 2.13 PHP 8.5 kompatibel zu machen, oder geschieht das erst mit der nächsten Version?
$data = `$sox_cmd`;
$data = shell_exec($sox_cmd);
Mon, 26 Jan 2026 04:01:16 +0000 [E_DEPRECATED] /admin/logout/index.php:[80] from /admin/logout/index.php:[80] bin\Exceptions\ErrorHandler::handler "Using null as an array offset is deprecated, use an empty string instead"
// PHP 8.5+: using null as an array offset is deprecated $oldId = is_string($oldId) ? $oldId : '';
if ($oldId !== '' && isset($_COOKIE[$oldId])) {
Mon, 26 Jan 2026 06:26:42 +0000 [E_DEPRECATED] /modules/form/view.php:[158] from /framework/frontend.functions.php:[286] require "Non-canonical cast (double) is deprecated, use the (float) cast instead""
function new_submission_id() { $submission_id = ''; $salt = "abchefghjkmnpqrstuvwxyz0123456789";- \srand((double)microtime()*1000000);- $i = 0;- while ($i <= 7) {- $num = \rand() % 33;- $tmp = \substr($salt, $num, 1);- $submission_id = $submission_id . $tmp;- $i++;- }+ for ($i = 0; $i < 8; $i++) {+ $submission_id .= $salt[\random_int(0, \strlen($salt) - 1)];+ } return $submission_id; }
Hallo,ChatGPT bietet folgendes an:nach Zeile 59 einfügen:Code: [Select]// PHP 8.5+: using null as an array offset is deprecated $oldId = is_string($oldId) ? $oldId : '';Zeile 80 (neu 82) ändern:Code: [Select]if ($oldId !== '' && isset($_COOKIE[$oldId])) {Passt das? In der Anlage gefixte Datei
if (!empty($oldId) && isset($_COOKIE[$oldId]))
Hallo,Deprecated Meldung im FormCode: [Select]Mon, 26 Jan 2026 06:26:42 +0000 [E_DEPRECATED] /modules/form/view.php:[158] from /framework/frontend.functions.php:[286] require "Non-canonical cast (double) is deprecated, use the (float) cast instead""Lösungsvorschlag ChatGPT:modules/form/view.php ab Zeile 155:Code: [Select] function new_submission_id() { $submission_id = ''; $salt = "abchefghjkmnpqrstuvwxyz0123456789";- \srand((double)microtime()*1000000);- $i = 0;- while ($i <= 7) {- $num = \rand() % 33;- $tmp = \substr($salt, $num, 1);- $submission_id = $submission_id . $tmp;- $i++;- }+ for ($i = 0; $i < 8; $i++) {+ $submission_id .= $salt[\random_int(0, \strlen($salt) - 1)];+ } return $submission_id; }Kann man das so machen?
if (!\function_exists("new_submission_id")) { function new_submission_id() { $submission_id = ''; $salt = "abchefghjkmnpqrstuvwxyz0123456789"; $saltLength = strlen($salt) - 1; $i = 0; while ($i <= 7) { $num = random_int(0, $saltLength); $submission_id .= $salt[$num]; $i++; } return $submission_id; }}