title: Yii 2 Getting unknown property: common\models\User::newMessagesCount
body: <p>i'm trying to build forum in my website using Yii2 Podium. But after I installed it I can't access the </p>
  
  <blockquote>
    <p>podium/home</p>
  </blockquote>
  
  <p>and I got this message : </p>
  
  <pre><code>Unknown Property – yii\base\UnknownPropertyException
  Getting unknown property: common\models\User::newMessagesCount
  </code></pre>
  
  <p>and this is the Component file  </p>
  
  <blockquote>
    <p>in C:\xampp\htdocs\tugasakhir\vendor\yiisoft\yii2\base\Component.php</p>
  </blockquote>
  
  <pre><code>public function __get($name)
  {
      $getter = 'get' . $name;
      if (method_exists($this, $getter)) {
          // read property, e.g. getName()
          return $this-&gt;$getter();
      }
  
      // behavior property
      $this-&gt;ensureBehaviors();
      foreach ($this-&gt;_behaviors as $behavior) {
          if ($behavior-&gt;canGetProperty($name)) {
              return $behavior-&gt;$name;
          }
      }
  
      if (method_exists($this, 'set' . $name)) {
          throw new InvalidCallException('Getting write-only property: ' . get_class($this) . '::' . $name);
      }
  
      throw new UnknownPropertyException('Getting unknown property: ' . get_class($this) . '::' . $name);
  }
  </code></pre>
  
  <p>What would be the problem?</p>