I get the following error " warning: Illegal offset type in isset or empty in /mnt/stor2-wc2-dfw1/432996/music.codeangle.net/web/content/includes/bootstrap.inc on line 994.
warning: Illegal offset type in /mnt/stor2-wc2-dfw1/432996/music.codeangle.net/web/content/includes/bootstrap.inc on line 995.
warning: Illegal offset type in /mnt/stor2-wc2-dfw1/432996/music.codeangle.net/web/content/includes/bootstrap.inc on line 999.

" when using audio module can anyone help?

Comments

alexrayu’s picture

I have the same issue. If I find a fix I will post.

alexrayu’s picture

audio_playlist.module has lists bad parameters calling drupal_set_message();

Line 80 should be changed to this to make it work:

drupal_set_message('At least one content type must have <a href="/admin/content/types">audio attachments enabled</a> for playlists to work.', 'warning', false);
codeangle’s picture

@ Alexei, thanks for the snippet. IT eliminated the errors, but below is what happens when I click on add to playlists.

I get this message.

"At least one content type must have audio attachments enabled for playlists to work."

Attachements have being enabled in the workfow settings page.

What more can I do to actually get the playlists to be created and work properly?

alexrayu’s picture

After fixing that error and working on it more, I noticed, that the actual audio_attach module is not functional. It was being moved from Drupal 5 to Drupal 6, it was stripped of functionality, but was never added new one. It's not functional, and may not be in the near future. I am now trying to create playlists with XSPF Playlist module. Also has it's own problems. Post if you find a working solution. If not, will have to use flags and views.

codeangle’s picture

@ Alexei, I enabled audio feeds(and attachements too). This gave me a long list of audio files to be checked. I checked a couple, but when I click add to playlist I get a white screen. Are you using the module yourself anywhere?, So I can see for myself what to expect.

unc0nnected’s picture

I can confirm this error over here as well

alexrayu’s picture

No I think the mod is dead and unusable. Looking for alternatives. Nothing good so far.