CErrorEvent not found

I just set up a new machine and I’m trying to get a previously functional site working locally for development. The code is running on my website without issue, but I’m getting this strange error on my local version.

Fatal error: Class 'CErrorEvent' not found in /webpath/protected/models/Class.php on line 182 

The class extends CActiveRecord and has no mention of CErrorEvent anywhere (line 182 is the last line in the file). Any ideas where I could have gone wrong?

Apparently my local troubles have something to do with the inclusion of STRICT in my php directives. Beyond that, I needed to add some includes to my config file.

Yii::import('system.base.CErrorEvent', true);

Yii::import('system.web.helpers.CHtml', true);