Explanation
The given variable of datatype PREPAREDSTATEMENT cannot be executed, because it has not been prepared before.
User Response
Execute a PREPARE statement for the given variable.