> $result->ShortListCategories($lang); > Function ShortListCategories($lan) { ------------------------------- I'm not too sure, but I noticed the parameter sent to the function was "$lang", but the one that the function takes to use is "$lan"
Hopefully, the problem is just that typo...