Groups Database error help please

Hello I just installed a fresh copy of elgg 1.7.1 and I wen to test and create a group and I am getting this message when you click on the group link

 

DatabaseException

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 'and e.site_guid = 1 and e.container_guid = 34 and ( (1 = 1) and e.enabled='ye' at line 1

QUERY: SELECT * from elgg_entities e join elgg_objects_entity o on e.guid=o.guid where e.type='object' and e.subtype= and e.site_guid = 1 and e.container_guid = 34 and ( (1 = 1) and e.enabled='yes') order by e.time_created desc limit 0, 1

 

any ideas on what this is and how I ca fix it

 

Thanks

Lexxie