Camen Design Forum

Uninitialized string offset


This is the original functions.php the theme is modified. So that I have this right line 66 should look like this?


foreach ($template->query ('//*/@href, //*/@src, //*/@content') as $node) if strlen($node->nodeValue) > 0 == '/')


I tried that and the site won't load.


(Leave this as-is, it’s a trap!)

Only the original author or a moderator can append to this post.

Pro tip: Use markup to add links, quotes and more.

Your friendly neighbourhood moderators: Kroc, Impressed, Martijn