"Undefined offset: 42" error when pulling a remote URL using default options (blank array)