Added a Yii::trace() call for debugging.