When i open topic category i get this error -> Notice: Undefined variable: totalUsers in C:\xampp\htdocs\forum\templates\frontpage.php on line 32
I find a solution. Just add $user = new User(); after $topic = new Topic; then add $template->totalUsers = $user->getTotalUsers(); and all be fixed
When i open topic category i get this error -> Notice: Undefined variable: totalUsers in C:\xampp\htdocs\forum\templates\frontpage.php on line 32 I find a solution. Just add
$user = new User();
after$topic = new Topic;
then add$template->totalUsers = $user->getTotalUsers();
and all be fixed