Auto-Suggest is Broken
-
The plugin is broken and gives the error “undefined undefined” when you type @ and a letter after it.
I’m using version 1.6.1
Can you please help?
-
I can’t immediately, but I’ll look into it when I get some time. You’ll need to let me know what versions of WordPress, BuddyPress you have, and what theme you’re using.
Hi Paul,
Thank you for your response. I’ve seen other people also mention this problem on the wordpress forum.
I’m using WordPress 3.4.1, and BuddyPress 1.6.1.
The theme is the default BuddyPress theme with a few css modifications.
Looking forward to your response.
It’s probably weeks/month away from being looked at; Labs is low priority for me, and I’m very busy at the moment.
Hey Paul,
Thanks for telling me. I’ll try to fix it, atleast a temporary solution.
Look forward to whenever you are ready to look into it.
Manish – did you get a temp fix for this? Pls share. Thanks
I have the same probleme with frisco theme! my community membres love that option, I hope that you’ll fix it as soon as possible

I am looking into it but till now haven’t found the fix. What I see is this:
In jquery.mentions.js , we have the following ajax request
`$.ajax({
dataType : o.dataType,
type : ‘POST’,
url : ajaxurl,
data : {
‘action’ : ‘activity_mention_autosuggest’,
‘cookie’ : encodeURIComponent(document.cookie),
‘format’ : o.dataType,
‘limit’ : o.max_suggestions,
‘search’ : query
},// Callbacks
error : o.error,
success : function(response, textStatus, jqXHR) { receive_results( response, textStatus, jqXHR, query ); }});`
Now the issue is that the response is always 0, no matter what you do. i am checking if the action activity_mention_autosuggest is being called properly. In my understanding, the problem lies with the data action in the above jquery.
If Paul could spend a few minutes and help in this, I would really appreciate it.
@djpaul try to spend few minutes to look where is the probleme :’(
I could not really solve the problem, but what I did is deactivate the plugin, and then copy the relevant files and functions for autosuggest to my theme folder and it’s started working.
@financetrain Can I ask exactly which files and functions did you need to copy to get it working? Thanks.
Just wanted to note that I also have this problem. If anyone can suggest a fix, please post it here.
Anyone ?
Hi! all
Same problem here. The BP Labs @mentions plugin is broken.
@Manish please share with us how you have fixed it (temporarily though). I have latest WP+BP+BPLabs, Theme SOCIAL(latest)Someone’s provided a patch on Github for this, but I haven’t checked it out yet: https://github.com/paulgibbs/BP-Labs/pull/1
I replaced the breaker.php from 1.2.2 with the updated breaker.php on github
(https://github.com/rmccue/BP-Labs/blob/916b63f817553a8d5b0cbd408b9ada78fd2be1c0/beakers/class-bplabs-beaker.php)
and the auto-suggest finds the username and auto-completes, the ajax dropdown seems a little quirky but everything works.
The forum ‘BP Labs’ is closed to new topics and replies.