habari/habari — Issue #289: Posts::count_all() returns strict error notice
Author: fedemp
Created: 2012-02-16 11:35:23+00:00
State: open

If I try ```echo Posts::count_all();```, it prints

> Strict notice: Non-static method Posts::count_all() should not be called statically, assuming $this from incompatible context in user\themes\k2\home.php line 35

Is this an error in how the class is defined or how I am using it? If the latter, a notice should be added to the wiki on how to properly invoke this method.