Warning: str_repeat(): Second argument has to be greater than or equal to 0 in /www/k/s/u161657/public_html/sys/CODOF/Service/BadgeService.php on line 105

Fatal error: Uncaught PDOException: SQLSTATE[HY000]: General error: 2031 in /www/k/s/u161657/public_html/sys/CODOF/Service/BadgeService.php:110 Stack trace: #0 /www/k/s/u161657/public_html/sys/CODOF/Service/BadgeService.php(110): PDOStatement->execute(Array) #1 /www/k/s/u161657/public_html/sys/CODOF/Forum/Post.php(627): CODOF\Service\BadgeService->getRewardedBadgesForUsers(Array) #2 /www/k/s/u161657/public_html/sys/CODOF/Forum/Post.php(69): CODOF\Forum\Post->gen_posts_arr(Array) #3 /www/k/s/u161657/public_html/sys/Controller/Ajax/forum/topic.php(90): CODOF\Forum\Post->get_posts(1075, 75) #4 /www/k/s/u161657/public_html/sys/Controller/forum.php(476): Controller\Ajax\forum\topic->get_posts(1075, 1, Array) #5 /www/k/s/u161657/public_html/routes.php(507): Controller\forum->topic(1075, '2') #6 [internal function]: {closure}(1075, 'konec-aeronetu-...', '2') #7 /www/k/s/u161657/public_html/sys/CODOF/Router/Router.php(91): call_user_func_array(Object(Closure), Array) #8 /www/k/s/u161657/public_html/sys/CODOF/Router/Router.php(56 in /www/k/s/u161657/public_html/sys/CODOF/Service/BadgeService.php on line 110