Warning: Undefined variable $model in /home/zavdoz/public_html/admin/modules/seo2/models/Seo2Rules.php(219) : eval()'d code on line 1

Warning: Attempt to read property "title" on null in /home/zavdoz/public_html/admin/modules/seo2/models/Seo2Rules.php(219) : eval()'d code on line 1

Warning: Undefined variable $model in /home/zavdoz/public_html/admin/modules/seo2/models/Seo2Rules.php(219) : eval()'d code on line 1

Warning: Attempt to read property "title" on null in /home/zavdoz/public_html/admin/modules/seo2/models/Seo2Rules.php(219) : eval()'d code on line 1

Warning: Undefined variable $model in /home/zavdoz/public_html/admin/modules/seo2/models/Seo2Rules.php(219) : eval()'d code on line 3

Warning: Attempt to read property "text" on null in /home/zavdoz/public_html/admin/modules/seo2/models/Seo2Rules.php(219) : eval()'d code on line 3
An Error occurred while handling another error:
yii\web\HeadersAlreadySentException: Headers already sent in /home/zavdoz/public_html/admin/modules/seo2/models/Seo2Rules.php(219) : eval()'d code on line 1. in /home/zavdoz/public_html/vendor/yiisoft/yii2/web/Response.php:369
Stack trace:
#0 /home/zavdoz/public_html/vendor/yiisoft/yii2/web/Response.php(342): yii\web\Response->sendHeaders()
#1 /home/zavdoz/public_html/vendor/yiisoft/yii2/web/ErrorHandler.php(136): yii\web\Response->send()
#2 /home/zavdoz/public_html/vendor/yiisoft/yii2/base/ErrorHandler.php(152): yii\web\ErrorHandler->renderException()
#3 [internal function]: yii\base\ErrorHandler->handleException()
#4 {main}
Previous exception:
Error: Class "admin\modules\news\controllers\api\Yii" not found in /home/zavdoz/public_html/admin/modules/news/controllers/api/NewsController.php:16
Stack trace:
#0 [internal function]: admin\modules\news\controllers\api\NewsController->actionIndex()
#1 /home/zavdoz/public_html/vendor/yiisoft/yii2/base/InlineAction.php(57): call_user_func_array()
#2 /home/zavdoz/public_html/vendor/yiisoft/yii2/base/Controller.php(178): yii\base\InlineAction->runWithParams()
#3 /home/zavdoz/public_html/vendor/yiisoft/yii2/base/Module.php(552): yii\base\Controller->runAction()
#4 /home/zavdoz/public_html/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#5 /home/zavdoz/public_html/vendor/yiisoft/yii2/base/Application.php(384): yii\web\Application->handleRequest()
#6 /home/zavdoz/public_html/public_html/index.php(152): yii\base\Application->run()
#7 {main}