• Resolved nerdyvampire

    (@nerdyvampire)


    Hi guys. First off, if this is beyond the support you want to offer, that is totally fine, I don’t want to step on your toes, you seem cool.
    I am trying to modify the filter from Danny’s code so the interests are properly set after sync, however I am experiencing that my website fails when I replace functions.php with a file including my new filter.

    Here is my code . The words are Danish, but the comments should be explanatory.

    If you can see what I’m doing wrong I’d appreciate it. I have a notion that my newbieness might cause some obvious mistake.
    But again, I don’t want to waste your time if this is beyond what you do.

    • This topic was modified 8 years, 4 months ago by nerdyvampire.
Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Contributor Lap

    (@lapzor)

    What is the exact error message in the Apache/PHP log when the website fails?

    Thread Starter nerdyvampire

    (@nerdyvampire)

    I did not know I could access that log 😮 I will try and access it monday, from my work PC.

    Plugin Contributor Lap

    (@lapzor)

    If you don’t know how/where to access that log you can ask your hosting provider about this.

    Thread Starter nerdyvampire

    (@nerdyvampire)

    Hey Lap, thanks for your advice so far. Here’s an update.
    I found the error in my code (turns out => isn’t the same as ->). So far so good, but it still doesn’t modify the interests of the users I try to add to the MailChimp list. Not even when I directly try to set one of the interests to true, so that’s what I’m working on now. To figure it out I want to find a way to examine the API call MailChimp got, if I can figure out a way to do that.

    Plugin Contributor Lap

    (@lapzor)

    MailChimp has some limited logs on the API in the same screen where you generate the API keys in your MailChimp.com account, on the bottom of the page.

    Since there have been no replies for awhile I will now mark this ticket as “resolved”. If you are still experiencing this issue or you have a similar problem, please create a NEW ticket. Thank you!

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Modifying a webhook to update interests (PHP)’ is closed to new replies.