We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 15451
    • 87 Posts
    hi there, i’m following the tutorial at http://wiki.modxcms.com/index.php/Basic_Blog to set up a blog. am getting the individual blog pages working alright, only the initial ’list’ page is bringing up an error when i click on it in the nav. error is ’PHP Parse Error Error: Missing argument 18 for ditto’. i’ve put a screen grab off the whole error msg up at http://cheerytomato.com/modx_error.png if anyone would care to offer thoughts? have found a similar thread only the fellow came to the conclusion it was a problem with his hosting company and i’m testing locally at the moment.
    have also put a screen grab of my ’working’ screen in case anyone can spot a mistake i’m making in there, it’s at http://cheerytomato.com/working.png
    thanks very much in advance. smiley
      • 28042 ☆ A M B ☆
      • 24,524 Posts
      Try updating your Ditto to the latest version, and use &parents instead of &startId. When you update Ditto, make sure to update both the snippet code in the manager, and the files in assets/snippets/ditto. It looks like you have mismatched Ditto code; that last parameter, $randomize, was introduced fairly recently.
        Studying MODX in the desert - http://sottwell.com
        Tips and Tricks from the MODX Forums and Slack Channels - http://modxcookbook.com
        Join the Slack Community - http://modx.org
        • 15451
        • 87 Posts
        thank you thank you! i did that just now and i’m not getting the error page anymore, that’s gold. really appreciate your help and how quickly you responded. done and dusted in what, 5 minutes?!! grin