Warnings on Node Save
| Project: | getID3() |
| Version: | 6.x-1.x-dev |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
Jump to:
I am getting some warning about the getid3 module when saving nodes (not audio nodes, but custom event nodes created with CCK in this case). This install of drupal is running in a subdirectory within the main drupal installation:
* warning: Invalid argument supplied for foreach() in /home/.muckl/domain/mysite.org/sites/www.mysite.org.subsite/modules/audio/getid3/audio_getid3.module on line 305.
* The following errors where encountered while reading the file's ID3 tags:
o Could not open file ""
* warning: array_merge() [function.array-merge]: Argument #1 is not an array in /home/.muckl/domain/mysite.org/sites/www.mysite.org.subsite/modules/audio/getid3/audio_getid3.module on line 325.
* warning: array_merge() [function.array-merge]: Argument #1 is not an array in /home/.muckl/domain/mysite.org/sites/www.mysite.org.subsite/modules/audio/getid3/audio_getid3.module on line 327.

#1
so what's calling getid3 then? your code or the audio module?
#2
I do have the audio module installed, but I am getting these warnings as I save CCK nodes without any audio attachments (although the audio attachment module is enabled). I haven't added any custom code to call on the getid3 module.
#3
I am also getting this error, when I am creating a cck node that has nothing to do with audio. In this case it is a group node, when I create it, I get the same error as above with different line numbers. It shouldn't even be calling getid3 but for some reason it is.
Here is it copied and pasted.
* warning: Invalid argument supplied for foreach() in /home/www/drupal-6.2/sites/all/modules/audio/getid3/audio_getid3.module on line 294.
* The following errors where encountered while reading the file's ID3 tags:
o Could not open file ""
* warning: array_merge() [function.array-merge]: Argument #1 is not an array in /home/www/drupal-6.2/sites/all/modules/audio/getid3/audio_getid3.module on line 314.
* warning: array_merge() [function.array-merge]: Argument #1 is not an array in /home/www/drupal-6.2/sites/all/modules/audio/getid3/audio_getid3.module on line 316.
#4
I am also getting an error when I save a content type which is not Audio:
The following errors where encountered while reading the file's ID3 tags:
* Could not open file ""
#5
Yup, confirmed. Same thing here. Error I'm seeing on any CCK node creation/save is:
* warning: Invalid argument supplied for foreach() in /sites/all/modules/audio/getid3/audio_getid3.module on line 294.* The following errors where encountered while reading the file's ID3 tags:
o Could not open file ""
* warning: array_merge() [function.array-merge]: Argument #1 is not an array in /sites/all/modules/audio/getid3/audio_getid3.module on line 314.
* warning: array_merge() [function.array-merge]: Argument #1 is not an array in/sites/all/modules/audio/getid3/audio_getid3.module on line 316.
#6
Would this be a problem with the Audio module then?
#7
yeah it's totally the audio module's fault. leaving this here though so people will stop opening new duplicate issues.
#8
Yes, I am having the same problem with Drupal 5X and Audio 5.14
#9
I am having the same problem... It is related to the audio module, but it seems that there are no active work on this module.
Thanks to anyone who can give us more info on this.
#10
I have the same error. Installed audio and getid3, and the error appears when creating a new audio node.
The following errors where encountered while reading the file's ID3 tags:
* Could not open file ""
#11
Same error. Is anyone supporting this module?