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
Description

Fatal error: Unsupported operand types in all\modules\flag\flag.module on line 1575

http://pokit.etf.ba/upload/pokitb8b26f24186191c7af8a25e2cc6115ca.png

#1

quicksketch - November 6, 2009 - 16:32
Category:bug report» support request

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

vertazzar - November 6, 2009 - 16:36

aha, thanks - sorry

#3

quicksketch - November 6, 2009 - 16:36
Title:flag.module on line 1575 - typo» Incompatible add-on modules cause "Fatal error: Unsupported operand types in flag.module on line 1575"

Updating title to reflect problem.

#4

vertazzar - November 25, 2009 - 21:20

btw - the addon modules that I use are Flag friend, and Flag note

 
 

Drupal is a registered trademark of Dries Buytaert.