Erreur BDD WE ART TOGETHER

mysql_requete :
mysql
Erreur MySQL : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1
Script: /produit.php
$_POST :
array (
  'a' => NULL,
  'q' => NULL,
  'id' => 0,
  'action' => NULL,
  'qSearch' => NULL,
  'retour' => NULL,
  'code' => NULL,
  'option_id' => 0,
  'projet_id' => 0,
  'info' => NULL,
  'pledge_id' => 0,
  'onglet' => NULL,
  'news_id' => 0,
  'pdf_id' => 0,
  'produit_id' => 0,
  'from' => NULL,
  'to' => NULL,
  'sort' => NULL,
  'uin' => NULL,
  'do' => NULL,
  'liste' => NULL,
  'topic_id' => 0,
  'board_id' => 0,
  'debug' => NULL,
  'show' => NULL,
  'use_default_background' => NULL,
  'node_id' => 0,
)
$_GET :
array (
  'id' => 295,
  'nop' => 0,
  'a' => NULL,
  'q' => NULL,
  'action' => NULL,
  'qSearch' => NULL,
  'retour' => NULL,
  'code' => NULL,
  'option_id' => 0,
  'projet_id' => 0,
  'info' => NULL,
  'pledge_id' => 0,
  'onglet' => NULL,
  'news_id' => 0,
  'pdf_id' => 0,
  'produit_id' => 0,
  'from' => NULL,
  'to' => NULL,
  'sort' => NULL,
  'uin' => NULL,
  'do' => NULL,
  'liste' => NULL,
  'topic_id' => 0,
  'board_id' => 0,
  'debug' => NULL,
  'show' => NULL,
  'use_default_background' => NULL,
  'node_id' => 0,
  'nbp' => 0,
)
$_SESSION :
array (
  'is_admin' => false,
  'is_root' => false,
  'is_client' => false,
  'client_id' => 0,
  'admin_id' => 0,
  'panier' => 
  array (
  ),
  'panier_total' => 0,
  'panier_nb_produit' => 0,
  'tmp_coupon_id' => 0,
  'admin_pub_arbo_id' => 0,
  'admin_session_start' => 1718474710,
  'cache_lifetime' => 1718474710,
  'FCK_dossier_de_travail' => '/contenu/',
  'langue_code' => 'FR',
)
$_SERVER :
array (
  'USER' => 'weartts',
  'SCRIPT_NAME' => '/produit.php',
  'REQUEST_URI' => '/produit.php?id=295',
  'QUERY_STRING' => 'id=295',
  'REQUEST_METHOD' => 'GET',
  'SERVER_PROTOCOL' => 'HTTP/1.1',
  'GATEWAY_INTERFACE' => 'CGI/1.1',
  'REMOTE_PORT' => '49290',
  'SCRIPT_FILENAME' => '/home/weartts/www/produit.php',
  'SERVER_ADMIN' => 'postmaster@www.we-art-together.fr',
  'REMOTE_ADDR' => '3.236.83.154',
  'SERVER_PORT' => '443',
  'SERVER_ADDR' => '10.30.42.16',
  'SERVER_NAME' => 'www.we-art-together.fr',
  'SERVER_SOFTWARE' => 'Apache',
  'SERVER_SIGNATURE' => '',
  'HTTP_REMOTE_IP' => '3.236.83.154',
  'HTTP_ACCEPT_ENCODING' => 'br,gzip',
  'HTTP_IF_MODIFIED_SINCE' => 'Sat, 03 Jun 2023 02:06:09 GMT',
  'HTTP_ACCEPT_LANGUAGE' => 'en-US,en;q=0.5',
  'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  'HTTP_USER_AGENT' => 'CCBot/2.0 (https://commoncrawl.org/faq/)',
  'HTTP_X_OVHREQUEST_ID' => '8710bcdb9b4571c82704947f9a33a574',
  'HTTP_X_FORWARDED_PROTO' => 'https',
  'HTTP_X_FORWARDED_FOR' => '3.236.83.154',
  'HTTP_X_PREDICTOR' => '1',
  'HTTP_HOST' => 'www.we-art-together.fr',
  'CFG_CLUSTER' => 'cluster030',
  'HTTPS' => 'on',
  'SCRIPT_URI' => 'https://www.we-art-together.fr:443/produit.php',
  'SCRIPT_URL' => '/produit.php',
  'GEOIP_LONGITUDE' => '-77.490303',
  'GEOIP_LATITUDE' => '39.046902',
  'GEOIP_AREA_CODE' => '703',
  'GEOIP_DMA_CODE' => '511',
  'GEOIP_CITY' => 'Ashburn',
  'GEOIP_REGION' => 'VA',
  'GEOIP_COUNTRY_NAME' => 'United States',
  'GEOIP_COUNTRY_CODE' => 'US',
  'UNIQUE_ID' => 'Zm3X1mksLAAfZ7P6p91hTwAAACY',
  'DOCUMENT_ROOT' => '/home/weartts/www',
  'ENVIRONMENT' => 'production',
  'APP_ENGINE_VERSION' => '7.4',
  'APP_ENGINE' => 'php',
  'FCGI_ROLE' => 'RESPONDER',
  'PHP_SELF' => '/produit.php',
  'REQUEST_TIME_FLOAT' => 1718474710.476697,
  'REQUEST_TIME' => 1718474710,
  'argv' => 
  array (
    0 => 'id=295',
  ),
  'argc' => 1,
)