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.


This section can only be seen by users with a valid subscription.
If you have a valid subscription, please login now

Support is

The support team is online and will be able to answer your inquiries. Please stay calm, follow the rules and do not cross post.

We will attend to you as soon as we can.

Your time
Stack Ideas time