Thread:Extension talk:UserFunctions/Call to a member function getNamespace() on a non-object in UserFunctions.php:69

I'm seeing this error with MW 1.21 and UserFunctions 2.4.2:

It looks like what's failing is this:

Apparently getTitle is not returning an object.