Error thrown

Call to undefined method stdClass::is_supported()