blank screen logging into 3.2.2

Discussion in 'ISPConfig 3 Priority Support' started by ajajaj2, Feb 24, 2021.

Tags:
  1. ajajaj2

    ajajaj2 New Member

    Hi this machine was updated with later php version, but we reverted to correct, and it was working fine yesterday.

    Today we are getting this error in the apache logs

    Code:
     [Wed Feb 24 12:32:05.377207 2021] [fcgid:warn] [pid 169779] [client 192.168.189.254:47178] mod_fcgid: stderr: PHP Fatal error:  Uncaught TypeError: count(): Argument #1 ($var) must be of type Countable|array, bool given in /usr/local/ispconfig/interface/lib/classes/tpl.inc.php(1366) : eval()'d code:116
    [Wed Feb 24 12:32:05.377245 2021] [fcgid:warn] [pid 169779] [client 192.168.189.254:47178] mod_fcgid: stderr: Stack trace:
    [Wed Feb 24 12:32:05.377248 2021] [fcgid:warn] [pid 169779] [client 192.168.189.254:47178] mod_fcgid: stderr: #0 /usr/local/ispconfig/interface/lib/classes/tpl.inc.php(1366): eval()
    [Wed Feb 24 12:32:05.377250 2021] [fcgid:warn] [pid 169779] [client 192.168.189.254:47178] mod_fcgid: stderr: #1 /usr/local/ispconfig/interface/lib/classes/tpl.inc.php(769): tpl->_parse()
    [Wed Feb 24 12:32:05.377252 2021] [fcgid:warn] [pid 169779] [client 192.168.189.254:47178] mod_fcgid: stderr: #2 /usr/local/ispconfig/interface/web/index.php(117): tpl->pparse()
    [Wed Feb 24 12:32:05.377254 2021] [fcgid:warn] [pid 169779] [client 192.168.189.254:47178] mod_fcgid: stderr: #3 {main}
    [Wed Feb 24 12:32:05.377256 2021] [fcgid:warn] [pid 169779] [client 192.168.189.254:47178] mod_fcgid: stderr:   thrown in /usr/local/ispconfig/interface/lib/classes/tpl.inc.php(1366) : eval()'d code on line 116
     
  2. Jesse Norell

    Jesse Norell Well-Known Member Staff Member Howtoforge Staff

    You did not revert the php version correctly. Ispconfig uses php-cgi mode, so be sure the default php-cgi is changed, not just cli.
     
    Last edited: Feb 24, 2021
    ahrasis and ajajaj2 like this.
  3. ajajaj2

    ajajaj2 New Member

    ahh thank you so much. that was it.
     

Share This Page