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' => 1730247549,
  'cache_lifetime' => 1730247549,
  'FCK_dossier_de_travail' => '/contenu/',
  'langue_code' => 'FR',
  'token_for_newsletter' => 'duvrv7nknvnj6unb',
  'token_for_contact' => 'm8fqfcrv7dg8c8g',
)
$_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' => '18632',
  'SCRIPT_FILENAME' => '/home/weartts/www/produit.php',
  'SERVER_ADMIN' => 'postmaster@www.we-art-together.fr',
  'REMOTE_ADDR' => '3.138.102.181',
  '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.138.102.181',
  'HTTP_REFERER' => 'https://we-art-together.fr/produit.php?id=295',
  'HTTP_ACCEPT_ENCODING' => 'gzip, br, zstd, deflate',
  'HTTP_USER_AGENT' => 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)',
  'HTTP_ACCEPT' => '*/*',
  'HTTP_X_OVHREQUEST_ID' => '16a68e970866db30b079035789369892',
  'HTTP_X_FORWARDED_PROTO' => 'https',
  'HTTP_X_FORWARDED_FOR' => '3.138.102.181',
  'HTTP_X_PREDICTOR' => '1',
  'HTTP_COOKIE' => 'PHPSESSID=1c280d05d352461f4cc13b4845d5affc',
  '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' => '-83.006104',
  'GEOIP_LATITUDE' => '39.962502',
  'GEOIP_AREA_CODE' => '614',
  'GEOIP_DMA_CODE' => '535',
  'GEOIP_CITY' => 'Columbus',
  'GEOIP_REGION' => 'OH',
  'GEOIP_COUNTRY_NAME' => 'United States',
  'GEOIP_COUNTRY_CODE' => 'US',
  'UNIQUE_ID' => 'ZyF7iYpy6Zc4IzFwcUjzbQAAA2s',
  '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' => 1730247561.960766,
  'REQUEST_TIME' => 1730247561,
  'argv' => 
  array (
    0 => 'id=295',
  ),
  'argc' => 1,
)