PHP Fatal error on check_portal.php

i’ve removed the file, ran the fwconsole to download sysadmin and it’s still failing. i suspect the error is misleading and it’s possibly one of the includes instead. you can see below

[root@freepbx ~]# rm /var/www/html/admin/modules/sysadmin/bin/check_portal.php
rm: remove regular file /var/www/html/admin/modules/sysadmin/bin/check_portal.php? y
[root@freepbx ~]# 
[root@freepbx ~]# 
[root@freepbx ~]# fwconsole ma downloadinstall sysadmin
No repos specified, using: [standard,unsupported,extended] from last GUI settings

Downloading module 'sysadmin'
Processing sysadmin
Verifying local module download...Verified
Extracting...Done
Download completed in 1 seconds
Generating CSS...Done
Module sysadmin successfully installed
Updating Hooks...Done
[root@freepbx ~]# 
[root@freepbx ~]# 
[root@freepbx ~]# /var/www/html/admin/modules/sysadmin/bin/check_portal.php
PHP Fatal error:  Call to a member function fetchAll() on boolean in /var/www/html/admin/modules/sysadmin/bin/check_portal.php on line 10
[root@freepbx ~]#

Nevermind I was wrong. Fixed in sysadmin v14.0.7.27

1 Like

that’s fantastic! how do we get this ver?

Hi!

For now it’s most likely published to Edge track only so

fwconsole ma --edge upgrade sysadmin

Edge means that it is not considered stable yet, that there might still be problems with it.

That said, there are people, like me, whose system is always on Edge track and we rarely have any problems…

Good luck and have a nice day!

Nick

2 Likes