title: yii 2: gii index page loading issue
body: <p>I am using Yii 2.. In my main-local.php file:</p>
  
  <pre><code>'modules' =&gt; [
      'debug' =&gt; 'yii\debug\Module',
      'gii' =&gt; 'yii\gii\Module',
  ],
      'gii' =&gt; [
          'class' =&gt; 'yii\gii\Module',
          'allowedIPs' =&gt; ['127.0.0.1', '::1', '50.62.10.149', '50.63.59.230']
      ]
  </code></pre>
  
  <p>What could be the reason for error like:</p>
  
  <pre><code>Unknown Property – yii\base\UnknownPropertyException
  Setting unknown property: yii\web\Application::gii
  </code></pre>