I'm trying to upgrade Magento 2 with the latest release Magento 2.3.6 and getting an error while running the upgrade command.
Unable to apply data patch Magento\Elasticsearch\Setup\Patch\Data\InvalidateIndex for module Magento_Elasticsearch. Original exception message: Notice: Undefined index: in /var/www/html/vendor/magento/framework/App/Route/Config.php on line 93
Currently we are using Magento 2.3.5-p2 version and algolia for search. Previously we used Wyomind Elastic search and now the modules are disabled.
Do anyone have an idea about the issue? Please help me to resolve the same.