From nobody Sat Jul 23 22:27:39 2022 X-Original-To: ports-bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Lr1CH56NDz4Whsv for ; Sat, 23 Jul 2022 22:27:39 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Lr1CH3Rnzz3gK5 for ; Sat, 23 Jul 2022 22:27:39 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4Lr1CH2G11zwFg for ; Sat, 23 Jul 2022 22:27:39 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 26NMRd9o055923 for ; Sat, 23 Jul 2022 22:27:39 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 26NMRdNv055922 for ports-bugs@FreeBSD.org; Sat, 23 Jul 2022 22:27:39 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 265395] mail/squirrelmail: INBOX does not populate messages after upgrading php 7.4 to php 8.0 Date: Sat, 23 Jul 2022 22:27:39 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: matt@snowtrek.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: ports-bugs@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Ports bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-ports-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ports-bugs@freebsd.org X-BeenThere: freebsd-ports-bugs@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1658615259; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=YFX6jhKCk/MNcCL6Dc9l4TcX1F5mEn+MuPBxq2L1wpM=; b=lW1xpimj514WoDt4bS/mfSQQRXHxTAzH0ytWOhMwiwBJ8ErJCfwkghPsbPHS5cCLK3StZj FL/4RiadtXXS2Gg38GNl+mTjr509fcBZHBudEpmfBbDRFRfISq1KVmLYPP+c8ooKeIGmpq 4IANt63BYwqWlkqln9riQjWdEGOstbCPv1xj0keo3fCXmP37UUwLnDA5njbKySeZxgUDwX Dc30xVmhs0UtF2lmZYnPpOzGRp4GiRnJ8ZUCmdzCQC7Z3E2RFAcwgo6JksOVE1PpWExTE6 Ox9sCxGjTYlaaQq8n8r6p3/MCgaxAe5h9h2fW+glfqVt5/z0uTd93mBjSnL4Pw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1658615259; a=rsa-sha256; cv=none; b=oQdmPB2AMN54n2X1SblpPxH/cmRQN0WFkeupTD/FL2ht+d5mwqyJKCoJNd2+x5ctFax3lP bmRwf407ZmX5ErMB2cwL90oS0SdPURSNN9+eTD8h30FaJ8Q6dU91hxaEdFb+M/DvreJ0Sk brP6vSX6z1jNeqJs1kzKPZTUIw1nciXHn8hVRgPBRTdlpoXnXmgi4Unb9m8CpH79BAqxU8 N1gssmkA4Wdxeqw9zy19PQn26Vqjx95/JcweWbr20aC4tLrbuOYjSbNDkl7c+t0T0sJx+E uYXhj44kDGxgVgUGcFIVTXiY/YGrHvl7fewzDx1f85upZXSy7svYeLXVRHpNJg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D265395 --- Comment #2 from MattS --- (In reply to Zsolt Udvari from comment #1) I'm a novice programmer, so I'm very hesitant to recommend any changes. My understanding is that php 8.0 throws a fatal error when trying to do math functions with a string. This was allowed in php5.6, and gave a warning in php7.4. Since substr() returns a string, I figured I'd try wrapping it in intval to return an integer instead so that could be used in the time zone conversion. I assume this would continue to work in any php version, but I don't know f= or sure. I'm also not sure if there could be a problem with $iTzc being an int= eger elsewhere in squirrelmail. --=20 You are receiving this mail because: You are the assignee for the bug.=