File: /var/www/src/modules/store/controllers/DefaultController.php / Line: 789
yii\db\Exception#1
(
[errorInfo] => [
0 => '42000'
1 => 1064
2 => 'You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near \'AND main_product_id = 48 AND store_section_id = 655 AND group_id = 1 ORDER BY `i\' at line 1'
]
[*:message] => 'SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near \'AND main_product_id = 48 AND store_section_id = 655 AND group_id = 1 ORDER BY `i\' at line 1
The SQL being executed was: SELECT * FROM `store_products` WHERE store_id = AND main_product_id = 48 AND store_section_id = 655 AND group_id = 1 ORDER BY `id`'
[Exception:string] => ''
[*:code] => '42000'
[*:file] => '/var/www/vendor/yiisoft/yii2/db/Schema.php'
[*:line] => 678
[Exception:trace] => [
0 => [
'file' => '/var/www/vendor/yiisoft/yii2/db/Command.php'
'line' => 1304
'function' => 'convertException'
'class' => 'yii\\db\\Schema'
'type' => '->'
]
1 => [
'file' => '/var/www/vendor/yiisoft/yii2/db/Command.php'
'line' => 1165
'function' => 'internalExecute'
'class' => 'yii\\db\\Command'
'type' => '->'
]
2 => [
'file' => '/var/www/vendor/yiisoft/yii2/db/Command.php'
'line' => 421
'function' => 'queryInternal'
'class' => 'yii\\db\\Command'
'type' => '->'
]
3 => [
'file' => '/var/www/vendor/yiisoft/yii2/db/Query.php'
'line' => 285
'function' => 'queryOne'
'class' => 'yii\\db\\Command'
'type' => '->'
]
4 => [
'file' => '/var/www/vendor/yiisoft/yii2/db/ActiveQuery.php'
'line' => 304
'function' => 'one'
'class' => 'yii\\db\\Query'
'type' => '->'
]
5 => [
'file' => '/var/www/src/modules/store/controllers/DefaultController.php'
'line' => 750
'function' => 'one'
'class' => 'yii\\db\\ActiveQuery'
'type' => '->'
]
6 => [
'function' => 'actionDetail'
'class' => 'app\\modules\\store\\controllers\\DefaultController'
'type' => '->'
]
7 => [
'file' => '/var/www/vendor/yiisoft/yii2/base/InlineAction.php'
'line' => 57
'function' => 'call_user_func_array'
]
8 => [
'file' => '/var/www/vendor/yiisoft/yii2/base/Controller.php'
'line' => 180
'function' => 'runWithParams'
'class' => 'yii\\base\\InlineAction'
'type' => '->'
]
9 => [
'file' => '/var/www/vendor/yiisoft/yii2/base/Module.php'
'line' => 528
'function' => 'runAction'
'class' => 'yii\\base\\Controller'
'type' => '->'
]
10 => [
'file' => '/var/www/vendor/yiisoft/yii2/web/Application.php'
'line' => 104
'function' => 'runAction'
'class' => 'yii\\base\\Module'
'type' => '->'
]
11 => [
'file' => '/var/www/vendor/yiisoft/yii2/base/Application.php'
'line' => 392
'function' => 'handleRequest'
'class' => 'yii\\web\\Application'
'type' => '->'
]
12 => [
'file' => '/var/www/html/index.php'
'line' => 42
'function' => 'run'
'class' => 'yii\\base\\Application'
'type' => '->'
]
]
[Exception:previous] => PDOException#2
(
[*:message] => 'SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near \'AND main_product_id = 48 AND store_section_id = 655 AND group_id = 1 ORDER BY `i\' at line 1'
[Exception:string] => ''
[*:code] => '42000'
[*:file] => '/var/www/vendor/yiisoft/yii2/db/Command.php'
[*:line] => 1299
[Exception:trace] => [
0 => [
'file' => '/var/www/vendor/yiisoft/yii2/db/Command.php'
'line' => 1299
'function' => 'execute'
'class' => 'PDOStatement'
'type' => '->'
]
1 => [
'file' => '/var/www/vendor/yiisoft/yii2/db/Command.php'
'line' => 1165
'function' => 'internalExecute'
'class' => 'yii\\db\\Command'
'type' => '->'
]
2 => [
'file' => '/var/www/vendor/yiisoft/yii2/db/Command.php'
'line' => 421
'function' => 'queryInternal'
'class' => 'yii\\db\\Command'
'type' => '->'
]
3 => [
'file' => '/var/www/vendor/yiisoft/yii2/db/Query.php'
'line' => 285
'function' => 'queryOne'
'class' => 'yii\\db\\Command'
'type' => '->'
]
4 => [
'file' => '/var/www/vendor/yiisoft/yii2/db/ActiveQuery.php'
'line' => 304
'function' => 'one'
'class' => 'yii\\db\\Query'
'type' => '->'
]
5 => [
'file' => '/var/www/src/modules/store/controllers/DefaultController.php'
'line' => 750
'function' => 'one'
'class' => 'yii\\db\\ActiveQuery'
'type' => '->'
]
6 => [
'function' => 'actionDetail'
'class' => 'app\\modules\\store\\controllers\\DefaultController'
'type' => '->'
]
7 => [
'file' => '/var/www/vendor/yiisoft/yii2/base/InlineAction.php'
'line' => 57
'function' => 'call_user_func_array'
]
8 => [
'file' => '/var/www/vendor/yiisoft/yii2/base/Controller.php'
'line' => 180
'function' => 'runWithParams'
'class' => 'yii\\base\\InlineAction'
'type' => '->'
]
9 => [
'file' => '/var/www/vendor/yiisoft/yii2/base/Module.php'
'line' => 528
'function' => 'runAction'
'class' => 'yii\\base\\Controller'
'type' => '->'
]
10 => [
'file' => '/var/www/vendor/yiisoft/yii2/web/Application.php'
'line' => 104
'function' => 'runAction'
'class' => 'yii\\base\\Module'
'type' => '->'
]
11 => [
'file' => '/var/www/vendor/yiisoft/yii2/base/Application.php'
'line' => 392
'function' => 'handleRequest'
'class' => 'yii\\web\\Application'
'type' => '->'
]
12 => [
'file' => '/var/www/html/index.php'
'line' => 42
'function' => 'run'
'class' => 'yii\\base\\Application'
'type' => '->'
]
]
[Exception:previous] => null
[errorInfo] => [
0 => '42000'
1 => 1064
2 => 'You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near \'AND main_product_id = 48 AND store_section_id = 655 AND group_id = 1 ORDER BY `i\' at line 1'
]
)
)