This question is an exact duplicate of:
I have a Magento v 126.96.36.199 CE Community Edition site. I am using a custom theme I purchased off a template site. Apparently the theme does not support configurable item swatches. So I followed the tutorial here
Now when I go to the product I where I would expect to see the swatches I see the below error Fatal error: Call to a member function getSortedChildren() on a non-object in app/design/frontend/default/ma_sahara_digital3/template/catalog/product/view/type/options/configurable.phtml on line 32
The line this refers to is
$_renderers = $this->getChild('attr_renderers')->getSortedChildren();
I saw some other posts on here about the same issue but none of them have a working resolution?? I am hoping someone might know a fix for this.