Home Forums Newsletter Plugin Support {newsletter_profile_export} page not found

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #88021
    Taruk
    Participant

    When I try this great new function I get the error message Page Not Found.

    Thanks for your support.

    best regards
    Claus

    #88533
    Stefano
    Keymaster

    Hi the tag is {profile_export_url}. Note that we’re revisiting some tags anyway, but that one should work. Where did you find the one you cited in your post? Maybe we wrongly reported it in a documentation page.

    Stefano.

    #88537
    Taruk
    Participant

    Hi Stefano,

    thank you, this works 🙂

    I found the wrong tag in your documentation page that is linked in your last newsletter in the section

    “General Data Protection Regulation and The Newsletter Plugin”

    Would be good to change it.

    – Claus

    #95001
    Anonymous
    Inactive

    Didn’t work for me till I looked at the file at /wp-content/plugins/newsletter/profile/profile.php:
    function hook_wp_loaded() {
    global $wpdb;

    $this->home_url = home_url(‘/’);

    switch (Newsletter::instance()->action) {
    case ‘profile_export’:
    $user = $this->get_user_from_request(true);
    header(‘Content-Type: application/json;chartse=UTF-8’);
    echo $this->to_json($user);
    die();
    }
    there’s a typo there: it should read: header(‘Content-Type: application/json;charset=UTF-8’);

    At least, once I’d corrected it, the link worked

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.