$rs=$DB->query("SELECT * FROM bot_article_class WHERE active=1 ORDER BY id DESC"); while($res = $rs->fetch()){ echo '
'.$res['name'].'
'; } ?>
Fatal error
: Uncaught Error: Call to a member function getColumn() on null in /www/wwwroot/default/user/index.php:5 Stack trace: #0 {main} thrown in
/www/wwwroot/default/user/index.php
on line
5