<?xml version="1.0" encoding="UTF-8"?> <rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/"> <channel> <title>Ultimus Fund Solutions [[*pagetitle]]</title> <link>[[~[[*id]]? &scheme=`full`]]</link> <description>[[*introtext:cdata]]</description> <language>[[++cultureKey]]</language> <ttl>120</ttl> <atom:link href="[[~[[*id]]? &scheme=`full`]]" rel="self" type="application/rss+xml" /> [[!pdoResources? &parents=`0` &tpl=`ufsRSSItemE` &class=`ufsEvents` &loadModels=`ufsevents` &where=`{"published:=":"1","eenddate:<=":"[[!now]]"}` &fastMode=`0` &showLog=`0` &sortby=`eenddate` &sortdir=`ASC`]] </channel> </rss>
<item> <title>[[+etitle]]</title> <link>[[~26? &scheme=`full`]]</link> <description> [[+elocation = `[[+edesc:striptags:ellipsis=`600`]]`:cdata]] </description> <pubDate>[[+estartdate:strtotime:date=`%a, %d %b %Y %H:%M:%S %z`]]</pubDate> <guid isPermaLink="false>http://www.ultimusfundsolutions.com/events#event[[+id]]</guid> <dc:creator>Ultimus Admin</dc:creator> </item>
[[!migxLoopCollection? &tpl=`ufsRSSItemE` &classname=`ufsEvents` &packageName=`ufsevents` &where=`{"published:=":"1","eenddate:<=":"[[!now]]"}` &sortConfig=`[{"sortby":"eenddate"}]` ]]
Do you get any errors in the MODX error log and developer tools?
Can you get the resources with this simpe call [[!pdoResources? &parents=`0`]]
[2018-01-04 18:11:05] (ERROR @ /var/www/vhosts/ultimusfundsolutions.com/httpdocs/core/model/modx/modparser.class.php : 453) You should not call uncached elements inside cached!But then I placed a bang in front of pdoResources and that resolved the error.
Outer tag: [[pdoResources? &parents=`0` &tpl=`ufsRSSItemE` &class=`ufsEvents` &loadModels=`ufsevents` &where=`{"published:=":"1","eenddate:<=":"[[!now]]"}` &fastMode=`0` &showLog=`0` &sortby=`eenddate` &sortdir=`ASC`]]
Inner tag pdoResources? &parents=`0` &tpl=`ufsRSSItemE` &class=`ufsEvents` &loadModels=`ufsevents` &where=`{"published:=":"1","eenddate:<=":"[[!now]]"}` &fastMode=`0` &showLog=`0` &sortby=`eenddate` &sortdir=`ASC`
[2018-01-06 02:59:22] (ERROR @ /var/www/vhosts/ultimusfundsolutions.com/httpdocs/core/model/modx/modparser.class.php : 453) You should not call uncached elements inside cached!And I've now updated this one with a bang, which so far has resolved the error.
Outer tag: [[pdoResources? &parents=`0` &tpl=`ufsEventsShortTpl` &class=`ufsEvents` &loadModels=`ufsevents` &where=`{"published:=":"1","eenddate:>=":"[[!now]]"}` &fastMode=`0` &showLog=`0` &sortby=`eenddate` &sortdir=`ASC` &limit=`2`]]
Inner tag pdoResources? &parents=`0` &tpl=`ufsEventsShortTpl` &class=`ufsEvents` &loadModels=`ufsevents` &where=`{"published:=":"1","eenddate:>=":"[[!now]]"}` &fastMode=`0` &showLog=`0` &sortby=`eenddate` &sortdir=`ASC` &limit=`2`
I don't know, why this should stop working, but you could try to replace pdoResources with migxLoopCollection like that:
[[!migxLoopCollection? &tpl=`ufsRSSItemE` &classname=`ufsEvents` &packageName=`ufsevents` &where=`{"published:=":"1","eenddate:<=":"[[!now]]"}` &sortConfig=`[{"sortby":"eenddate"}]` ]]
...
Can you get the resources with this simpe call [[!pdoResources? &parents=`0`]]
Quote from: mrhaw at Jan 06, 2018, 12:30 AM...
Can you get the resources with this simpe call [[!pdoResources? &parents=`0`]]
Sigh. You are using a snippet to load data from MODX Resources that has TV data added to them, if it stops working would it not be a good idea to see if you still can get the resources in a basic call?
Array ( [id] => 171 [type] => document [contentType] => text/html [pagetitle] => simple call [longtitle] => [description] => [alias] => simple-call [link_attributes] => [published] => 1 [pub_date] => 0 [unpub_date] => 0 [parent] => 0 [isfolder] => 0 [introtext] => [richtext] => 0 [template] => 1 [menuindex] => 19 [searchable] => 0 [cacheable] => 0 [createdby] => 1 [createdon] => 1515435606 [editedby] => 1 [editedon] => 1515436807 [deleted] => 0 [deletedon] => 0 [deletedby] => 0 [publishedon] => 1515435600 [publishedby] => 1 [menutitle] => [donthit] => 0 [privateweb] => 0 [privatemgr] => 0 [content_dispo] => 0 [hidemenu] => 1 [class_key] => modDocument [context_key] => web [content_type] => 1 [uri] => simple-call [uri_override] => 0 [hide_children_in_tree] => 0 [show_in_tree] => 1 [properties] => [idx] => 1 [link] => ) Array ( [id] => 166 [type] => document [contentType] => text/html [pagetitle] => TD Ameritrade National LINC Conference [longtitle] => Orlando, FL [description] => [alias] => td-ameritrade-national-linc-conference [link_attributes] => [published] => 1 [pub_date] => 0 [unpub_date] => 0 [parent] => 86 [isfolder] => 0 [introtext] => [richtext] => 1 [template] => 12 [menuindex] => 42 [searchable] => 0 [cacheable] => 1 [createdby] => 88 [createdon] => 1512055075 [editedby] => 0 [editedon] => 0 [deleted] => 0 [deletedon] => 0 [deletedby] => 0 [publishedon] => 1512055075 [publishedby] => 88 [menutitle] => [donthit] => 0 [privateweb] => 0 [privatemgr] => 0 [content_dispo] => 0 [hidemenu] => 1 [class_key] => modDocument [context_key] => web [content_type] => 1 [uri] => td-ameritrade-national-linc-conference [uri_override] => 0 [hide_children_in_tree] => 0 [show_in_tree] => 0 [properties] => [idx] => 2 [link] => ) Array ( [id] => 165 [type] => document [contentType] => text/html [pagetitle] => LPL Financial Focus National Sales and Education Conference [longtitle] => Boston, MA [description] => [alias] => lpl-financial-focus-national-sales-and-education-conference [link_attributes] => [published] => 1 [pub_date] => 0 [unpub_date] => 0 [parent] => 86 [isfolder] => 0 [introtext] => [richtext] => 1 [template] => 12 [menuindex] => 41 [searchable] => 0 [cacheable] => 1 [createdby] => 88 [createdon] => 1512054741 [editedby] => 0 [editedon] => 0 [deleted] => 0 [deletedon] => 0 [deletedby] => 0 [publishedon] => 1512054741 [publishedby] => 88 [menutitle] => [donthit] => 0 [privateweb] => 0 [privatemgr] => 0 [content_dispo] => 0 [hidemenu] => 1 [class_key] => modDocument [context_key] => web [content_type] => 1 [uri] => lpl-financial-focus-national-sales-and-education-conference [uri_override] => 0 [hide_children_in_tree] => 0 [show_in_tree] => 0 [properties] => [idx] => 3 [link] => ) Array ( [id] => 146 [type] => document [contentType] => text/html [pagetitle] => Regulatory [longtitle] => [description] => [alias] => regulatory [link_attributes] => [published] => 1 [pub_date] => 0 [unpub_date] => 0 [parent] => 139 [isfolder] => 1 [introtext] => [richtext] => 1 [template] => 25 [menuindex] => 4 [searchable] => 1 [cacheable] => 1 [createdby] => 1 [createdon] => 1499291366 [editedby] => 1 [editedon] => 1506029792 [deleted] => 0 [deletedon] => 0 [deletedby] => 0 [publishedon] => 1506029792 [publishedby] => 1 [menutitle] => [donthit] => 0 [privateweb] => 0 [privatemgr] => 0 [content_dispo] => 0 [hidemenu] => 1 [class_key] => modDocument [context_key] => web [content_type] => 1 [uri] => regulatory/ [uri_override] => 0 [hide_children_in_tree] => 0 [show_in_tree] => 1 [properties] => [idx] => 4 [link] => ) Array ( [id] => 145 [type] => document [contentType] => text/html [pagetitle] => Products [longtitle] => [description] => [alias] => products [link_attributes] => [published] => 1 [pub_date] => 0 [unpub_date] => 0 [parent] => 139 [isfolder] => 1 [introtext] => [richtext] => 1 [template] => 25 [menuindex] => 3 [searchable] => 1 [cacheable] => 1 [createdby] => 1 [createdon] => 1499291295 [editedby] => 1 [editedon] => 1506029785 [deleted] => 0 [deletedon] => 0 [deletedby] => 0 [publishedon] => 1506029785 [publishedby] => 1 [menutitle] => [donthit] => 0 [privateweb] => 0 [privatemgr] => 0 [content_dispo] => 0 [hidemenu] => 1 [class_key] => modDocument [context_key] => web [content_type] => 1 [uri] => products/ [uri_override] => 0 [hide_children_in_tree] => 0 [show_in_tree] => 1 [properties] => [idx] => 5 [link] => ) Array ( [id] => 144 [type] => document [contentType] => text/html [pagetitle] => Data [longtitle] => [description] => [alias] => data [link_attributes] => [published] => 1 [pub_date] => 0 [unpub_date] => 0 [parent] => 139 [isfolder] => 1 [introtext] => [richtext] => 1 [template] => 25 [menuindex] => 2 [searchable] => 1 [cacheable] => 1 [createdby] => 1 [createdon] => 1499291217 [editedby] => 1 [editedon] => 1506029777 [deleted] => 0 [deletedon] => 0 [deletedby] => 0 [publishedon] => 1506029777 [publishedby] => 1 [menutitle] => [donthit] => 0 [privateweb] => 0 [privatemgr] => 0 [content_dispo] => 0 [hidemenu] => 1 [class_key] => modDocument [context_key] => web [content_type] => 1 [uri] => data/ [uri_override] => 0 [hide_children_in_tree] => 0 [show_in_tree] => 1 [properties] => [idx] => 6 [link] => ) Array ( [id] => 143 [type] => document [contentType] => text/html [pagetitle] => Sales [longtitle] => [description] => [alias] => sales [link_attributes] => [published] => 1 [pub_date] => 0 [unpub_date] => 0 [parent] => 139 [isfolder] => 1 [introtext] => [richtext] => 1 [template] => 25 [menuindex] => 1 [searchable] => 1 [cacheable] => 1 [createdby] => 1 [createdon] => 1499291076 [editedby] => 1 [editedon] => 1506029768 [deleted] => 0 [deletedon] => 0 [deletedby] => 0 [publishedon] => 1506029768 [publishedby] => 1 [menutitle] => [donthit] => 0 [privateweb] => 0 [privatemgr] => 0 [content_dispo] => 0 [hidemenu] => 1 [class_key] => modDocument [context_key] => web [content_type] => 1 [uri] => sales/ [uri_override] => 0 [hide_children_in_tree] => 0 [show_in_tree] => 1 [properties] => [idx] => 7 [link] => ) Array ( [id] => 142 [type] => document [contentType] => text/html [pagetitle] => Marketing and PR [longtitle] => [description] => [alias] => marketing-partners [link_attributes] => [published] => 1 [pub_date] => 0 [unpub_date] => 0 [parent] => 139 [isfolder] => 1 [introtext] => [richtext] => 1 [template] => 25 [menuindex] => 0 [searchable] => 1 [cacheable] => 1 [createdby] => 1 [createdon] => 1498772677 [editedby] => 1 [editedon] => 1506029761 [deleted] => 0 [deletedon] => 0 [deletedby] => 0 [publishedon] => 1506029761 [publishedby] => 1 [menutitle] => [donthit] => 0 [privateweb] => 0 [privatemgr] => 0 [content_dispo] => 0 [hidemenu] => 1 [class_key] => modDocument [context_key] => web [content_type] => 1 [uri] => marketing-partners/ [uri_override] => 0 [hide_children_in_tree] => 0 [show_in_tree] => 1 [properties] => [idx] => 8 [link] => ) Array ( [id] => 139 [type] => document [contentType] => text/html [pagetitle] => Content [longtitle] => [description] => [alias] => partner-directories-stage [link_attributes] => [published] => 1 [pub_date] => 0 [unpub_date] => 0 [parent] => 65 [isfolder] => 1 [introtext] => [richtext] => 1 [template] => 25 [menuindex] => 5 [searchable] => 1 [cacheable] => 1 [createdby] => 2 [createdon] => 1494947152 [editedby] => 1 [editedon] => 1506029525 [deleted] => 0 [deletedon] => 0 [deletedby] => 0 [publishedon] => 1505944260 [publishedby] => 2 [menutitle] => [donthit] => 0 [privateweb] => 0 [privatemgr] => 0 [content_dispo] => 0 [hidemenu] => 0 [class_key] => modDocument [context_key] => web [content_type] => 1 [uri] => partner-directories-stage/ [uri_override] => 0 [hide_children_in_tree] => 0 [show_in_tree] => 1 [properties] => [idx] => 9 [link] => ) Array ( [id] => 148 [type] => document [contentType] => text/html [pagetitle] => Distribution Advantage Webinar - 3PMs [longtitle] => [description] => [alias] => distribution-advantage-webinar-3pms [link_attributes] => [published] => 1 [pub_date] => 0 [unpub_date] => 0 [parent] => 86 [isfolder] => 0 [introtext] => [richtext] => 1 [template] => 12 [menuindex] => 24 [searchable] => 0 [cacheable] => 1 [createdby] => 88 [createdon] => 1503667261 [editedby] => 88 [editedon] => 1514903155 [deleted] => 0 [deletedon] => 0 [deletedby] => 0 [publishedon] => 1503667260 [publishedby] => 88 [menutitle] => [donthit] => 0 [privateweb] => 0 [privatemgr] => 0 [content_dispo] => 0 [hidemenu] => 1 [class_key] => modDocument [context_key] => web [content_type] => 1 [uri] => distribution-advantage-webinar-3pms [uri_override] => 0 [hide_children_in_tree] => 0 [show_in_tree] => 0 [properties] => [idx] => 10 [link] => )