I was overriding search layout but couldn't find isPrivate() on item.php file. I Actually modified private post icons on almost every page and for consistency of design on all page, I tried adding isPrivate() code on search layout too. But after searching any private post in toolbar search field, result page come up with this error.
Call to undefined method EasyDiscussSearchItem::isPrivate()
Could you please help me on this.