Fatal error: Uncaught Error: Call to a member function prepare() on null in /var/www/vhosts/kokiska.cz/gorillasports.sk/classes/db/DB.php:165
Stack trace:
#0 /var/www/vhosts/kokiska.cz/gorillasports.sk/classes/db/DB.php(285): db\DB->query()
#1 /var/www/vhosts/kokiska.cz/gorillasports.sk/classes/constant/ProjectConstantSB.php(150): db\DB->getSingleResult()
#2 /var/www/vhosts/kokiska.cz/gorillasports.sk/classes/emails/EmailSender.php(72): constant\ProjectConstantSB::getConstant()
#3 /var/www/vhosts/kokiska.cz/gorillasports.sk/classes/emails/EmailSender.php(219): emails\EmailSender::getInstance()
#4 /var/www/vhosts/kokiska.cz/gorillasports.sk/classes/logging/LoggerAppenderEmail.php(45): emails\EmailSender::sendError()
#5 /var/www/vhosts/kokiska.cz/gorillasports.sk/vendor/apache/log4php/src/main/php/LoggerAppender.php(158): logging\LoggerAppenderEmail->append()
#6 /var/www/vhosts/kokiska.cz/gorillasports.sk/vendor/apache/log4php/src/main/php/Logger.php(247): LoggerAppender->doAppend()
#7 /var/www/vhosts/kokiska.cz/gorillasports.sk/vendor/apache/log4php/src/main/php/Logger.php(174): Logger->callAppenders()
#8 /var/www/vhosts/kokiska.cz/gorillasports.sk/vendor/apache/log4php/src/main/php/Logger.php(149): Logger->log()
#9 /var/www/vhosts/kokiska.cz/gorillasports.sk/controllers/system/ErrorHandler.php(124): Logger->error()
#10 [internal function]: system\ErrorHandler->handleException()
#11 {main}
thrown in /var/www/vhosts/kokiska.cz/gorillasports.sk/classes/db/DB.php on line 165
Fatal error: Uncaught Error: Call to a member function prepare() on null in /var/www/vhosts/kokiska.cz/gorillasports.sk/classes/db/DB.php:165
Stack trace:
#0 /var/www/vhosts/kokiska.cz/gorillasports.sk/classes/db/DB.php(285): db\DB->query()
#1 /var/www/vhosts/kokiska.cz/gorillasports.sk/classes/constant/ProjectConstantSB.php(150): db\DB->getSingleResult()
#2 /var/www/vhosts/kokiska.cz/gorillasports.sk/classes/emails/EmailSender.php(72): constant\ProjectConstantSB::getConstant()
#3 /var/www/vhosts/kokiska.cz/gorillasports.sk/classes/emails/EmailSender.php(219): emails\EmailSender::getInstance()
#4 /var/www/vhosts/kokiska.cz/gorillasports.sk/classes/logging/LoggerAppenderEmail.php(45): emails\EmailSender::sendError()
#5 /var/www/vhosts/kokiska.cz/gorillasports.sk/vendor/apache/log4php/src/main/php/LoggerAppender.php(158): logging\LoggerAppenderEmail->append()
#6 /var/www/vhosts/kokiska.cz/gorillasports.sk/vendor/apache/log4php/src/main/php/Logger.php(247): LoggerAppender->doAppend()
#7 /var/www/vhosts/kokiska.cz/gorillasports.sk/vendor/apache/log4php/src/main/php/Logger.php(174): Logger->callAppenders()
#8 /var/www/vhosts/kokiska.cz/gorillasports.sk/vendor/apache/log4php/src/main/php/Logger.php(149): Logger->log()
#9 /var/www/vhosts/kokiska.cz/gorillasports.sk/controllers/system/ErrorHandler.php(94): Logger->error()
#10 [internal function]: system\ErrorHandler->handleError()
#11 {main}
thrown in /var/www/vhosts/kokiska.cz/gorillasports.sk/classes/db/DB.php on line 165