You have called a MaxDB PHP function that can only be used for prepared statements.
Use prepared statements or a different function.