[ bug #1377 ] Warning: get_class() called without object from outside a
class