We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 11243
    • 27 Posts
    Hi, I am getting loads of system event errors generated (about one every minute) by the Search Highlighting plugin. The error message on every system event is:
    syntax error, unexpected T_STRING
    
    
    Parse error: syntax error, unexpected T_STRING in /mypath/public_html/manager/includes/document.parser.class.inc.php(745) : eval()'d code on line 2


    This is a development site, so I don’t think the error messages are coming from user input on the site, but they have started appearing since I integrated AjaxSearch into my site.

    I am on modx v.0.9.6.3 running AjaxSearch 1.8.1 and Search Highlighting Plugin 1.3

    Does anybody have any idea what might be causing them and how I can go about preventing them from occurring?

    Cheers
      • 22303 MODX Staff
      • 10,725 Posts
      Upgrading MODx, upgrading the Search Highlighting plugin, or disabling the Search Highlighting plugin.
        • 11243
        • 27 Posts
        Thanks for the reply. I can’t explain it but the error messages have now stopped appearing! huh

        I cleared the event log to remove the 80 pages of log messages that had built up just before writing my earlier posting. Just tried to disable the Search Highlighting plug-in as you suggested and when I went to look in the system events log there were none there - go figure?! I had not touched the site in the meantime.

        I’ll keep an eye open to see if they start appearing again, but all is fine for now.

        Cheers anyway.
          • 25663 MODX Staff
          • 12,272 Posts
          Was probably previously cached JS in your browser.
            Ryan Thrash, MODX Co-Founder
            Follow me on Twitter at @rthrash or catch my occasional unofficial thoughts at thrash.me