Hey,

> Changing the if to if ((is_object($property)) && (!is_null($property))) results in an empty white page instead of the error message.

That would not fix the actual issue in any case, it would just hide it. I added some extra checks in the code to make the error appear before this point now. However, to find the real issue I need to know what the actual value of this variable is and from where it is coming. Can you put this code at the top of the function and get me the resulting output?

if ( !is_object( $property ) ) {
       var_dump( $property ); throw new MWException();
}

Bugzilla is a better place to report such issues, so next time you run into something like this, go here: https://bugzilla.wikimedia.org/ :)

Cheers

--
Jeroen De Dauw
http://www.bn2vs.com
Don't panic. Don't be evil.
--