Fatal error: Uncaught TypeError: Argument 1 passed to Betarill\Persistence\Repository\PartnershipRepository::__construct() must be an instance of Betarill\Persistence\EntityManager, instance of PDO given, called in /home/betarill/public_html/controller/applicationcontroller/homecontroller.php on line 52 and defined in /home/betarill/public_html/persistence/repository/partnershiprepository.php:15 Stack trace: #0 /home/betarill/public_html/controller/applicationcontroller/homecontroller.php(52): Betarill\Persistence\Repository\PartnershipRepository->__construct(Object(PDO), Object(Betarill\Persistence\Manager\AccountManager)) #1 [internal function]: Betarill\Controller\ApplicationController\HomeController->directions('seller') #2 /home/betarill/public_html/index.php(27): ReflectionMethod->invokeArgs(Object(Betarill\Controller\ApplicationController\HomeController), Array) #3 /home/betarill/public_html/index.php(81): Betarill\MainController->handleRequest() #4 /home/betarill/public_html/index.php(86): Betarill\MainController: in /home/betarill/public_html/persistence/repository/partnershiprepository.php on line 15