Oracle Solution for Error ora-24318

Solution for Oracle Error ORA-24318

ORA-24318: call not allowed for scalar data types

What triggered the Error:

is call is valid only for object types.

What should we do to fix it:

rify that the data-type for this variable is an object type