Fix 2 more strict warnings

There is a variable not initialized properly in Vars.class.php, it has been noted in the forum too.
The other issue is OFCharts::show_chart(), which is called as static, the code looks to be static, but the function was missing the static attribute. I have added it now.