Error while sending messages to users with special chars in XProfile-Names
BP 1.1 RC1, WPMU 2.84a
Buddypress users may set up a “name” in their Profile data. In contrast to user_logins these names are not limited in characters. For instance, some of our beta testers use parentheses in names: “userx (admin)” .
But if I try to send a message to them, I get this error:
Warning: Invalid argument supplied for foreach() in /home/wpmu/wp-content/plugins/buddypress/bp-messages/bp-messages-templatetags.php on line 613
Warning: implode() [function.implode]: Invalid arguments passed in /home/wpmu/wp-content/plugins/buddypress/bp-messages/bp-messages-templatetags.php on line 616
And if I try to view the send message I get this error:
Warning: implode() [function.implode]: Invalid arguments passed in /home/wpmu/wp-content/plugins/buddypress/bp-messages/bp-messages-classes.php on line 303
These errors do not come up, if the names are special characters free.
Is this bug known? Or, better, is there a workaround? Like a way to strip sepecial characters from names before they are processed.
You must be logged in to reply to this topic.