Добрый день, уважаемые! Помогите пожалуйста разобраться.
Пробую реализовать выборку Tickets по тегам с помощью Tagger включая изображения ms2Gallery таким кодом:
[[!pdoPage?
	&element=`getTickets`
	&tpl=`tpl.begin.blog` 
	&includeContent=`1`
	&ajaxMode=`default`
	&class=`TaggerTagResource`
	&limit=`6`
	&hideContainers=`1`
	&loadModels=`ms2gallery,tagger` 
	&tplPageWrapper=`@INLINE <nav class="pagination-wrapper"><ul class="pagination">[[+prev]][[+pages]][[+next]]</ul></nav>`
	&leftJoin=`{
	"600x400": {"class":"msResourceFile","alias":"600x400", "on": "600x400.resource_id = Ticket.id AND 600x400.path LIKE '%/600x400/' AND 600x400.rank=0"},
	"NameTag": {"class": "TaggerTag","on": "TaggerTagResource.tag = NameTag.id"},
  "Posts": {"class": "modResource","on": "TaggerTagResource.resource = Posts.id"}
	}`
	&select=`{
  "Ticket":"*",
	"600x400":"600x400.url as 600x400",
	"TaggerTagResource": "*",
  "NameTag": "NameTag.tag, NameTag.alias",
  "Posts": "Posts.id, Posts.pagetitle, Posts.description"
	}`
	&where=`{
    "NameTag.alias": "[[!#GET.tag]]"
	}`
	&sortby=`TaggerTagResource.resource`
	&sortdir=`ASC`
	&showLog=`1`
	]]

Вывода нет в логе пишет это:
0.0000272: Loaded model "ms2gallery" from "//home/.../.../.../.../core/components/ms2gallery/model/"
0.0000100: Loaded model "tagger" from "//home/.../.../.../.../core/components/tagger/model/"
0.0000470: Query parameters are prepared.
0.0000389: xPDO query object created
0.0001850: leftJoined TicketsSection as Section
0.0001440: leftJoined modUser as User
0.0001521: leftJoined modUserProfile as Profile
0.0001459: leftJoined msResourceFile as 600x400
0.0006609: leftJoined TaggerTag as NameTag
0.0001559: leftJoined modResource as Posts
0.0000029: Grouped by Ticket.id
0.0001180: Added selection of TicketsSection: SQL_CALC_FOUND_ROWS `id` AS `section.id`, `type` AS `section.type`, `contentType` AS `section.contentType`, `pagetitle` AS `section.pagetitle`, `longtitle` AS `section.longtitle`, `description` AS `section.description`, `alias` AS `section.alias`, `link_attributes` AS `section.link_attributes`, `published` AS `section.published`, `pub_date` AS `section.pub_date`, `unpub_date` AS `section.unpub_date`, `parent` AS `section.parent`, `isfolder` AS `section.isfolder`, `introtext` AS `section.introtext`, `richtext` AS `section.richtext`, `template` AS `section.template`, `menuindex` AS `section.menuindex`, `searchable` AS `section.searchable`, `cacheable` AS `section.cacheable`, `createdby` AS `section.createdby`, `createdon` AS `section.createdon`, `editedby` AS `section.editedby`, `editedon` AS `section.editedon`, `deleted` AS `section.deleted`, `deletedon` AS `section.deletedon`, `deletedby` AS `section.deletedby`, `publishedon` AS `section.publishedon`, `publishedby` AS `section.publishedby`, `menutitle` AS `section.menutitle`, `donthit` AS `section.donthit`, `privateweb` AS `section.privateweb`, `privatemgr` AS `section.privatemgr`, `content_dispo` AS `section.content_dispo`, `hidemenu` AS `section.hidemenu`, `class_key` AS `section.class_key`, `context_key` AS `section.context_key`, `content_type` AS `section.content_type`, `uri` AS `section.uri`, `uri_override` AS `section.uri_override`, `hide_children_in_tree` AS `section.hide_children_in_tree`, `show_in_tree` AS `section.show_in_tree`, `properties` AS `section.properties`
0.0000241: Added selection of modUser: `username`
0.0000441: Added selection of modUserProfile: `internalKey`, `fullname`, `email`, `phone`, `mobilephone`, `blocked`, `blockeduntil`, `blockedafter`, `logincount`, `lastlogin`, `thislogin`, `failedlogincount`, `sessionid`, `dob`, `gender`, `address`, `country`, `city`, `state`, `zip`, `fax`, `photo`, `comment`, `website`, `extended`
0.0002198: Added selection of Ticket: `id`, `type`, `contentType`, `pagetitle`, `longtitle`, `description`, `alias`, `link_attributes`, `published`, `pub_date`, `unpub_date`, `parent`, `isfolder`, `introtext`, `content`, `richtext`, `template`, `menuindex`, `searchable`, `cacheable`, `createdby`, `createdon`, `editedby`, `editedon`, `deleted`, `deletedon`, `deletedby`, `publishedon`, `publishedby`, `menutitle`, `donthit`, `privateweb`, `privatemgr`, `content_dispo`, `hidemenu`, `class_key`, `context_key`, `content_type`, `uri`, `uri_override`, `hide_children_in_tree`, `show_in_tree`, `properties`
0.0000329: Added selection of msResourceFile: 600x400.url as 600x400
0.0000861: Added selection of TaggerTagResource: `tag`, `resource`
0.0000329: Added selection of TaggerTag: NameTag.tag, NameTag.alias
0.0000310: Added selection of modResource: Posts.id, Posts.pagetitle, Posts.description
0.0002131: Added where condition: class_key=Ticket, NameTag.alias=esn
0.0000620: Sorted by TaggerTagResource.resource, ASC
0.0000050: Limited to 6, offset 0
0.0006342: SQL prepared "SELECT SQL_CALC_FOUND_ROWS `Section`.`id` AS `section.id`, `Section`.`type` AS `section.type`, `Section`.`contentType` AS `section.contentType`, `Section`.`pagetitle` AS `section.pagetitle`, `Section`.`longtitle` AS `section.longtitle`, `Section`.`description` AS `section.description`, `Section`.`alias` AS `section.alias`, `Section`.`link_attributes` AS `section.link_attributes`, `Section`.`published` AS `section.published`, `Section`.`pub_date` AS `section.pub_date`, `Section`.`unpub_date` AS `section.unpub_date`, `Section`.`parent` AS `section.parent`, `Section`.`isfolder` AS `section.isfolder`, `Section`.`introtext` AS `section.introtext`, `Section`.`richtext` AS `section.richtext`, `Section`.`template` AS `section.template`, `Section`.`menuindex` AS `section.menuindex`, `Section`.`searchable` AS `section.searchable`, `Section`.`cacheable` AS `section.cacheable`, `Section`.`createdby` AS `section.createdby`, `Section`.`createdon` AS `section.createdon`, `Section`.`editedby` AS `section.editedby`, `Section`.`editedon` AS `section.editedon`, `Section`.`deleted` AS `section.deleted`, `Section`.`deletedon` AS `section.deletedon`, `Section`.`deletedby` AS `section.deletedby`, `Section`.`publishedon` AS `section.publishedon`, `Section`.`publishedby` AS `section.publishedby`, `Section`.`menutitle` AS `section.menutitle`, `Section`.`donthit` AS `section.donthit`, `Section`.`privateweb` AS `section.privateweb`, `Section`.`privatemgr` AS `section.privatemgr`, `Section`.`content_dispo` AS `section.content_dispo`, `Section`.`hidemenu` AS `section.hidemenu`, `Section`.`class_key` AS `section.class_key`, `Section`.`context_key` AS `section.context_key`, `Section`.`content_type` AS `section.content_type`, `Section`.`uri` AS `section.uri`, `Section`.`uri_override` AS `section.uri_override`, `Section`.`hide_children_in_tree` AS `section.hide_children_in_tree`, `Section`.`show_in_tree` AS `section.show_in_tree`, `Section`.`properties` AS `section.properties`, `User`.`username`, `Profile`.`internalKey`, `Profile`.`fullname`, `Profile`.`email`, `Profile`.`phone`, `Profile`.`mobilephone`, `Profile`.`blocked`, `Profile`.`blockeduntil`, `Profile`.`blockedafter`, `Profile`.`logincount`, `Profile`.`lastlogin`, `Profile`.`thislogin`, `Profile`.`failedlogincount`, `Profile`.`sessionid`, `Profile`.`dob`, `Profile`.`gender`, `Profile`.`address`, `Profile`.`country`, `Profile`.`city`, `Profile`.`state`, `Profile`.`zip`, `Profile`.`fax`, `Profile`.`photo`, `Profile`.`comment`, `Profile`.`website`, `Profile`.`extended`, `Ticket`.`id`, `Ticket`.`type`, `Ticket`.`contentType`, `Ticket`.`pagetitle`, `Ticket`.`longtitle`, `Ticket`.`description`, `Ticket`.`alias`, `Ticket`.`link_attributes`, `Ticket`.`published`, `Ticket`.`pub_date`, `Ticket`.`unpub_date`, `Ticket`.`parent`, `Ticket`.`isfolder`, `Ticket`.`introtext`, `Ticket`.`content`, `Ticket`.`richtext`, `Ticket`.`template`, `Ticket`.`menuindex`, `Ticket`.`searchable`, `Ticket`.`cacheable`, `Ticket`.`createdby`, `Ticket`.`createdon`, `Ticket`.`editedby`, `Ticket`.`editedon`, `Ticket`.`deleted`, `Ticket`.`deletedon`, `Ticket`.`deletedby`, `Ticket`.`publishedon`, `Ticket`.`publishedby`, `Ticket`.`menutitle`, `Ticket`.`donthit`, `Ticket`.`privateweb`, `Ticket`.`privatemgr`, `Ticket`.`content_dispo`, `Ticket`.`hidemenu`, `Ticket`.`class_key`, `Ticket`.`context_key`, `Ticket`.`content_type`, `Ticket`.`uri`, `Ticket`.`uri_override`, `Ticket`.`hide_children_in_tree`, `Ticket`.`show_in_tree`, `Ticket`.`properties`, 600x400.url as 600x400, `TaggerTagResource`.`tag`, `TaggerTagResource`.`resource`, NameTag.tag, NameTag.alias, Posts.id, Posts.pagetitle, Posts.description FROM `lic10_tagger_tag_resources` AS `TaggerTagResource` LEFT JOIN `lic10_site_content` `Section` ON `Section`.`id` = `Ticket`.`parent` LEFT JOIN `lic10_users` `User` ON `User`.`id` = `Ticket`.`createdby` LEFT JOIN `lic10_user_attributes` `Profile` ON `Profile`.`internalKey` = `User`.`id` LEFT JOIN `lic10_ms2_resource_files` `600x400` ON 600x400.resource_id = Ticket.id AND 600x400.path LIKE '%/600x400/' AND 600x400.rank=0 LEFT JOIN `lic10_tagger_tags` `NameTag` ON TaggerTagResource.tag = NameTag.id LEFT JOIN `lic10_site_content` `Posts` ON TaggerTagResource.resource = Posts.id WHERE  ( `TaggerTagResource`.`class_key` = 'Ticket' AND `NameTag`.`alias` = 'esn' )  GROUP BY Ticket.id ORDER BY TaggerTagResource.resource ASC LIMIT 6 "
0.0008519: Could not process query, error #1054: Unknown column 'Ticket.id' in 'field list'
0.0000110: Returning processed chunks
0.3591189: Total time
14 155 776: Memory usage