Download & Extend

Incompatible add-on modules cause "Fatal error: Unsupported operand types in flag.module on line 1575"

Project:Flag
Version:6.x-2.0-beta1
Component:Flag core
Category:support request
Priority:normal
Assigned:Unassigned
Status:closed (duplicate)

Issue Summary

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

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

Comments

#1

Category:bug report» support request

This is not a bug in Flag, 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.

EDIT: I changed the module name to "Flag" instead of "Fivestar", sometimes I get a little confused cleaning up my issue queues.

#2

aha, thanks - sorry

#3

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

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

#5

Subscribing.

Following here too http://drupal.org/node/642942

#6

Status:active» closed (duplicate)

Thanks for the pointer brisath. There's no point in keeping this issue open, since it's not actually caused by Flag module at all. Let's consolidate this with #642942: Flag 6.2.x-dev - is it compatible with Flag note?.

nobody click here