Adds global search capabilities to October CMS

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

  • I have already created a custom provider in the specified path.

But still I cannot create and add the an instance of this object "new ResearchResourcesProvider()" to the SearchService class

`` protected function nativeResultsProviders() { return [ ... new ResearchResourcesProvider() ]; }


Last updated


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