I upgraded to 1.2 from 1.1 today. /admin/og wouldn't display anything. i checked the php log which gives the message

 PHP Fatal error:  Unsupported operand types in /srv/www/modules/system/system.module on line 626

when browsed to /admin/og.

The main administration page for og (under /admin/og/og) works fine. I disabled all og related modules. still the same.

I'd have posted the list of enabled modules, but there are 20-25 of them out of ~50 listed. is there an easy way to extract installed modules list?

Comments

hdornier’s picture

I have the same problem

totocol’s picture

Same here. Could not find a solution on the net

dimiduj’s picture

Hi
May be should you try to rebuild the menu router (with devel module or by executing the drupal function menu_rebuild() )

Hope it could help.

alexharries’s picture

Thanks for the suggestion dimiduj, but it didn't help me. This is the offending line (beginning "$item += db_fetch_array") and a couple either side of it:

function system_admin_menu_block($item) {
  $content = array();
  if (!isset($item['mlid'])) {
    $item += db_fetch_array(db_query("SELECT mlid, menu_name FROM {menu_links} ml WHERE ml.router_path = '%s' AND module = 'system'", $item['path']));
  }
  $result = db_query("
    SELECT m.load_functions, m.to_arg_functions, m.access_callback, m.access_arguments, m.page_callback, m.page_arguments, m.title, m.title_callback, m.title_arguments, m.type, m.description, ml.*
    FROM {menu_links} ml
    LEFT JOIN {menu_router} m ON ml.router_path = m.path
    WHERE ml.plid = %d AND ml.menu_name = '%s' AND hidden = 0", $item['mlid'], $item['menu_name']);
  while ($item = db_fetch_array($result)) {
    _menu_link_translate($item);
moshe weitzman’s picture

Status: Active » Closed (fixed)

not og related

kenorb’s picture