Error installing module

Hello, I am new to omeka. I am using Omeka S 3.1.1. version and i successfully installed it on my server.
However, the application shows me this error after activation of one of the modules. Does anybody know how to solve the problem?

Omeka S encountered an error

Laminas\ServiceManager\Exception\InvalidServiceException
Plugin manager “Laminas\ServiceManager\AbstractPluginManager” expected an instance of type “Search\FormAdapter\FormAdapterInterface”, but “AdvancedSearch\FormAdapter\MainFormAdapter” was received

Details:

Laminas\ServiceManager\Exception\InvalidServiceException: Plugin manager “Laminas\ServiceManager\AbstractPluginManager” expected an instance of type “Search\FormAdapter\FormAdapterInterface”, but “AdvancedSearch\FormAdapter\MainFormAdapter” was received in /var/www/omeka/vendor/laminas/laminas-servicemanager/src/AbstractPluginManager.php:176 Stack trace: #0 /var/www/omeka/vendor/laminas/laminas-servicemanager/src/AbstractPluginManager.php(154): Laminas\ServiceManager\AbstractPluginManager->validate(Object(AdvancedSearch\FormAdapter\MainFormAdapter)) #1 /var/www/omeka/modules/AdvancedSearch/src/Api/Representation/SearchConfigRepresentation.php(195): Laminas\ServiceManager\AbstractPluginManager->get(‘main’) #2 /var/www/omeka/modules/AdvancedSearch/src/Api/Representation/SearchConfigRepresentation.php(137): AdvancedSearch\Api\Representation\SearchConfigRepresentation->formInit() #3 /var/www/omeka/modules/AdvancedSearch/Module.php(1502): AdvancedSearch\Api\Representation\SearchConfigRepresentation->formAdapter() #4 /var/www/omeka/vendor/laminas/laminas-eventmanager/src/EventManager.php(321): AdvancedSearch\Module->addHeaders(Object(Laminas\EventManager\Event)) #5 /var/www/omeka/vendor/laminas/laminas-eventmanager/src/EventManager.php(170): Laminas\EventManager\EventManager->triggerListeners(Object(Laminas\EventManager\Event)) #6 /var/www/omeka/application/src/View/Helper/Trigger.php(60): Laminas\EventManager\EventManager->triggerEvent(Object(Laminas\EventManager\Event)) #7 [internal function]: Omeka\View\Helper\Trigger->__invoke(‘view.layout’) #8 /var/www/omeka/vendor/laminas/laminas-view/src/Renderer/PhpRenderer.php(396): call_user_func_array(Object(Omeka\View\Helper\Trigger), Array) #9 /var/www/omeka/application/view/layout/layout.phtml(11): Laminas\View\Renderer\PhpRenderer->__call(‘trigger’, Array) #10 /var/www/omeka/vendor/laminas/laminas-view/src/Renderer/PhpRenderer.php(505): include(’/var/www/omeka/…’) #11 /var/www/omeka/index.php(36): Laminas\View\Renderer\PhpRenderer->render(NULL) #12 {main}

Thanks in advance.