Reg Level Plugin : Not Working with 2.7 (6 posts)

Warning: Cannot modify header information - headers already sent by (output started at /home/.chad/mshearer/www.netexperienced.com/cms/wp-content/themes/plainscape.1.0/plainscape/page.php:10) in /home/.chad/mshearer/www.netexperienced.com/cms/wp-includes/pluggable.php on line 850

I disable the Reg Level Plugin and this error disappears. I tried Reg Level on a different site and got a similar error (different location in the code, however).

I tried going into the plugin to look for whitespaces, as well as the place in the code highlighted by the warning, but no luck.

Sorry for taking so long to get on this. The original code used the wp_redirect() function to send people to the appropriate registration page. Unfortunately, this breaks on many themes and on WP 2.7 in particular.

I am still planning a fully-featured new release sometime soon (including upgraded features, admin menus, and a built-in user permissions manager), but since I can't set a specific date I've created a temporary "fix" for the plugin. In situations where headers have already been sent (the error above), the plugin instead feeds a meta redirect to the page. This isn't the best way to do things ... but it will work for now and will give me time to finish polishing off version 1.0 of the plugin.

mfshearer72 - The newest version of the plug-in is now available from the WordPress repository. It no longer uses the wp_redirect() function or the hacked together meta refresh I had set up for the temporary fix. The new version (1.0) uses a completely different - and safe - method for redirection and setting user roles.