CDbException

The table "merchant" for active record class "Merchant" cannot be found in the database. (/home/dansdepy/public_html/framework/db/ar/CActiveRecord.php:2264)

#0 /home/dansdepy/public_html/framework/db/ar/CActiveRecord.php(379): CActiveRecordMetaData->__construct(Object(Merchant))
#1 /home/dansdepy/public_html/protected/models/Merchant.php(18): CActiveRecord::model('Merchant')
#2 /home/dansdepy/public_html/protected/models/Merchant.php(173): Merchant::model()
#3 /home/dansdepy/public_html/protected/components/NotFoundHandler.php(126): Merchant::getBySlug('coupon-codes')
#4 /home/dansdepy/public_html/protected/components/NotFoundHandler.php(10): NotFoundHandler::checkRequestUri('/coupon-codes/a...')
#5 [internal function]: NotFoundHandler::handle(Object(CExceptionEvent))
#6 /home/dansdepy/public_html/framework/base/CComponent.php(557): call_user_func(Array, Object(CExceptionEvent))
#7 /home/dansdepy/public_html/framework/base/CApplication.php(837): CComponent->raiseEvent('onException', Object(CExceptionEvent))
#8 /home/dansdepy/public_html/framework/base/CApplication.php(708): CApplication->onException(Object(CExceptionEvent))
#9 [internal function]: CApplication->handleException(Object(CHttpException))
#10 {main}