I believe I installed this module correctly, installed the GetID3 library and had views previously installed. Yet I get this error message:
# warning: Missing argument 1 for views_bonus_audio_player() in /home/www/mydomain.com/modules/views_bonus/views_bonus.module on line 687.
# warning: Missing argument 2 for views_bonus_audio_player() in /home/www/mydomain.com/modules/views_bonus/views_bonus.module on line 687.
# warning: Missing argument 3 for views_bonus_audio_player() in /home/www/mydomain.com/modules/views_bonus/views_bonus.module on line 687.
# warning: Invalid argument supplied for foreach() in /home/www/mydomain.com/modules/audio/audio.module on line 1311.

Where can I go to fix this obvious error as it post atop my audio node. The module seems to work otherwise as I can play my audio, download it etc.

Thanks for pointing me in the right direction, and thanks for the module.

Comments

drewish’s picture

Project: Audio » Views Bonus Pack
Status: Active » Postponed (maintainer needs more info)

make sure you're running the latest versions of the audio, views and views bonus pack modules. this was a views bonus pack but but i thought it'd been fixed.

javierdiaz’s picture

I checked and all my modules are the latest versions, so I'm thinking it must be something else. If I could just eliminate the error message I wouldn't care as much because it seems to work otherwise. Unfortunately the errors display directly above the audi posts and take up a lot of room. Is there a "switch" to not display the errors if I can't fix the problem?

Thanks again.

zirafa’s picture

Hi, as an alternative you may want to check out the audio_feeds.module in audio.module HEAD. It does the same thing as the views bonus pack code.

jshuell’s picture

If your site is complete and stable you might consider configuring the error reporting of Drupal to not show errors on the screen and instead just write them to the log file. It can be found in Drupal 5.x under admin/settings/error-reporting

MacRonin’s picture

I am running views 1.5 (not running the Beta) and View_bonus 1.0 (but the version number area is blank on the module page) and I am getting the same errors plus one from the audio module. But I am also having a problem getting my audio cotent page to load. I had just installed the Audio Module and seem to have strange things happening(I see to be good at doing that). For some reason the page loaded when I come from another page at my site, but gave the white screen of death if I came from someplace else, weird. Although it does still seem to be generating PHP error msgs from views_bonus and the audio module.

Invalid argument supplied for foreach() in /mydomain.com/httpdocs/sites/all/modules/audio/audio.module on line 1311.

Lityi’s picture

Hi,

I have the same problem with audio+views.

Altough I turned off the error reporting on the screen and everything works well, the error messages flood my logs and makes an excessive, unwanted load for my server. I have a LOT of audio nodes, so you could imagine :/

A fix would be greatly appreciated.

Lityi’s picture

Meanwhile I found a quick fix for this: http://drupal.org/node/114334

I use views_bonus dev pack now and modified the 'views_bonus_audio_player' function to 'views_bonus_audio_playerb' in the views_bonus_audio_playlist.module

HTH

pomliane’s picture

Status: Postponed (maintainer needs more info) » Closed (won't fix)

This version of Views Bonus Pack is not supported anymore. The issue is closed for this reason.
Please upgrade to a supported version and feel free to reopen the issue on the new version if applicable.

This issue has been automagically closed by a script.