"Cannot read property 'length' of undefined"
entry point(\“functionName\“) is not a function
A. This is likely due to the function name in your script not being specified at the top in the Function field of the script or filter editor. If it’s a hook, this could also be that the Function field (when you click the hook icon) either doesn’t have a value or the value doesn’t match that of the function name in the script.