php error happened

Technical information
Error type256
Error description<b>Source:</b> Microsoft JET Database Engine<br/><b>Description:</b> Data type mismatch in criteria expression.
URLthelincolnregistry.com/registry/Count_list.php?f=%28SeriesName~equals~10%29
Error fileC:\HostingSpaces\tbird\thelincolnregistry.com\wwwroot\registry\connections\Connection.php
Error line668
SQL querySELECT [ModelYear], [SeriesName], [BodyStyle], COUNT(1) FROM [Lincolns] WHERE ( ( ( ( ( [SeriesName] = '10' OR [SeriesName] LIKE '%,10' OR [SeriesName] LIKE '10,%' OR [SeriesName] LIKE '%,10,%' ) ) ) ) ) GROUP BY [ModelYear],[SeriesName],[BodyStyle] ORDER BY [ModelYear],[SeriesName],[BodyStyle]

More info