Bootstrap error when remove buddy

rizqi - July 15, 2008 - 00:00
Project:Buddylist2
Version:5.x-1.0-beta1
Component:Buddylist UI
Category:bug report
Priority:normal
Assigned:Unassigned
Status:closed
Description

i got error message when remove buddy

* warning: Illegal offset type in isset or empty in /home/betaitb/public_html/includes/bootstrap.inc on line 748.
* warning: Illegal offset type in /home/betaitb/public_html/includes/bootstrap.inc on line 749.
* warning: Illegal offset type in /home/betaitb/public_html/includes/bootstrap.inc on line 752.

i found this error is coming from

function buddylist_ui_deletebuddy($uid) {
...
      drupal_set_message('This user is not on your @buddylist', buddy_api_translation());
...

i change this to

function buddylist_ui_deletebuddy($uid) {
...
      drupal_set_message(t('This user is not on your @buddylist'), buddy_api_translation());
...

its working now

thanks
Rizqi

#1

rizqi - July 15, 2008 - 00:03

sorry i was wrong, it should be

function buddylist_ui_deletebuddy($uid) {
...
      drupal_set_message(t('This user is not on your @buddylist', buddy_api_translation()));
...

thanks
Rizqi
Professional Drupal Developer
Surabaya, Indonesia

#2

nodestroy - August 2, 2008 - 09:46
Status:patch (code needs review)» fixed

thanks, i fixed that in dev, i will updated beta soon

#3

Anonymous (not verified) - August 16, 2008 - 09:53
Status:fixed» closed

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

 
 

Drupal is a registered trademark of Dries Buytaert.