Fatal error: Uncaught Error: Call to a member function prepare() on null in /home/fcimggni/public_html/mtgcardsmith/public/src/dao/CardDao.php:764 Stack trace: #0 /home/fcimggni/public_html/mtgcardsmith/public/src/services/CardService.php(84): CardDao->getCardCountByAuthor(NULL) #1 /home/fcimggni/public_html/mtgcardsmith/public/index.php(19): CardService->getCardCountByAuthor() #2 {main} thrown in /home/fcimggni/public_html/mtgcardsmith/public/src/dao/CardDao.php on line 764