@ salvo
Yes, you should either be able to remove protected or set it to public. For WordPress >= 4.0, it needs to be protected.
protected
public
Hope that helps!