Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 3 Nov 2018 18:50:03 +0100
From:      Guido Falsi <mad@madpilot.net>
To:        Xavier Humbert <xavier@groumpf.org>, FreeBSD Ports ML <freebsd-ports@freebsd.org>
Subject:   Re: Upgrade from PHP71 to PHP72 breaks icingaweb2
Message-ID:  <2e352ca4-6515-7c08-e1c0-b5f9e2d54791@madpilot.net>
In-Reply-To: <68f377509b704b8604dd41e29484115c@groumpf.org>
References:  <68f377509b704b8604dd41e29484115c@groumpf.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On 03/11/18 18:17, Xavier Humbert wrote:
> Context FreeBSD 11-STABLE, last pkg upgrade led to update PHP71 to PHP72.
> php72-json is installed, but when I launch a navigator, IcingaWeb2
> crashes with :
> 
>> Call to undefined function Icinga\Util\json_encode() in
>> /usr/local/www/icingaweb2/library/Icinga/Util/Json.php:57
>>
> 
> Any idea ?

Yess, you need to install the php72-json package which provides the
json_encode() function.

The port actually depends on it, so something went wrong with your update.

You should try reinstalling it and check that all dependencies install
successfully.

-- 
Guido Falsi <mad@madpilot.net>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?2e352ca4-6515-7c08-e1c0-b5f9e2d54791>