Unknown column 'fr' in 'where clause'

ErrorWL::__set_state(array(
   'code' => 1,
   'message' => 'Unknown column \'fr\' in \'where clause\'',
   'string' => '',
   'file' => '/home/www/objets/class.mysql.php',
   'line' => 246,
   'trace' => 
  array (
    0 => 
    array (
      'file' => '/home/www/objets/class.mysql.php',
      'line' => 171,
      'function' => 'pdo_req',
      'class' => 'mysql',
      'type' => '->',
      'args' => 
      array (
        0 => 'SELECT tri2 FROM webliens WHERE cle_d_libell = 100123 AND tri1 = fr ',
        1 => false,
      ),
    ),
    1 => 
    array (
      'file' => '/home/www/objets/class.set_wl.php',
      'line' => 3683,
      'function' => 'req',
      'class' => 'mysql',
      'type' => '->',
      'args' => 
      array (
        0 => 'SELECT tri2 FROM webliens WHERE cle_d_libell = 100123 AND tri1 = fr ',
      ),
    ),
    2 => 
    array (
      'file' => '/home/www/objets/class.vsite.php',
      'line' => 1133,
      'function' => 'get_code_lang',
      'class' => 'set_wl',
      'type' => '->',
      'args' => 
      array (
      ),
    ),
    3 => 
    array (
      'file' => '/home/www/objets/class.vsite.php',
      'line' => 11459,
      'function' => 'set_url',
      'class' => 'vsite',
      'type' => '->',
      'args' => 
      array (
        0 => '60002000280',
        1 => 
        array (
          'titre' => NULL,
          'tag' => 'page',
        ),
      ),
    ),
    4 => 
    array (
      'file' => '/home/www/objets/class.vsite.php',
      'line' => 3051,
      'function' => 'aff_elt',
      'class' => 'vsite',
      'type' => '->',
      'args' => 
      array (
        0 => 
        array (
          'tag' => 'a',
          'id' => 'ID5b23a3d5b176f',
          'value' => 
          array (
            0 => 
            array (
              'value' => 'Qui sommes nous ?',
            ),
            1 => 
            array (
              'value' => '
', ), ), 'href' => '60002000280', 'parent' => 'ID5b23a3a2a2fab', ), 1 => '60002000268', 2 => array ( ), ), ), 5 => array ( 'file' => '/home/www/objets/class.vsite.php', 'line' => 9883, 'function' => 'set_cell', 'class' => 'vsite', 'type' => '->', 'args' => array ( 0 => array ( 'id' => 'ID5b23a3a2a2fab', 'contenu' => array ( 0 => array ( 'tag' => 'h3', 'id' => 'ID5b23a3b917b82', 'value' => array ( 0 => array ( 'value' => 'A0380160002002915', ), ), ), 1 => array ( 'tag' => 'a', 'id' => 'ID5b23a3d5b176f', 'value' => array ( 0 => array ( 'value' => 'Qui sommes nous ?', ), 1 => array ( 'value' => '
', ), ), 'href' => '60002000280', ), 2 => array ( 'tag' => 'a', 'id' => 'ID5b23a3d84b3d1', 'value' => array ( 0 => array ( 'value' => 'Manuel QSE', ), 1 => array ( 'value' => '
', ), ), 'href' => '30002000540', ), 3 => array ( 'tag' => 'a', 'id' => 'ID5b23a3da238da', 'value' => array ( 0 => array ( 'value' => 'Certification', ), 1 => array ( 'value' => '
', ), 2 => array ( 'value' => '
', ), ), 'href' => '60002000287', ), 4 => array ( 'tag' => 'h3', 'id' => 'ID5b23a677b7ede', 'value' => array ( 0 => array ( 'value' => 'A0380130002017501', ), ), ), 5 => array ( 'tag' => 'a', 'id' => 'ID5b23a691e316d', 'value' => array ( 0 => array ( 'value' => 'A0380120001014953', ), 1 => array ( 'value' => '
', ), ), 'href' => '30002000546', ), 6 => array ( 'tag' => 'a', 'id' => 'ID5b23a6942afca', 'value' => array ( 0 => array ( 'value' => 'A0380140002000451', ), ), 'href' => '30002000668', ), ), 'css' => array ( 0 => array ( 'prop' => 'vertical-align', 'options' => 'top', ), 1 => array ( 'prop' => 'width', 'value' => '25', 'type' => '%', ), ), 'cle_bloc' => '60002000268', ), 1 => array ( 'parent' => 'ID5b23a3a2a2fab', ), ), ), 6 => array ( 'file' => '/home/www/objets/class.vsite.php', 'line' => 11397, 'function' => 'aff_table_html', 'class' => 'vsite', 'type' => '->', 'args' => array ( 0 => '60002000268', ), ), 7 => array ( 'file' => '/home/www/objets/class.vsite.php', 'line' => 11406, 'function' => 'aff_elt', 'class' => 'vsite', 'type' => '->', 'args' => array ( 0 => array ( 'tag' => 'table', 'id' => 'ID5bc88bb96bbd4', 'value' => '60002000268', ), 1 => '60002000215', ), ), 8 => array ( 'file' => '/home/www/objets/class.vsite.php', 'line' => 3256, 'function' => 'aff_elt', 'class' => 'vsite', 'type' => '->', 'args' => array ( 0 => array ( 'tag' => 'footer', 'id' => 'ID5bc84ccfc629d', 'value' => array ( 'tag' => 'table', 'id' => 'ID5bc88bb96bbd4', 'value' => '60002000268', ), ), 1 => '60002000215', 2 => array ( 'first' => true, ), ), ), 9 => array ( 'file' => '/home/www/objets/class.vsite.php', 'line' => 4733, 'function' => 'set_bloc', 'class' => 'vsite', 'type' => '->', 'args' => array ( 0 => '60002000215', 1 => array ( 'first' => true, ), ), ), 10 => array ( 'file' => '/home/www/objets/class.vsite.php', 'line' => 3133, 'function' => 'multi_affiche', 'class' => 'vsite', 'type' => '->', 'args' => array ( 0 => '60002000215', 1 => array ( 'first' => true, ), ), ), 11 => array ( 'file' => '/home/www/objets/class.vsite.php', 'line' => 11799, 'function' => 'set_body', 'class' => 'vsite', 'type' => '->', 'args' => array ( ), ), 12 => array ( 'file' => '/home/www/sofapi.fr/index.php', 'line' => 5, 'function' => 'affiche_site', 'class' => 'vsite', 'type' => '->', 'args' => array ( 0 => 60002000211, ), ), ), 'previous' => NULL, 'test' => NULL, 'slibell' => NULL, ))