You are probably using an older version of the template files. The engine function "remove(me)" has been renamed to "ent_remove(me)" or "panel_remove(me)" etc. Check for the old function name "remove()" in all your wdls and change them to "ent_remove()" or any other suitable current function name.
Or, update your template files...
cheers
tindust