Drupal Module Notice: Trying to get property of non-object in soundcloudfield_field_formatter_view()

  • 5 October 2016
  • 2 replies

I'm currently using a popular Drupal module called SoundCloud Field, and it's been periodically giving me some major headaches. The error message that I get is as follows:

Notice: Trying to get property of non-object in soundcloudfield_field_formatter_view()

After doing a significant amount of research, I'm almost 100% sure that the source of the problem is not the module but somewhere within SoundCloud itself.

For full details of this problem, it's best to look at the ongoing issue that I posted myself a few months ago. Can anyone please help me come up with a solution?

2 replies

Userlevel 7
Badge +3
From what I understand, you seem to have a question about SoundCloud’s API. SoundCloud does not have a dedicated API support team. Our customer support team are focused on providing account-related support and I am afraid we do not have the necessary skills to handle enquiries about SoundCloud’s API.

That being said; If you are looking for help in building an application on top of SoundCloud’s API, I would recommend looking through SoundCloud’s stackoverflow page (, and reviewing our developer website ( These are the support resources we have in place for app developers.

If you have a question about acceptable commercial use of SoundCloud’s API, then we would please ask you to refer to the following section of our API terms of use ( Any application reported to us which violates the API terms of use will have their access to the SoundCloud API permanently revoked.

If after following the suggestions above you are still seeking support on using SoundCloud’s API please get back in touch with a link to a Stackoverflow post about your question and we can follow up with a member of our engineering team and ask them to respond to you there.

All the best,
Mathis, thanks for the reply. Here are a couple of things that I found out:

1) The module doesn't actually use SoundCloud's API, because I don't have to register a new app or anything. All it does is change the URL format to an IFrame format. That's it.

2) In the module's ongoing issue page, I posted before & after screenshots of this annoying problem.

Before (notice the "500 Internal Server Error" message):

After (notice the "200 OK" message):

I really think there's something weird going on in SoundCloud every few months or so. And although the current problem is now resolved after two full weeks, I would really appreciate it if your developers can take a deeper look into this issue. I'll also come back here the next time (the fourth of which I will have noticed) this happens again (with a link to a Stack Overflow post). Thanks!