Support Forum

Error when using "add all recipients to buddy list"

DA Dave
Dave
Member

Board is running with three test members. Using PM plugin. New install of both WP and SP

A member reports the following error when he clicks “Add all Recipients to Buddy List” button:

Fatal error:[] operator not supported for strings in /problem-with-post-edit-buttonome/xxxyyyzzz/public_html/tiger_test/wp-content/sp-resources/forum-plugins/private-messaging/library/sp-pm-database.php on line 89

27 Answers

New Answer

DA Dave
Dave
Member

I guess I forgot some pertinent information!

WP 3.3b4
SP 5 build 7392
PM 1.0.1

I’ll ask the user to try duplicating and see if they can grab a screenshot.

YS Yellow Swordfish
Yellow Swordfish
Member

And if anything is reported in the error console (Firebug or equivalent depending on the browser) which is really what s needed.

DA Dave
Dave
Member

OK, browser was seamonkey, which is interesting as Firefox is fine.
error.png

YS Yellow Swordfish
Yellow Swordfish
Member

That is a most bizarre and inexplicable error message! And I can’t see that as being browser related.

I will open a ticket on it even though it seems (to date) an isolated incident but it is worth investigating. Thanks for the extra info.

MP Mr Papa
Mr Papa
Member

I cannot reproduce in the standard browsers we support on pc…

DA Dave
Dave
Member

Just seamonkey, which confuses me a bit (what doesn’t) since it uses most of the mozilla code.

MP Mr Papa
Mr Papa
Member

all browsers tend to have diff js engines so could be something related to that…

YS Yellow Swordfish
Yellow Swordfish
Member

Are things fine when this specific user switches to Firefox or an alternative? That’s about the only way to determine if the browser itself is an influence here…

DA Dave
Dave
Member

It appears that he is experiencing it in Chrome and Opera also, so it’s on his end. Sorry to waste your time, but greatly appreciate the attention you’ve given to the issue – outstanding!

YS Yellow Swordfish
Yellow Swordfish
Member

Thanks. We can not replicate and so far this is the only report but we will look closely at the code to see if we can diagnose the scenario that might cause this.

DA Dave
Dave
Member

OK, sorry to bring this up again, but I have duplicated the issue…

I had the user try on multiple computers with the same result. I logged in as user from my home and attempted to add 1 user to the Buddy list. The user was not added to the list and immediately repeating the process produced the error.

I tried again, this time using 2 users separated by a comma. Neither user was added to the buddy list and a second attempt produced the error.
https://simple-press.com/wp-content/forum-uploads/dave-h/2011/12/Mikes-buddies.png

MP Mr Papa
Mr Papa
Member

well, now you have confused me…  up until this point, it was, as the title indicates, add all recipients to buddy list…  that is from the PM page…

your current image has nothing to do with pms or the original topic of the post…  so unless all the previous posts were a incorrect, not a duplicate…

so you can make this happen in two places now??? or one (and which one)??

and unfortunately, this is still an isolated incident… we have a ticket open, but are not able to replicate – nor has anyone else reported it…  have tried with empty, single, multiple, etc with no luck on multiple browsers…

at this point, you would need to provide us (both andy and myself) a temp user account to try to see what might be going on…

what was your exact entry for the names?

DA Dave
Dave
Member

Did not intend to confuse. Since the user was having difficulty adding buddies through the PM interface I suggested they try adding them individually through the buddy/advesary panel of the profile, which produced the same result – No buddies and an error.
I requested the users password and duplicated the error on my end (using FF).

your current image has nothing to do with pms or the original topic of the post

Maybe I should have started a new topic, but in my mind it is a continuation of the original issue. Attempting to add Buddies – in any manner – results in no buddies and an error. Both errors also reference the private-messaging/library/ directory – one error for each file located in the directory. The first instance references $buddies[] = $id; and the second reverences $newBuddies[] = $userId;

As an added bonus I attempted to reproduce the original “add all recipients to buddy list” issue and was able to.

I will PM you both the user/pass in questions and an additional Admin user/pass.