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.
--
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Semediawiki-devel mailing list
Semediawiki-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/semediawiki-devel