Membership Plugin

WordPress Membership Plugin

  • Home
  • Documentation
  • Addons
  • Support
    • Quick Setup
    • Documentation
    • Premium Addon Support
    • Paid Support
    • Support Forum
    • Support Forum Search
    • Forum Login
    • Forum Registration
  • Contact

[Resolved] swpm_update_level_to level redirect_to generated php headers warning

Simple Membership Plugin › Forums › Simple Membership Plugin › swpm_update_level_to level redirect_to generated php headers warning

  • This topic has 8 replies, 3 voices, and was last updated 6 years, 11 months ago by Mindyk.
Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • May 19, 2019 at 4:56 am #18244
    Mindyk
    Participant

    I’m using the miscellaneous shortcodes plugin to enable a plan level change.

    When I put a redirect on the level update shortcode, I get the errors below. Here’s my shortcode (using google in place of my dev url).

    [swpm_update_level_to level=”11″ button_text=”Continue as Free Member” redirect_to”https://google.com”%5D

    Warning: Cannot modify header information - headers already sent by (output started at /homepages/16/d155856481/htdocs/devjrwxman/wp-content/themes/Extra/page-template-fullwidth.php:6) in /homepages/16/d155856481/htdocs/devjrwxman/wp-includes/pluggable.php on line 1251
    
    Warning: Cannot modify header information - headers already sent by (output started at /homepages/16/d155856481/htdocs/devjrwxman/wp-content/themes/Extra/page-template-fullwidth.php:6) in /homepages/16/d155856481/htdocs/devjrwxman/wp-includes/pluggable.php on line 1254

    When I examined page-template-fullwidth.php file, line 6 is a blank line. I tried removing the line, but then it broke the page header call that comes on line 7.

    The other redirect options in Simple Membership work as expected, so I’m leaning towards this plugin add on as the culprit, but I don’t know how to troubleshoot this further.

    May 19, 2019 at 5:10 am #18245
    Mindyk
    Participant

    i know there’s a typo in the above shortcode in this post, but that was just an accident here.
    The right shortcode, which still gives the error is:

    [swpm_update_level_to level=”11″ button_text=”Continue as Free Member” redirect_to=”https://google.com”]

    The theme developer told me “it looks like coming from a plugin that has a header code line that already exists.”

    Thanks!

    May 19, 2019 at 6:01 am #18247
    Mindyk
    Participant

    For what it’s worth, i deactivated all of my plugins and switched to the WP 2019 theme and the problem persists. I’ve got to think it’s a problem with this plugin in particular.

    May 19, 2019 at 9:40 am #18248
    mbrsolution
    Moderator

    Hi, looking at your shortcode I see some errors with the double quotes. Please try the following shortcode. Let me know if this works for you.

    [swpm_update_level_to level="11" button_text="Continue as Free Member" redirect_to="https://google.com"]

    Kind regards

    May 19, 2019 at 5:55 pm #18249
    Mindyk
    Participant

    The error in the shortcode was just a typo in this forum post. I double-checked the code and it is right in the site. For the heck of it, I tried without quotes around the URL in the shortcode and it still didn’t work.

    I feel like there’s something about how this add-on plugin works with the main plugin that is somehow triggering a second call for the WordPress header.

    May 19, 2019 at 9:11 pm #18250
    mbrsolution
    Moderator

    Hi, thank you for reporting back. I have submitted a message to the developers to investigate further your issue.

    Kind regards

    May 20, 2019 at 7:49 am #18252
    admin
    Keymaster

    I have applied a fix for this in that addon. Please download an updated copy of the addon and use that:
    https://simple-membership-plugin.com/simple-membership-miscellaneous-shortcodes-addon/

    May 20, 2019 at 3:33 pm #18256
    Mindyk
    Participant

    It’s still broken. If you’d like me to send you credentials to test with, I’m happy to do so. This is the development version of the site.

    Thanks!

    May 20, 2019 at 7:33 pm #18258
    Mindyk
    Participant

    I just checked the file I downloaded and the main.php file still says version 1.4. Maybe I didn’t get the new version?

    Thanks!

  • Author
    Posts
Viewing 9 posts - 1 through 9 (of 9 total)
  • You must be logged in to reply to this topic.
Log In

Please read this message before using our plugin.

Search

Featured Addons and Extensions

  • Membership Form Builder Addon
  • Member Directory Listing Addon
  • WooCommerce Payment Integration
  • Member Data Exporter Addon

Documentation

  • Documentation Index Page

Copyright © 2026 | Simple Membership Plugin | Privacy Policy