Message: SQLSTATE[HY093]: Invalid parameter number: number of bound variables does not match number of tokensArray
(
[0] => Array
(
[file] => /var/www/onetouch/sites/eng.rudn.ru/public_html/models/TreeModel.php
[line] => 121
[function] => getAllWithPrepere
[class] => DB
[type] => ::
[args] => Array
(
[0] => SELECT * FROM one_tree WHERE one_tree.site=1 AND id IN (6117,6118,6119,6120,6121,6122,6123,6124,6125)
[1] => Array
(
[0] => Array
(
[0] => 6117
[1] => 6118
[2] => 6119
[3] => 6120
[4] => 6121
[5] => 6122
[6] => 6123
[7] => 6124
[8] => 6125
)
)
)
)
[1] => Array
(
[file] => /var/www/onetouch/sites/eng.rudn.ru/public_html/controllers/Science/ResearchController.php
[line] => 245
[function] => getTreeByIds
[class] => Tree
[type] => ::
[args] => Array
(
[0] => Array
(
[0] => 6117
[1] => 6118
[2] => 6119
[3] => 6120
[4] => 6121
[5] => 6122
[6] => 6123
[7] => 6124
[8] => 6125
)
)
)
[2] => Array
(
[file] => /var/www/onetouch/sites/eng.rudn.ru/public_html/controllers/Science/ResearchController.php
[line] => 45
[function] => projectParticipants
[class] => ResearchController
[object] => ResearchController Object
(
[rules:protected] => Array
(
[action] => Array
(
[type] => string
)
[q] => Array
(
[type] => string
)
[closed] => Array
(
[type] => string
)
[department] => Array
(
[type] => int
[options] => Array
(
[default] => 0
)
)
[sphere] => Array
(
[type] => int
[options] => Array
(
[default] => 0
)
)
[student] => Array
(
[type] => int
)
[area] => Array
(
[type] => int
)
[subarea] => Array
(
[type] => int
)
[rad] => Array
(
[type] => int
)
[p] => Array
(
[type] => int
)
)
[limitSimilarResearch:ResearchController:private] => 3
)
[type] => ->
[args] => Array
(
[0] => 6131
)
)
[3] => Array
(
[file] => /var/www/onetouch/sites/eng.rudn.ru/public_html/onessarudnru/index.php
[line] => 230
[function] => __construct
[class] => ResearchController
[object] => ResearchController Object
(
[rules:protected] => Array
(
[action] => Array
(
[type] => string
)
[q] => Array
(
[type] => string
)
[closed] => Array
(
[type] => string
)
[department] => Array
(
[type] => int
[options] => Array
(
[default] => 0
)
)
[sphere] => Array
(
[type] => int
[options] => Array
(
[default] => 0
)
)
[student] => Array
(
[type] => int
)
[area] => Array
(
[type] => int
)
[subarea] => Array
(
[type] => int
)
[rad] => Array
(
[type] => int
)
[p] => Array
(
[type] => int
)
)
[limitSimilarResearch:ResearchController:private] => 3
)
[type] => ->
[args] => Array
(
)
)
[4] => Array
(
[file] => /var/www/onetouch/sites/eng.rudn.ru/public_html/index.php
[line] => 4
[args] => Array
(
[0] => /var/www/onetouch/sites/eng.rudn.ru/public_html/onessarudnru/index.php
)
[function] => require_once
)
)
In project
TypeError Object
(
[message:protected] => count(): Argument #1 ($value) must be of type Countable|array, null given
[string:Error:private] =>
[code:protected] => 0
[file:protected] => /var/www/onetouch/sites/eng.rudn.ru/public_html/views/science/research/participants.php
[line:protected] => 14
[trace:Error:private] => Array
(
[0] => Array
(
[file] => /var/www/onetouch/sites/eng.rudn.ru/public_html/onessarudnru/class/View.php
[line] => 56
[function] => include
)
[1] => Array
(
[file] => /var/www/onetouch/sites/eng.rudn.ru/public_html/onessarudnru/class/View.php
[line] => 36
[function] => getRender
[class] => View
[type] => ::
)
[2] => Array
(
[file] => /var/www/onetouch/sites/eng.rudn.ru/public_html/controllers/Science/ResearchController.php
[line] => 248
[function] => render
[class] => View
[type] => ::
)
[3] => Array
(
[file] => /var/www/onetouch/sites/eng.rudn.ru/public_html/controllers/Science/ResearchController.php
[line] => 45
[function] => projectParticipants
[class] => ResearchController
[type] => ->
)
[4] => Array
(
[file] => /var/www/onetouch/sites/eng.rudn.ru/public_html/onessarudnru/index.php
[line] => 230
[function] => __construct
[class] => ResearchController
[type] => ->
)
[5] => Array
(
[file] => /var/www/onetouch/sites/eng.rudn.ru/public_html/index.php
[line] => 4
[args] => Array
(
[0] => /var/www/onetouch/sites/eng.rudn.ru/public_html/onessarudnru/index.php
)
[function] => require_once
)
)
[previous:Error:private] =>
)