I’m using NethServer on ARM32 platforms.
I have problems with IPS through web interface as below:
My php version and packages:
[root@fw Module]# php -v
PHP 7.2.31 (cli) (built: May 12 2020 07:02:21) ( NTS )
Copyright (c) 1997-2018 The PHP Group
Zend Engine v3.2.0, Copyright (c) 1998-2018 Zend Technologies
[root@fw Module]# rpm -qa | grep php
php-pdo-7.2.31-2.el7.armv7hl
php-fpm-7.2.31-2.el7.armv7hl
php-mbstring-7.2.31-2.el7.armv7hl
php-common-7.2.31-2.el7.armv7hl
php-7.2.31-2.el7.armv7hl
php-json-7.2.31-2.el7.armv7hl
php-intl-7.2.31-2.el7.armv7hl
oniguruma5php-6.9.5+rev1-2.el7.armv7hl
php-mysqlnd-7.2.31-2.el7.armv7hl
nethserver-php-1.2.1-1.ns7.noarch
php-cli-7.2.31-2.el7.armv7hl
php-xml-7.2.31-2.el7.armv7hl
php-gd-7.2.31-2.el7.armv7hl
[root@fw ~]# cat /etc/system-release
CentOS Linux release 7.8.2003 (AltArch)
I solved my problem as bellow:
[root@fw Module]# diff IPS.php IPS-orig.php
122c122
< public function readStatus($status1, $status2=null)
public function readStatus($status1, $status2)
but in each package update I see the problem again.
I have limited knowledge in PHP development, but it seems the problem caused by the PHP version that I’m using.