Fixed: Category Flat and Product Flat issue

Issue:
Fatal error: Call to undefined method Mage_Catalog_Model_Resource_Category_Flat_Collection::groupByAttribute() in app/code/local/Sm/BasicProducts/Block/List.php

(The same: sm tablisting, sm slider, sm slideshow)

Solution:

Open app/code/local/Sm/BasicProducts/Block/List.php file, find this fundtion:

and change to:

Thanks!