Can't use an undefined value as an array reference

Yes, you always need at least one subscriber for a limited by shares formation,

SDN