You should find that proc (template::head::add_style) on acs-templating/tcl/head-procs.tcl which is part of the OpenACS core and exists, at least, from OpenACS 5.4.3.
Give us an url where that error happens. Check your log to see where the problem is.