← Back to SiteSearch Support
I created a custom plugin called ResearchResources and I want it to be included in the search. But when I try to search this is the error I see, I can't seem to solve the issue.
Class 'OFFLINE\SiteSearch\Classes\Providers\ResearchResourcesProvider' not found
But still I cannot create and add the an instance of this object "new ResearchResourcesProvider()" to the SearchService class
protected function nativeResultsProviders()
3 months ago
You should not extend the plugin by editing its code or even placing a class in the plugins/offline directory.
Check out the docs on this topic:
You should register your results provider class in your own plugin, and also put the PHP file there.
Thank you so much sir!
1-3 of 3
We are proud to announce that the stable release of the October CMS 2 is now available! The release represents over a year of design, research and development effort, which resulted in multiple new features and changes.
Continue reading →