Error while executing / parsing the ASP page

The script reported following error: Utilisation non autorisée de Null: 'replace' (error number 0x800A005E hex)

In file /site/produits.asp

on line 368, position 8 :

								tmp_categorie=chr(10)&chr(13)&tmp_categorie&"<option value='produits.asp?num_langue="&num_langue&"&num_page="&request("num_page")&"&num_categorie="&lg_cat_198.htm'>"&replace(lg_cat.fields("nom"),"Pas de catégorie","Autres ...")&"</option>"