We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 28563
    • 35 Posts
    Has anybody seen this one before? It’s the only such error on my site, but it disallows me from using friendly URLs - I can’t errors like this popping up randomly now, can I? In fact, the page being rendered and the page referenced in the error code below are also two completely unrelated pages. The docID for the page that won’t get rendered is 40. IN fact, this code keeps popping up all over the place, for a variety of pages. Anybody have any ideas?

    ---------------
    Parse error: parse error, unexpected $, expecting ’]’ in /avatar/httpd/html/manager/includes/document.parser.class.inc.php(807) : regexp code on line 1

    Fatal error: Failed evaluating code: (1 ? (isset($aliases[187#govdocresources]) ? $this->makeFriendlyURL(’’,’.html’,$aliases[187#govdocresources]) : $this->makeFriendlyURL(’’,’.html’,’187#govdocresources’)) : $this->makeFriendlyURL(’’,’.html’,’187#govdocresources’)) in /avatar/httpd/html/manager/includes/document.parser.class.inc.php on line 807
    ------------------
      • 32963
      • 1,732 Posts
      I’m guessing that you have something like this inside your document:

      [~187#govdocresources~]

      If so try changing it to

      [~187~]#govdocresources
        xWisdom
        www.xwisdomhtml.com
        The fear of the Lord is the beginning of wisdom:
        MODx Co-Founder - Create and do more with less.
        • 28563
        • 35 Posts
        thanks for the tip xwisdom - unfortunately, that wasn’t the issue. However, and update to 9.2.1 solved this particular problem.