I am getting the following error while installing Mirasvit Search Extension.
Parse error: syntax error, unexpected 'IndexRepository' (T_STRING), expecting function (T_FUNCTION) or const (T_CONST)
how can I solve this ?
I understand the problem you are facing and would recommend you to raise a ticket on the respected extension providers (Mirasvit) portal. They will definitely help you to resolve this error.
However looking at the error, its showing error because in one of the PHP file "IndexRepository" added as a plain text without any bracket or slash or any PHP variable - that is why its showing error.
Hope it helps