We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 25519
    • 265 Posts
    Hi all

    I’m getting loads of parse errors with Ajax Search in a site i’m currently piloting in a subdomain wherein Containers return correct results but Resources/Pages return a parse error. (i’d rather have the Container NOT set to searchable but that currently means nothing works in the search results)

    For example, I have a Container named ’Candidates’ and within that a Resource named ’Candidates Homepage’. If i run a search for ’Candidates’ i get both Container and Resource in the search results. However, the Container leads to the correct page (via FirstChildRedirect) but the actual Resource throws the following parse error:

    PHP error debug
      Error: 	preg_replace() [function.preg-replace]: Compilation failed: lookbehind assertion is not fixed length at offset 11	 
      Error type/ Nr.: 	Warning - 2	 
      File: 	/var/www/vhosts/domain.co.uk/subdomains/123xyz/httpdocs/manager/includes/document.parser.class.inc.php(746) : eval()'d code	
    
     
      Line: 	101
    


    This is happening with all other Container/Resource combinations.

    For the record, I’m using Evo 1.0.2
    Can anyone advise me here please?

    Thanks in advance
      • 5811
      • 1,717 Posts
        • 25519
        • 265 Posts
        Thanks very much for these links ... fixed it by disabling the SearchHighlight plugin.