Fatal error: Unsupported operand types in X:\XXXX\XXXX\XXXX\sites\all\modules\messaging\messaging.module on line 711

vertazzar - July 3, 2009 - 22:53
Project:Flag Friend
Version:6.x-1.0-beta5
Component:Code
Category:bug report
Priority:critical
Assigned:Unassigned
Status:closed
Description

I'm using the messaging 6.2xx

I tested module in 6.x dev and 6.x beta 5 still getting same bug..

and the popups integration is broken when i try to add user as a friend it gets "bad sumission response" => the error
Fatal error: Unsupported operand types in X:\XXXX\XXXX\XXXX\sites\all\modules\messaging\messaging.module on line 711

And when i want to remove a friend, the popups just loads loads and loads, to infinity.
I'm using 6.1.x popups

#1

vertazzar - July 4, 2009 - 10:10
Status:active» fixed

commented the

function flag_friend_popups() {
  return array(
    'user/*' => array( // any user page
      'span.flag-friend a' => array(
        'afterSubmit' => 'Drupal.flagFriendPopupsAfterSubmit',
      ),
    ),
    'user/*/friends/*' => array( // friend views
      'span.friend a' => array(
        'afterSubmit' => 'Drupal.flagFriendPopupsAfterSubmit',
      ),
    ),
  );
}

and

function flag_friend_init() {
  // add a little notice to our popups
  if (module_exists('popups')) {
    drupal_add_js(drupal_get_path('module', 'flag_friend') .'/flag_friend.popups.js');
  }
}
to make popups work on my way. I added hook for this with normal Popups APi by adding to popups_admin.module :
'*' => array(
     '.classofmyflaglink a', //other classes
    ),
   
   
  );
}

And to fix messaging i enabled privatemessage integration message

#2

System Message - July 18, 2009 - 10:20
Status:fixed» closed

Automatically closed -- issue fixed for 2 weeks with no activity.

 
 

Drupal is a registered trademark of Dries Buytaert.