No Default value for formal 'parent' in task/function create

In reply to yr:

Please use code tags. I have added them for you.

The create() function for components requires two arguments, name and parent. You are specifying only the name.