We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 15094
    • 7 Posts
    I’m getting the following error when I try to use a simple wayfinder snippet.:

    Parse error: syntax error, unexpected '&' in /home/.jordan/justinae/www.test.buildlocal.org/manager/includes/document.parser.class.inc.php(766) : eval()'d code on line 24


    The HTML for my template is:
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
    </head>
    <body>
    [!Wayfinder? startId=`0`!]
    </body>
    </html>


    I found info about other parse errors but not this one. Any help is appreciated. I’m running 0.9.6.

    thanx,
    Justin
      • 11975
      • 2,542 Posts
      hi,

      you call is wrong

      Try with

      [!Wayfinder?startId=`0`!]
      or
      [!Wayfinder? &startId=`0`!]
        Made with MODx : [url=http://www.copadel.com]copadel, fruits et l
        • 15094
        • 7 Posts
        I tried them both and I still get the same error. Thanx for the attempt.

        Justin
          • 27376
          • 576 Posts
          Look at the snippet on line 24, something isn’t right on that line.