Notice: Only variables should be passed by reference in /www/oldserver/www/apps/sms/index.91.php on line 2

Fatal error: Uncaught TypeError: mysqli_query(): Argument #1 ($mysql) must be of type mysqli, bool given in /usr/local/share/adodb/drivers/adodb-mysqli.inc.php:1372 Stack trace: #0 /usr/local/share/adodb/drivers/adodb-mysqli.inc.php(1372): mysqli_query() #1 /usr/local/share/adodb/adodb.inc.php(1613): ADODB_mysqli->_query() #2 /usr/local/share/adodb/drivers/adodb-mysqli.inc.php(1113): ADOConnection->_Execute() #3 /www/oldserver/www/apps/sms/src/libs/functions/fetchRecord.php(7): ADODB_mysqli->execute() #4 /www/oldserver/www/apps/sms/index.91.php(22): fetchRecord() #5 {main} thrown in /usr/local/share/adodb/drivers/adodb-mysqli.inc.php on line 1372