We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 6726
    • 7,075 Posts
    Playing with the latest beta (Edit : nothing to do with MODx version, actually), I have encountered a strange error with Ditto 1.0.2.

    I have a directory of companies, which I have stored under a different folder for each alphabet letter. Each folder has a Ditto call referring to it’s own ID, which gives me a list of every child for each folder. Here is my Ditto call :

    [!Ditto? &startID=`[*id*]` &summarize=`500` &tpl=`tpl_fiche_societe_public_liste` &descendentDepth=`1` &emptyText=`Aucun adhérent commençant par cette lettre`!]


    When the folders contain no child, instead of getting the emptyText message, I get this error :

    « MODx Parse Error »
    MODx encountered the following error while attempting to parse the requested resource:
    « PHP Parse Error »

    PHP error debug
    Error: array_values() [function.array-values]: The argument should be an array
    Error type/ Nr.: Warning - 2
    File: /home/gican/www/manager/includes/document.parser.class.inc.php(724) : eval()’d code
    Line: 373

    Parser timing
    MySQL: 0.0005 s (0 Requests)
    PHP: 0.0060 s
    Total: 0.0065 s
      .: COO - Commerce Guys - Community Driven Innovation :.


      MODx est l'outil id
      • 18397
      • 3,250 Posts
      MARKSVIRTUALDESK Reply #2, 20 years ago
      This is a known bug with 1.0.2 and has reported numerous times. The 1.1 Beta fixed this. If you would prefer to continue using 1.0.2, look for the 2nd or third message in the Support and Comments thread linked in the download repository.
        • 6726
        • 7,075 Posts
        Quote from: Mark at Sep 18, 2006, 09:14 PM
        This is a known bug with 1.0.2 and has reported numerous times.

        Sorry Mark, I should have read the Ditto forum more carefully rolleyes
        Thanks for the quick reply !

        I’ll use 1.1 Beta then smiley
          .: COO - Commerce Guys - Community Driven Innovation :.


          MODx est l'outil id