From owner-freebsd-ports@freebsd.org Sun Sep 27 16:06:53 2020 Return-Path: Delivered-To: freebsd-ports@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 1E1813FF6B2 for ; Sun, 27 Sep 2020 16:06:53 +0000 (UTC) (envelope-from xavier@groumpf.org) Received: from aragorn.amdh.fr (aragorn.groumpf.org [176.31.180.205]) by mx1.freebsd.org (Postfix) with ESMTP id 4BzrBM2Hk7z3g2W for ; Sun, 27 Sep 2020 16:06:50 +0000 (UTC) (envelope-from xavier@groumpf.org) Received: from numenor.groumpf.org (numenor [78.251.129.10]) by aragorn.amdh.fr (Postfix) with ESMTP id 7F59711A005 for ; Sun, 27 Sep 2020 18:06:43 +0200 (CEST) Received: from numenor.groumpf.org (localhost [127.0.0.1]) by numenor.groumpf.org (Postfix) with ESMTP id 333EB23578 for ; Sun, 27 Sep 2020 18:06:43 +0200 (CEST) X-Virus-Scanned: amavisd-new at groumpf.org Received: from numenor.groumpf.org ([127.0.0.1]) by numenor.groumpf.org (ns3.groumpf.org [127.0.0.1]) (amavisd-new, port 10024) with LMTP id SaVOp9MQKHiA for ; Sun, 27 Sep 2020 18:06:28 +0200 (CEST) Received: from [192.168.100.20] (feanor.groumpf.org [192.168.100.20]) by numenor.groumpf.org (Postfix) with ESMTPSA id ADA6D2363A for ; Sun, 27 Sep 2020 18:06:28 +0200 (CEST) To: FreeBSD Ports From: Xavier Humbert Subject: Icingaweb2 Message-ID: <1a79bb57-ff2b-23d3-7318-fd33bd7f7834@groumpf.org> Date: Sun, 27 Sep 2020 18:06:28 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:81.0) Gecko/20100101 Thunderbird/81.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Content-Language: en-GB X-Rspamd-Queue-Id: 4BzrBM2Hk7z3g2W X-Spamd-Bar: + Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of xavier@groumpf.org has no SPF policy when checking 176.31.180.205) smtp.mailfrom=xavier@groumpf.org X-Spamd-Result: default: False [1.37 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; ARC_NA(0.00)[]; RCVD_COUNT_FIVE(0.00)[5]; NEURAL_HAM_MEDIUM(-0.69)[-0.686]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_SPAM_SHORT(0.59)[0.589]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-ports@freebsd.org]; DMARC_NA(0.00)[groumpf.org]; AUTH_NA(1.00)[]; RCPT_COUNT_ONE(0.00)[1]; TO_DN_ALL(0.00)[]; NEURAL_SPAM_LONG(0.47)[0.471]; R_SPF_NA(0.00)[no SPF record]; RCVD_NO_TLS_LAST(0.10)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:16276, ipnet:176.31.0.0/16, country:FR]; MID_RHS_MATCH_FROM(0.00)[]; MAILMAN_DEST(0.00)[freebsd-ports]; RECEIVED_SPAMHAUS_PBL(0.00)[78.251.129.10:received] X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 27 Sep 2020 16:06:53 -0000 Hi, pkg update broke icingaweb2 : * it upgraded php73 to php74, which at first glance is not a problem * deleted blindly icingaweb2 without noticing that icingaweb2-php74 was present So I reinstalled manually icingaweb2-php74, and when launching the browser, I got the (in)famous > Call to undefined function Icinga\Util\json_encode() However : > [root@aragorn ~]# pkg info php74-json > php74-json-7.4.10 > [root@aragorn ~]# php -m | grep json > json > [root@aragorn ~]# php phpinfo.php | grepjson > json > json support =3D> enabled I ran into the very same problem when updated from=C2=A0 php72 to php73, = but can't remember how I fixed it Someone can help, please ? Regards Xavier --=20 Xavier HUMBERT - Unix/Win/MacOSX Sysadmin/Network Engineer