Add missing attribute _fields
Remove unused $cdata parameter from renderScoreBoard
end() and array_pop() may only be called on real variables
Remove unused assignments