Fitxa de professor

No ha sido posible conectar con la base de datos, por favor espere o revise la configuración
SELECT * from professors WHERE ID =
rioancho_campusdescriptura_com
mysqli_sql_exception::__set_state(array(
   'message' => 'You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near \'\' at line 1',
   'string' => '',
   'file' => '/home/rioancho/campusdescriptura.com/web/utilities.php',
   'line' => 512,
   'trace' => 
  array (
    0 => 
    array (
      'file' => '/home/rioancho/campusdescriptura.com/web/utilities.php',
      'line' => 512,
      'function' => 'query',
      'class' => 'mysqli',
      'type' => '->',
      'args' => 
      array (
        0 => 'SELECT * from professors WHERE ID = ',
      ),
    ),
    1 => 
    array (
      'file' => '/home/rioancho/campusdescriptura.com/web/detall_profe_inline.php',
      'line' => 20,
      'function' => 'recordset',
      'args' => 
      array (
        0 => 'SELECT * from professors WHERE ID = ',
      ),
    ),
    2 => 
    array (
      'file' => '/home/rioancho/campusdescriptura.com/web/index.php',
      'line' => 374,
      'args' => 
      array (
        0 => '/home/rioancho/campusdescriptura.com/web/detall_profe_inline.php',
      ),
      'function' => 'include_once',
    ),
  ),
   'previous' => NULL,
   'code' => 1064,
   'sqlstate' => '42000',
))
No ha sido posible conectar con la base de datos, por favor espere o revise la configuración
SELECT * FROM testimonios WHERE IDProfessor=
rioancho_campusdescriptura_com
mysqli_sql_exception::__set_state(array(
   'message' => 'You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near \'\' at line 1',
   'string' => '',
   'file' => '/home/rioancho/campusdescriptura.com/web/utilities.php',
   'line' => 512,
   'trace' => 
  array (
    0 => 
    array (
      'file' => '/home/rioancho/campusdescriptura.com/web/utilities.php',
      'line' => 512,
      'function' => 'query',
      'class' => 'mysqli',
      'type' => '->',
      'args' => 
      array (
        0 => 'SELECT * FROM testimonios WHERE IDProfessor=',
      ),
    ),
    1 => 
    array (
      'file' => '/home/rioancho/campusdescriptura.com/web/detall_profe_inline.php',
      'line' => 140,
      'function' => 'recordset',
      'args' => 
      array (
        0 => 'SELECT * FROM testimonios WHERE IDProfessor=',
      ),
    ),
    2 => 
    array (
      'file' => '/home/rioancho/campusdescriptura.com/web/index.php',
      'line' => 374,
      'args' => 
      array (
        0 => '/home/rioancho/campusdescriptura.com/web/detall_profe_inline.php',
      ),
      'function' => 'include_once',
    ),
  ),
   'previous' => NULL,
   'code' => 1064,
   'sqlstate' => '42000',
))