Empty string error with ID Social and php 7.2