Skip to:
Content
Pages
Categories
Search
Top
Bottom

Buudypress not writing cookies


  • bcanr2d2
    Participant

    @bcanr2d2

    I am trying to use bp_core_add_message to show when an Xprofile field is in error.

    Following through the code, the template notices exist in the function bp_core_add_message.

    Anywhere after this point, they do not appear to be saved in the $bp global, nor do the cookies write in the browser.

    Any help would be appreciated.

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

  • Henry Wright
    Moderator

    @henrywright

    Are you sure bp_core_add_message() is being executed?


    bcanr2d2
    Participant

    @bcanr2d2

    Yes, I used wp_mail to send me the relevant error message and message type that was set during the bp_core_add_message

    It was the same as sent to the function.


    bcanr2d2
    Participant

    @bcanr2d2

    The site is on https, would that make a difference?


    Henry Wright
    Moderator

    @henrywright

    The site is on https, would that make a difference?

    It shouldn’t because setcookie() is passed is_ssl() as the 6th argument.


    bcanr2d2
    Participant

    @bcanr2d2

    Found a couple of unncessary plugins that were throwing “Cannot modify header information” errors – have removed those now.


    bcanr2d2
    Participant

    @bcanr2d2

    I look to have fixed my cookie issues, where should these messages appear, in a template_notices div?

Viewing 6 replies - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.
Skip to toolbar