Sorry you turn off Prepared to make it use parameterized instead....
so change this line:
$this->Prepared = true;
to:
$this->Prepared = false;
If that doesn't work, post your phone number and I'll do some screen sharing to debug why it isn't working and find a solution.