Skip to:
Content
Pages
Categories
Search
Top
Bottom

Custom Component's Page goes AWOL

  • @kellbot

    Participant

    We run a custom component called Buddypress Private Checklist on our site. https://github.com/offbeat-empire/buddypress-private-checkist

    Unfortunately, about once a day Buddypress seems to “forget” what page is associated with the component. I’ve confirmed that no one is intentionally unsetting it. And of course isn’t isn’t happening on my dev environment.

    Any suggestions on how to debug this would be appreciated, as the Component API docs seem to have been truncated or missing.

    Component API

Viewing 3 replies - 1 through 3 (of 3 total)
  • @hnla

    Participant

    That codex page had been edited at some point and the api example removed, checking it proved not to be worthwhile pulling up a revision copy though so page is suspended for review, sorry about that.

    For the moment this page exists but will too be in need of review:

    BP_Component

    @r-a-y

    Keymaster

    @kellbot

    Participant

    Thanks! I’ll check out both of those. I’m updating a plugin that was written many years ago by another developer so it’s a little bit of an uphill climb.

    As a stopgap I’ve created a little function that checks on init to see if the component’s page is set, and if it isn’t it corrects it and emails me to let me know it had to. The page gets unset at the exact same time every day, if that’s at all interesting to anyone.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Custom Component's Page goes AWOL’ is closed to new replies.
Skip to toolbar