Error message

Warning: mysqli_fetch_array() expects parameter 1 to be mysqli_result, boolean given in sinfar_ctf_page() (line 315 of /sinfarweb/git/www/sites/all/modules/sinfar/sinfar.module).