object 'string' must be of type function or array to be used this way
CauseAn identifier being referenced as a function or an array actually represents an object (a number or date, for example) that cannot be referenced in this way.
ActionCheck the spelling and declaration of the identifier. Also confirm that the declaration is placed correctly in the block structure.
The Google Search results shown above are obtained by searching for this error using a custom google search engine which is restricted to a specific list of oracle reference sites. If you know a good oracle reference/help site and think that site should be included in this search, you can contribute to this search engine here.