requires exactly one operand [ 2.0 版本 ]
<pre>Exception 'yii\base\InvalidArgumentException' with message 'Operator 'NOT' requires exactly one operand.'
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('NOT', Array)
#1 D:\WWW\crm\vendor\yiisoft\yii2\db\QueryBuilder.php(1523): yii\db\QueryBuilder->createConditionFromArray(Array)
#2 D:\WWW\crm\vendor\yiisoft\yii2\db\conditions\ConjunctionConditionBuilder.php(60): yii\db\QueryBuilder->buildCondition(Array, Array)
#3 D:\WWW\crm\vendor\yiisoft\yii2\db\conditions\ConjunctionConditionBuilder.php(35): yii\db\conditions\ConjunctionConditionBuilder->buildExpressionsFrom(Array, Array)
#4 D:\WWW\crm\vendor\yiisoft\yii2\db\QueryBuilder.php(283): yii\db\conditions\ConjunctionConditionBuilder->build(Object(yii\db\conditions\AndCondition), Array)
#5 D:\WWW\crm\vendor\yiisoft\yii2\db\QueryBuilder.php(1527): yii\db\QueryBuilder->buildExpression(Object(yii\db\conditions\AndCondition), Array)
#6 D:\WWW\crm\vendor\yiisoft\yii2\db\QueryBuilder.php(1336): yii\db\QueryBuilder->buildCondition(Object(yii\db\conditions\AndCondition), Array)
#7 D:\WWW\crm\vendor\yiisoft\yii2\db\QueryBuilder.php(235): yii\db\QueryBuilder->buildWhere(Array, Array)
#8 D:\WWW\crm\vendor\yiisoft\yii2\db\ActiveQuery.php(316): yii\db\QueryBuilder->build(Object(yii\db\Query))
#9 D:\WWW\crm\vendor\yiisoft\yii2\db\Query.php(237): yii\db\ActiveQuery->createCommand(Object(yii\db\Connection))
#10 D:\WWW\crm\vendor\yiisoft\yii2\db\ActiveQuery.php(133): yii\db\Query->all(NULL)
#11 D:\WWW\crm\controllers\CyController.php(202): yii\db\ActiveQuery->all()
#12 [internal function]: app\controllers\CyController->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->runWithParams(Array)
#15 D:\WWW\crm\vendor\yiisoft\yii2\base\Module.php(528): yii\base\Controller->runAction('yarns', Array)
#16 D:\WWW\crm\vendor\yiisoft\yii2\web\Application.php(103): yii\base\Module->runAction('cy/yarns', Array)
#17 D:\WWW\crm\vendor\yiisoft\yii2\base\Application.php(386): yii\web\Application->handleRequest(Object(yii\web\Request))
#18 D:\WWW\crm\web\index.php(11): yii\base\Application->run()
#19 {main}</pre>
这个错误是什么?
共 0 个回答
没有找到数据。
任意球master
注册时间:2018-07-12
最后登录:2018-10-22
在线时长:9小时28分
最后登录:2018-10-22
在线时长:9小时28分
- 粉丝0
- 金钱0
- 威望0
- 积分90