Im guessing line 1092 needs fixing? Im not sure but it does not occur when including the default bookmarks flag. As soon as I deleted the abuse_[comment] flag type I could view my content type; with it enabled I get the {Fatal error: Unsupported operand types} error... when trying to view a node with that flag included.

Here is the output of debugging as directed @ http://drupal.org/node/362799

array (
  'file' => '/var/www/rosettaskitchen.com/sites/all/modules/flag/flag.module',
  'line' => 1092,
  'function' => 'url',
  'args' => 
  array (
    0 => NULL,
    1 => NULL,
  ),
)

Comments

Macronomicus’s picture

Forgot to add that I am running
drupal 6.10
and the content type the error appeared on was Album, as created by the album photos module.
Also I have ajax comments enabled for this content type.

Edit:Still the error only appears when the Default supplied abuse_comment flag is enabled. The bookmark flag doesnt appear to be unhappy.

WildBill’s picture

subscribe

mitchell’s picture

Component: Miscellaneous » Code

Please provide a step by step guide for how to reproduce this bug.

quicksketch’s picture

Component: Code » Miscellaneous
Priority: Critical » Normal
Status: Active » Postponed (maintainer needs more info)

Are you using flag_abuse.module? Perhaps the issue should be moved over there rather than being in the flag.module queue, since as you say Flag is working fine until you enable the abuse flag.

quicksketch’s picture

Component: Code » Miscellaneous
Status: Postponed (maintainer needs more info) » Closed (fixed)

If this problem should indeed be fixed in Flag module, please reopen.