Was it your modifications to the theme that triggered the error? I’d love to get to the bottom of this.
Sorry, my second possible fix just showed the minimal code that would need to be added, assuming whoever was going to add it knew their way around PHP. The line should probably be something like this (note: not tested):
% foreach ($template->query ('//*/@href, //*/@src, //*/@content') as $node) if (strlen($node->nodeValue) > 0 && $node->nodeValue == '/') %
Inside the if statement, it should first check the length of the nodeValue before comparing the first character to