AdvLinksPosts and its behaviors do not have a method or closure named "getCacheDependency". on line 266 in /var/www/html/homemadetools/protected/vendor/yiisoft/yii/framework/base/CComponent.php
#0 /var/www/html/homemadetools/protected/vendor/yiisoft/yii/framework/db/ar/CActiveRecord.php(227): CComponent->__call('getCacheDepende...', Array)
#1 /var/www/html/homemadetools/protected/views/tools/addComment.php(5): CActiveRecord->__call('getCacheDepende...', Array)
#2 /var/www/html/homemadetools/protected/views/tools/addComment.php(5): AdvLinksPosts->getCacheDependency()
#3 /var/www/html/homemadetools/protected/vendor/yiisoft/yii/framework/web/CBaseController.php(126): require('/var/www/html/h...')
#4 /var/www/html/homemadetools/protected/vendor/yiisoft/yii/framework/web/CBaseController.php(95): CBaseController->renderInternal('/var/www/html/h...', Array, true)
#5 /var/www/html/homemadetools/protected/components/PLoggingController.php(18): CBaseController->renderFile('/var/www/html/h...', Array, true)
#6 /var/www/html/homemadetools/protected/vendor/yiisoft/yii/framework/web/CController.php(869): PLoggingController->renderFile('/var/www/html/h...', Array, true)
#7 /var/www/html/homemadetools/protected/vendor/yiisoft/yii/framework/web/CController.php(782): CController->renderPartial('addComment', Array, true)
#8 /var/www/html/homemadetools/protected/controllers/ToolsController.php(149): CController->render('addComment', Array)
#9 [internal function]: ToolsController->actionAddComment('10084')
#10 /var/www/html/homemadetools/protected/vendor/yiisoft/yii/framework/web/actions/CAction.php(108): ReflectionMethod->invokeArgs(Object(ToolsController), Array)
#11 /var/www/html/homemadetools/protected/vendor/yiisoft/yii/framework/web/actions/CInlineAction.php(47): CAction->runWithParamsInternal(Object(ToolsController), Object(ReflectionMethod), Array)
#12 /var/www/html/homemadetools/protected/vendor/yiisoft/yii/framework/web/CController.php(308): CInlineAction->runWithParams(Array)
#13 /var/www/html/homemadetools/protected/vendor/yiisoft/yii/framework/web/CController.php(286): CController->runAction(Object(CInlineAction))
#14 /var/www/html/homemadetools/protected/vendor/yiisoft/yii/framework/web/CController.php(265): CController->runActionWithFilters(Object(CInlineAction), Array)
#15 /var/www/html/homemadetools/protected/vendor/yiisoft/yii/framework/web/CWebApplication.php(282): CController->run('addComment')
#16 /var/www/html/homemadetools/protected/vendor/yiisoft/yii/framework/web/CWebApplication.php(141): CWebApplication->runController('tools/addCommen...')
#17 /var/www/html/homemadetools/protected/vendor/yiisoft/yii/framework/base/CApplication.php(180): CWebApplication->processRequest()
#18 /var/www/html/homemadetools/htdocs/index.php(21): CApplication->run()
#19 {main}