Sorry for so many posts, but I think I found the culprit:
instead of using ‘$bp->groups->slug’ you should use BP_GROUPS_SLUG in line 220 (bp-seo-meta.inc.php), otherwise it breaks the plugin in case the user is using custom group slugs.
Since my site is heavily modified, I’ll be looking for more bugs. All the best!
After testing a few combinations, I think I found a way to replicate the problems:
1) A fresh install of BP 22.214.171.124 + BP SEO 1.2.1 beta => doesn’t work.
2) A fresh install of BP 126.96.36.199 + BP SEO 1.1 => everything works correctly, but it stops working when I change the default slugs. For example, when I changed the default Group slug to ‘ships’ instead of ‘groups’ BP SEO stoped working correctly.
@snark ‘s code doesn’t seem to work on 1.2.3. For some reason the function bp_get_the_topic_title() doesn’t seem to be returning anything. I’m a python developer by day so, my PHP debugging skills are terrible .
Does anybody know how to update it to get it working again? @r-a-y ?