Error thrown

Non-static method PageLinesTemplate::page_type_breaker() cannot be called statically