Forum
Member Tag not removed
Even after the update to Perch 2.7.10 and Members 1.1 I still cannot manipulate tags that are assigned to a member.
Neither perch_member_remove_tag nor perch_member_add_tag('subscriber', '[dateinthepast]') seem to have any effect.
Am I doing it wrong or is it still not implemented?
PS: I posted about this problem in the old forums ages ago (https://support.grabaperch.com/index.php?pg=forums.posts&id=10368&pc=6). Any chance to get it fixed?
Nils. Is this on a local web server? I have never been able th remove tags on my localhost. But when I upload to web all of the functions work. It drives me crazy but since it's only failing in development I haven't made noise.
@Robert: No, it is running on a web server. But thanks for your insight.
Where in the page are you calling those? Make sure it happens before anything is output to the browser.
Sorry for taking so long. It is called before
and before anything else is output.
Can you show us the code you're using?
Sure:
The newsletter and its subscribers are managed with another service. That's what $CallService triggers.
Does any of your PHP send HTTP headers?
Nope.
I just tried this with an otherwise blank file:
Doesn't do the trick either.
Can you show be the debug output when that happens?
Here you go:
Ok, I've found it. I'll get a fix out.
That'd be awesome.
Thank you, Drew.
Just realized you already pushed out the fix.
Thanks a lot for that, works like a charm now. :)