I did upgrade my Magento version 2.3.4 to v2.4.2 Then activate ElasticSarch and upgrade the composer
then the site working for me. Admin and Frontend have appeared without any error.
but showing a warning on my AdminDashboard [![enter image description here][1]][1]
When I run bin/magento indexer:reindex it showing
Catalog Search index process unknown error: {"error":"MapperParsingException[No handler for type [text] declared on field [_search]]","status":400}
[![enter image description here][2]][2]
I did try this comments but still the error is there
php bin/magento setup:upgrade
php bin/magento setup:di:compile
php bin/magento setup:static-content:Deploy -f
sudo chmod -R 777 var/ pub/ generated/ vendor/
Help me to resolve this issue. [1]: https://i.stack.imgur.com/FSiUl.png [2]: https://i.stack.imgur.com/CJ6GF.png