Incompatible add-on modules cause "Fatal error: Unsupported operand types in flag.module on line 1575"
vertazzar - November 6, 2009 - 16:20
| Project: | Flag |
| Version: | 6.x-2.0-beta1 |
| Component: | Flag core |
| Category: | support request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
Jump to:
Description
Fatal error: Unsupported operand types in all\modules\flag\flag.module on line 1575
http://pokit.etf.ba/upload/pokitb8b26f24186191c7af8a25e2cc6115ca.png

#1
This is not a bug in Fivestar, but instead a problem with some module that is implementing hook_flag_link_types() that is not returning an array. I'd suggest disabling any other Flag-related modules you have until the error goes away, then move this report to that module's queue. Changing "+=" to "=" will completely break Flag, as it will break all the available flag types.
Note that all other Flag-related modules are probably not yet compatible with Flag 2.x. Unless the project page specifically says it supports 2.x, it probably isn't compatible with the new version.
#2
aha, thanks - sorry
#3
Updating title to reflect problem.
#4
btw - the addon modules that I use are Flag friend, and Flag note