Error thrown

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