2018-08-29 09:41:38 1580次浏览 0条回答 0 悬赏 10 金钱
<pre>Exception &#039;yii\base\InvalidArgumentException&#039; with message &#039;Operator &#039;NOT&#039; requires exactly one operand.&#039; 

in D:\WWW\crm\vendor\yiisoft\yii2\db\conditions\NotCondition.php:51

Stack trace:
#0 D:\WWW\crm\vendor\yiisoft\yii2\db\QueryBuilder.php(1553): yii\db\conditions\NotCondition::fromArrayDefinition(&#039;NOT&#039;, Array)
#1 D:\WWW\crm\vendor\yiisoft\yii2\db\QueryBuilder.php(1523): yii\db\QueryBuilder-&gt;createConditionFromArray(Array)
#2 D:\WWW\crm\vendor\yiisoft\yii2\db\conditions\ConjunctionConditionBuilder.php(60): yii\db\QueryBuilder-&gt;buildCondition(Array, Array)
#3 D:\WWW\crm\vendor\yiisoft\yii2\db\conditions\ConjunctionConditionBuilder.php(35): yii\db\conditions\ConjunctionConditionBuilder-&gt;buildExpressionsFrom(Array, Array)
#4 D:\WWW\crm\vendor\yiisoft\yii2\db\QueryBuilder.php(283): yii\db\conditions\ConjunctionConditionBuilder-&gt;build(Object(yii\db\conditions\AndCondition), Array)
#5 D:\WWW\crm\vendor\yiisoft\yii2\db\QueryBuilder.php(1527): yii\db\QueryBuilder-&gt;buildExpression(Object(yii\db\conditions\AndCondition), Array)
#6 D:\WWW\crm\vendor\yiisoft\yii2\db\QueryBuilder.php(1336): yii\db\QueryBuilder-&gt;buildCondition(Object(yii\db\conditions\AndCondition), Array)
#7 D:\WWW\crm\vendor\yiisoft\yii2\db\QueryBuilder.php(235): yii\db\QueryBuilder-&gt;buildWhere(Array, Array)
#8 D:\WWW\crm\vendor\yiisoft\yii2\db\ActiveQuery.php(316): yii\db\QueryBuilder-&gt;build(Object(yii\db\Query))
#9 D:\WWW\crm\vendor\yiisoft\yii2\db\Query.php(237): yii\db\ActiveQuery-&gt;createCommand(Object(yii\db\Connection))
#10 D:\WWW\crm\vendor\yiisoft\yii2\db\ActiveQuery.php(133): yii\db\Query-&gt;all(NULL)
#11 D:\WWW\crm\controllers\CyController.php(202): yii\db\ActiveQuery-&gt;all()
#12 [internal function]: app\controllers\CyController-&gt;actionYarns()
#13 D:\WWW\crm\vendor\yiisoft\yii2\base\InlineAction.php(57): call_user_func_array(Array, Array)
#14 D:\WWW\crm\vendor\yiisoft\yii2\base\Controller.php(157): yii\base\InlineAction-&gt;runWithParams(Array)
#15 D:\WWW\crm\vendor\yiisoft\yii2\base\Module.php(528): yii\base\Controller-&gt;runAction(&#039;yarns&#039;, Array)
#16 D:\WWW\crm\vendor\yiisoft\yii2\web\Application.php(103): yii\base\Module-&gt;runAction(&#039;cy/yarns&#039;, Array)
#17 D:\WWW\crm\vendor\yiisoft\yii2\base\Application.php(386): yii\web\Application-&gt;handleRequest(Object(yii\web\Request))
#18 D:\WWW\crm\web\index.php(11): yii\base\Application-&gt;run()
#19 {main}</pre>

这个错误是什么?

    没有找到数据。
您需要登录后才可以回答。登录 | 立即注册
任意球master
职场新人

任意球master

注册时间:2018-07-12
最后登录:2018-10-22
在线时长:9小时28分
  • 粉丝0
  • 金钱0
  • 威望0
  • 积分90

热门问题