Fatal error: Unsupported operand types in /*****/*****/sites/all/modules/emfield/contrib/emaudio/emaudio.module on line 23
module disabled
upon confirming uninstall under the uninstall tab I am presented with the error above
Fatal error: Unsupported operand types in /*****/*****/sites/all/modules/emfield/contrib/emaudio/emaudio.module on line 23
module disabled
upon confirming uninstall under the uninstall tab I am presented with the error above
Comments
Comment #1
socialnicheguru commentedI get a similar error
Fatal error: Unsupported operand types in /sites/all/modules/emfield/contrib/emaudio/emaudio.module on line 388
when I am installing the fusion charts module. there is a confirmed name space problem with one of the include files there. I am wondering if there is something going on with the emaudio module too?
Comment #2
pixelpreview@gmail.com commentedyes same problem for me
emaudio\emaudio.module on line 388 ...
the embedded media field breaks my site ! I must delete this module physicaly via ftp !!! ... If I don't do that, I have a white screen of death with my site !
drupal 6.9
emfield laste version
Comment #3
wrburgess commentedsubscribing, same problem
Comment #4
oweno commentedwhat version Drupal ?
trying to reproduce, using 6.10. seems to uninstall cleanly, but few other modules are enabled.
Comment #5
chrissearle commentedI see the same error for all of Embedded Audio Field, Embedded Video Field and Embedded Image Field (Embedded Media Field uninstalled cleanly).
Drupal 6.10
I can leave the module files in place (just not enabled) - so if there is any testing you'd like me to try - let me know.
Comment #6
alex ua commentedThis seems to have been fixed- I can't reproduce.
Comment #7
kmontyThis is occurring for me still.
Comment #8
jdwfly commentedNope this is not fixed.
Line 23
I am not quite sure but I am pretty sure you can't use the += assignment operator with arrays. It needs to be
I found this when I was uninstalling the module.
Edit
I changed it to the brackets and I was able to uninstall fine.
Comment #9
Carlos Miranda Levy commentedProblem remains, manual fix on #8 has to be implemented. Edit emaudio.module manually in the meantime.
Comment #10
DavidWhite commentedSubscribe. Problem remains in newest version of module, 6.x-1.2. I'll try out the manual fix on #8 over the weekend, and if it works, build a patch for the community's use.
Comment #11
aaron commentedThanks; changed emfield to use array_merge and rewrote the various hook_menus to do this properly.