Oracle Message PLS-00308 - this construct is not allowed as the origin of an assignment

ERRORthis construct is not allowed as the origin of an assignment
CAUSEThe construct or expression does not designate a value that can be assigned to a variable. For example, the datatype name NUMBER cannot appear on the right hand side of an assignment statement as in X : = NUMBER.
ACTIONCorrect the illegal assignment statement.