Q: Yii2 login connection Reset getting this Error : 

yii\db\Query and yii\db\QueryTrait define the same property ($where)
  in the composition of yii\db\Query. This might be incompatible, to
  improve maintainability consider using accessor methods in traits
  instead. Class was composed

Please help 

A: Try this..
in framework/db/Query.php
remove lines 69 to 74

* @var string|array query condition. This refers to the WHERE clause in a SQL statement.
* For example, age > 31 AND team = 1.
* @see where()
*/
public $where;
/**

