warning: Invalid argument supplied for foreach() in /home/username/public_html/modules/playlist/audio_playlist/audio_playlist.module on line 441

This appears whenever editing/saving a track in the playlist. It doesn't seem to affect how anything functions, though. At least that I can tell...

CommentFileSizeAuthor
#8 audio_playlist.module_0.patch1.38 KBzirafa

Comments

zirafa’s picture

Not sure what's going on here without more information. Try an updated version of CVS or 4.7 and see if it persists.

zirafa’s picture

Status: Active » Closed (fixed)

Closing this because of lack of follow ups. Feel free to re-open or create a new issue for it.

steveparks’s picture

Status: Closed (fixed) » Active

I'm getting a similar error whenever i submit an audio node after editing:

warning: Invalid argument supplied for foreach() in /home/httpd/vhosts/theredgroup.co.uk/httpdocs/module_repository/audio_preview/contrib/audio_preview_playlist/audio_preview_playlist.module on line 475.

The version i'm using is:
audio_playlist.module,v 1.3.2.7 2006/08/21 08:43:02 zirafa

cheers
steve

zirafa’s picture

audio_preview_playlist?

steveparks’s picture

sorry - picked a bad example error. I have two audio modules running on my site to create different types of audio nodes - audio.module, then an exact clone of it but with the names and functions changed to audio_preview. I have then done the same for audio_playlist to create audio_preview_playlist

The error was happening with the actual main audio_playlist module too. I just pasted the wrong version of the error.

steveparks’s picture

Here's the correct error:

Invalid argument supplied for foreach() in /home/httpd/vhosts/theredgroup.co.uk/httpdocs/modules/playlist/audio_playlist/audio_playlist.module on line 475.

cheers
steve

steveparks’s picture

I'm still seeing this error. Has anyone else encountered it and solved it?

zirafa’s picture

Assigned: Unassigned » zirafa
Status: Active » Fixed
StatusFileSize
new1.38 KB

Applied this patch, which should fix the issue.

steveparks’s picture

Blimey zirafa - you've had a busy afternoon! Thanks again for this fix.

Anonymous’s picture

Status: Fixed » Closed (fixed)