error messages updating to webmin 1.953 "Use of uninitialized value $mode in string ne at /usr/share/webmin/virtualmin-nginx/virtual_feature.pl line 935"

updating webmin 1.942 to 1.953 in ubuntu 18.04, this is part of the log

Setting up webmin-virtual-server (6.10.gpl) ...

Use of uninitialized value $mode in string ne at /usr/share/webmin/virtualmin-nginx/virtual_feature.pl line 935. Use of uninitialized value $mode in string ne at /usr/share/webmin/virtualmin-nginx/virtual_feature.pl line 935. Use of uninitialized value $mode in string ne at /usr/share/webmin/virtualmin-nginx/virtual_feature.pl line 935. Use of uninitialized value $mode in string ne at /usr/share/webmin/virtualmin-nginx/virtual_feature.pl line 935. Use of uninitialized value $mode in string ne at /usr/share/webmin/virtualmin-nginx/virtual_feature.pl line 935. Use of uninitialized value $mode in string ne at /usr/share/webmin/virtualmin-nginx/virtual_feature.pl line 935. Use of uninitialized value $mode in string ne at /usr/share/webmin/virtualmin-nginx/virtual_feature.pl line 935. Use of uninitialized value $mode in string ne at /usr/share/webmin/virtualmin-nginx/virtual_feature.pl line 935. Use of uninitialized value $mode in string ne at /usr/share/webmin/virtualmin-nginx/virtual_feature.pl line 935. Use of uninitialized value $mode in string ne at /usr/share/webmin/virtualmin-nginx/virtual_feature.pl line 935. Use of uninitialized value $mode in string ne at /usr/share/webmin/virtualmin-nginx/virtual_feature.pl line 935. Setting up libnginx-mod-http-echo (1.19.1-1~ubuntu18.04.4+ppa.carsten+1) ... Setting up php7.4-cli (7.4.8-1+ubuntu18.04.1+deb.sury.org+3) ...

Setting up webmin-virtualmin-nginx-ssl (1.11) ...

Status: 
Active

Comments

Ilia's picture
Submitted by Ilia on Mon, 07/20/2020 - 05:19

Hi,

Use of uninitialized value $mode in string ne at /usr/share/webmin/virtualmin-nginx/virtual_feature.pl line 935. Use of uninitialized value $mode in string

Quickly looking at the code, it looks as an odd error -- your website must have PHP execution mode set to at lest something? Please go on to Website Options page and check PHP execution mode? What does it set to?

Elisha Bentzi's picture
Submitted by Elisha Bentzi on Mon, 07/20/2020 - 05:41

Hi Friend.

The PHP execution mode was not set to anything. i set now to FPM.

Was PHP executing correctly on this domain before updating Virtualmin?

Elisha Bentzi's picture
Submitted by Elisha Bentzi on Wed, 07/22/2020 - 00:30

yes, PHP was executing fine. before and after the update.