We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 36686
    • 165 Posts
    Every time I edit a page (Revo 2.2.10-pl) I get the following error in the log:
    `sitestart` is not a valid integer and may not be passed to makeUrl()

    However, if I remove all instances of [[*content]] in my template there is no error.

    Each appearance of [[*content]] generates four instances of the above error.

    I'm clueless, so any help would be much appreciated!

    This question has been answered by sottwell. See the first response.

    • discuss.answer
      • 28042 ☆ A M B ☆
      • 24,524 Posts
      Somewhere you have something like this:
      [[~[[++sitestart]]]]

      That should be:
      [[~[[++site_start]]]]
        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
        • 36686
        • 165 Posts
        Oh Susan, you genius you! Thank you so much, this "bug" has been bugging me for months. It turns out I had a faulty link in the content of the 404 page – [[~sitestart]]. (Yes, faulty in so many ways... *blushing*)

        You made me realise the link should obviously be [[~[[++site_start]]]].

        Very odd that the system throws up errors on every single page when the only error is in the 404 page, but I'm guessing there's a very good reason for that. Cache related perhaps. Who cares, I'm over the moon!!!!!! laugh

        Hugs!