This error indicates that a value, which is not a function, is being applied as if it were a function. Ensure you are writing the correct name of the function you intend to use.
For example, the code below has two variables:
g is being applied as if it were a function, although we really intended
f. This can be fixed by ensuring we call a function: