We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 25287
    • 81 Posts
    I have a Resource Array Error that shows up when I set a query limit. Ditto works properly in every other place I use it.

    The following call is made on my home page. test.radiantglory.com

    [!Ditto? &parents=`2`&tpl=`gpDitto200` &queryLimit=`1`!]

    The &tpl=`gpDitto200` is as follows:
    <h3><a href="[~[+id+]~]">[+longtitle+]</a></h3>
    <p> [+introtext:limit=`200`+] ... <a href="[~[+id+]~]">read more</a></p>

    If anyone can help I would appreciate it!

    Thanks

    Rob
      • 5628
      • 44 Posts
      Hi Rob

      We experienced exactly the same limit and turned out the problem was because we were running MODx on PHP 4.
      Upgrading to PHP 5 sorted the issue.

      Most hosts running on PHP 4 will let you specify PHP 5 via a .htaccess command

      Hope that helps

      Cole