
Ditto Version 2.0RC1 Debug Info Number of documents supposed to summarized : 20 Number of documents collected from the database: 40 Sort by : createdon Sort direction: DESC Start at item 0 and stop at 20 out of 40 Prefetch: Yes IDs 398, 400, 404, 405, 406, 410, 412, 413, 415, 416, 419, 420, 421, 422, 423, 424, 425, 426, 427, 428 Snippet Parameters Parameters alwaysshow 1 dateFormat %d.%m dateSource pub_date debug 1 depth 4 extenders date,tagging id 2 paginate 1 parents 13,2,3,4,16,69 sortBy pub_date summarize 20 tagData tvTags tagDelimiter , tagMode onlyTags tags Vie des lyceesFamilles,Projets,Relations internationales,CDI,Sports,Personnels,Radio tpl NewsVie Filter custom tagging delimiter source landing mode format givenTags , tvTags 13 onlyTags html Vie des lyceesFamilles,Projets,Relations internationales,CDI,Sports,Personnels,Radio tagFilter Fields display backend retrieved db tv unknown id description published pagetitle Tags date tv db Tags id published createdon db description pagetitle id
and with one call
Fatal error: Cannot redeclare class prePHx in www\modx\assets\snippets\ditto\classes\phx.pre.class.inc.php on line 11
Fatal error: Cannot redeclare dateph() (previously declared in www\modx\assets\snippets\ditto\extenders\date.extender.inc.php:16) in www\modx\assets\snippets\ditto\extenders\date.extender.inc.php on line 26

[[Ditto &startID=`23` &summarize=`0`]] [[Reflect?]]
PHP error debug
Error: Invalid argument supplied for foreach()
Error type/ Nr.: Warning - 2
File: /home/histfr/www/modx096/assets/snippets/ditto/classes/ditto.class.inc.php
Line: 412
Line 412 source: foreach ($documents as $null=>$doc) {
[!Reflect? &dittoSnippetParameters=`parents:23|summarize:all` &dittoSnippetName=`Ditto`!]
)
[!Reflect? &dittoSnippetParameters=`parents:23|summarize:all|dateSource:pub_date|extenders:date|sortDir:ASC|sortBy:pub_date` &dittoSnippetName=`Ditto` &groupByYears=`0` &dateSource=`pub_date`!]

This discussion is closed to further replies. Keep calm and carry on.