In the future, please use tabs for indentation.

$this->crapTime is not being added to this query, it's missing the %s