I tried to reinstall the vendors files by using the command line code:
bin/vendors install --reinstall
It successfully got installed. But when i tried to access my site i get this fatal error:
Fatal error: Class Sonata\DoctrineORMAdminBundle\Model\ModelManager contains 2 abstract methods and must therefore be declared abstract or implement the remaining methods (Sonata\AdminBundle\Model\ModelManagerInterface::getDataSourceIterator, Sonata\AdminBundle\Model\ModelManagerInterface::getExportFields) in C:\xampp\htdocs\myProject\vendor\bundles\Sonata\DoctrineORMAdminBundle\Model\ModelManager.php on line 496
It seems that Sonata\AdminBundle\Model\ModelManagerInterface has two functions: getDataSourceIterator and getExportFields which the Sonata\DoctrineORMAdminBundle\Model\ModelManager class to implement it.
I have no idea what needs to be done here. Could anyone help me please?
Thanks!