Yeah I can see where the error is coming from. I don't know WHY it's coming from there but maybe this'll help.
PHP Code:
else{
// No valid action specified :: show an error
$article_title = $lang_invalid_action_title;
$article_content = $lang_invalid_action;
}
This is the error your seeing, why? because for whatever reason $act does not equal any of the previously given options. I'm not sure what's causing this but knowing where the issue is, is a start.
EDIT: I found the issue.
PHP Code:
if($act == "stats"){
There should be an else before that. That'll fix your problem.