I am setting up a site that has search and currently have it setup in prettty much the same way as the tutorial however when I search some words such as "Honda" which is included in pages it causes the error "Fatal error: Call to a member function XML_val() on a non-object in /tmp/silverstripe-cache-var-www-vhosts-jdmnz.com-httpdocs-dev/.cache.var.www.vhosts.jdmnz.com.httpdocs.dev.themes.jdmnz.templates.Layout.Page_results.ss on line 48"
However if I search for "ascot" which also is in title and content of pages then the search works perfectly.
If I search for "ijncpj" (ie something random) then it acts as it is supposed to and says "No products found"
The site is up at www.jdmnz.com/dev if anyone has a chance to have a look.
I don't know how to troubleshoot this one...