[2017-06-04 07:18:46] (ERROR @ /srv/psa04/xxx/core/xpdo/om/xpdoquery.class.php : 704) Error parsing condition with key 0: [2017-06-04 07:18:46] (ERROR @ /srv/psa04/rxxx/core/xpdo/om/xpdoquery.class.php : 704) Error parsing condition with key 0: [2017-06-05 07:38:43] (ERROR @ /srv/psa04/xx/core/xpdo/om/xpdoobject.class.php : 240) Error HY000 executing statement: Array ( [0] => HY000 [1] => 2014 [2] => Cannot execute queries while other unbuffered queries are active. Consider using PDOStatement::fetchAll(). Alternatively, if your code is only ever going to run against mysql, you may enable query buffering by setting the PDO::MYSQL_ATTR_USE_BUFFERED_QUERY attribute. ) [2017-06-05 07:38:43] (ERROR @ /srv/psa04/xxx/core/xpdo/om/xpdoobject.class.php : 1452) Error HY000 executing statement: INSERT INTO `xxx_session` (`id`, `access`, `data`) VALUES ('p8oh3ammah1ul9l9erq2uh9v14', 1496648323, 'modx.user.0.resourceGroups|a:1:{s:7:\"sykoPat\";a:0:{}}modx.user.0.attributes|a:1:{s:7:\"sykoPat\";a:5:{s:16:\"modAccessContext\";a:12:{s:15:\"illegalisticcom\";a:1:{i:0;a:3:{s:9:\"principal\";i:0;s:9:\"authority\";s:1:\"0\";s:6:\"policy\";a:1: and up to 10+ more contexts
This question has been answered by tezone. See the first response.
[[pdoResources? &tpl=`areasTpl.PatBloom.Aframe.Object` &parents=`[[+id]]` &showHidden=`1` &where=`{"description:LIKE":"{"box","checkpoint"}"}` &includeContent=`1` &depth=`0` &sortby=`pagetitle` &sortdir=`ASC` &limit=`0` ]]
[[pdoResources? &tpl=`areasTpl.PatBloom.Aframe.Object` &parents=`[[+id]]` &showHidden=`1` &where=`[ {description":"box"}, {description":"checkpoint"} ]` &includeContent=`1` &depth=`0` &sortby=`pagetitle` &sortdir=`ASC` &limit=`0` ]]
$query->where(array( array( 'description' => 'box' ), array( 'OR:description:=' => 'checkpoint' ) ));
$q = array( array( 'description' => 'box' ), array( 'OR:description:=' => 'checkpoint' ) ); return $modx->toJSON($q);
<?php $q = array( 'description:LIKE' => 'box' ); $q .= array( 'description:LIKE' => 'checkpoint' ); return $modx->toJSON($q);