I have search through this and various other forums and although the issue has been posted several times, I have never found a resolution.
I am using MODx Revolution 2.0.0-rc-1 rev6614
I have a Template Variable created called "Tags":
Variable Name: Tags
Caption: Tags
Description:
Category: Articles
Lock Variable For Editing: (unchecked)
Sort Order: 0
Clear Cache On Save: (checked)
Input Type: Text
Input Option Values:
Default Value:
Output Type: Delimiter
Delimiter: ,
The Ditto call I am using is:
[[Ditto? &parents=`2` &randomize=`1` &display=`6` &total=`6` &tagDelimiter=`, ` &tagMode=`onlyTags` &tags=`[[*Tags]]` &tagData=`tvTags` &tpl=`title_listing` &debug=`1`]]
This produces the following error:
Fatal error: Call to a member function get() on a non-object in .../core/components/ditto/model/ditto/ditto.class.inc.php on line 797
The error disappears if I remove the &tagData parameter so I am guessing it is that parameter which is causing the issue.
Any insight would be GREATLY appreciated.
I’m not really familiar with using tags with Ditto, but your call out for tags looks weird to me. You have: &tags=`[[*Tags]]` and I’m used to seeing it like: &tags=`[*Tags*]` Are you sure a placeholder will work in this case, or do you need to enter the actual value from the TV? &tags=`textfromTV` You might also want to try: &tags=`[+Tags+]` just to be sure.