[#1036] Function was not defined