Answer the question
In order to leave comments, you need to log in
How to fix "Setting unknown property: yii\web\AssetManager::linksAssets" error?
Advanced template, version 2.0.6 stable. The error appears only in \backend, AppAsset did not change for it. The \vendor folder has not changed. Reverting to previous project commits doesn't help.
Error title:
Unknown Property – yii\base\UnknownPropertyException
Setting unknown property: yii\web\AssetManager::linksAssets
in F:\OpenServer\domains\eyii2.ru\backend\views\layouts\main.php at line 14 – yii\web\AssetBundle::register(yii\web\View)
use yii\bootstrap\NavBar;
use yii\widgets\Breadcrumbs;
use yii\widgets\Menu;
use common\widgets\Alert;
use backend\models\BackendMenu;
AppAsset::register($this); //Ошибка здесь.
in F:\OpenServer\domains\eyii2.ru\backend\controllers\SiteController.php at line 62 – yii\base\Controller::render('index')
public function actionIndex() {
return $this->render('index'); //Еще одна ошибочка
}
in F:\OpenServer\domains\eyii2.ru\backend\web\index.php at line 18 – yii\base\Application::run()
$application = new yii\web\Application($config);
$application->run(); // И здесь ошибка
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question