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