Hi
If someone creates a node with a SoundCloud field and that SoundCloud track is set to private then errors are created.
Warning: simplexml_load_string() [function.simplexml-load-string]: Entity: line 1: parser error : Start tag expected, '<' not found in soundcloudfield_field_formatter_view() (line 273 of /sites/all/modules/soundcloudfield/soundcloudfield.module).
Warning: simplexml_load_string() [function.simplexml-load-string]: in soundcloudfield_field_formatter_view() (line 273 of /sites/all/modules/soundcloudfield/soundcloudfield.module).
Warning: simplexml_load_string() [function.simplexml-load-string]: ^ in soundcloudfield_field_formatter_view() (line 273 of /sites/all/modules/soundcloudfield/soundcloudfield.module).
Notice: Trying to get property of non-object in soundcloudfield_field_formatter_view() (line 276 of /sites/all/modules/soundcloudfield/soundcloudfield.module).
Should this be fixed within the SoundCloud field module or should this be fixed within the node templates? The field has data in so it's not just a case of checking whether the data exists.
Edward
Comments
Comment #1
attila.fekete CreditAttribution: attila.fekete commentedHi and thanks for your feedback. I've fixed this, you should check the development snapshot.
Comment #2
edwardcuf CreditAttribution: edwardcuf commentedWow, thanks for the quick fix! :)
Now running the development version. We are using your module live on http://contests.remixcomps.com to accept music entries into contests
Comment #3
attila.fekete CreditAttribution: attila.fekete commentedOh, it's very nice to see the module in action on a live site. I am glad if I could help.
Comment #4
attila.fekete CreditAttribution: attila.fekete commentedComment #5
jay.lee.bio CreditAttribution: jay.lee.bio commentedWow, what a find. After pretty much giving up on Sound Cloud (I was not able to get this working: http://drupal.org/project/media_soundcloud), I just found your module. It is freakin' awesome. Thanks attila.fekete, and I'll let you know when my site launches as well.
P.S. Edwardcuf, your site is quite impressive.
Comment #6.0
(not verified) CreditAttribution: commentededit for wording
Comment #7
timfluhr CreditAttribution: timfluhr commentedThis doesn't seem to be fixed in the 6.x. Does anyone have a patch?
Comment #8
timfluhr CreditAttribution: timfluhr commentedComment #9
attila.fekete CreditAttribution: attila.fekete commentedHas been fixed in latest 6.x-1.x.
Comment #11
sachchidanand CreditAttribution: sachchidanand commentedWith latest dev (7.x-1.x-dev) version of soundcloudfield at node detail page there is no any audio track and showing warning message
Notice: Trying to get property of non-object in soundcloudfield_field_formatter_view()
Can you suggest me please.
Comment #12
jay.lee.bio CreditAttribution: jay.lee.bio commented@sachchidanand, the issue you had has now come back: https://www.drupal.org/node/2763295
Comment #13
akoepke CreditAttribution: akoepke commented