[Plugin: Twitter Follow Me Box] v1.2 Cannot modify header ERROR
-
I trouble shoot with all errors on and before I tried out this plugin live I noticed a small error.
On line 12 of tfmb.php file you have a space… this is what it looks like
<?php /* Plugin Name: Twitter Follow Me Box Plugin URI: http://www.geniusdeveloper.com.br/plugins-2/twitter-follow-me-box/?lang=en Description: Creates a box "follow me" twitter without touching the template Version: 1.2 Author: Rafael Cirolini Author URI: http://www.geniusti.com.br License: GPL2 */ ?> <?php add_action('admin_menu', 'tfmb_add_menu'); add_action('admin_init', 'tfmb_reg_function' ); add_action('wp_head', 'tfmb_add_head'); add_action('init', 'tmfb_reg_jquery');Notice the gap between ?> and <?php get rid of those lines and make it look like this…
<?php /* Plugin Name: Twitter Follow Me Box Plugin URI: http://www.geniusdeveloper.com.br/plugins-2/twitter-follow-me-box/?lang=en Description: Creates a box "follow me" twitter without touching the template Version: 1.2 Author: Rafael Cirolini Author URI: http://www.geniusti.com.br License: GPL2 */ add_action('admin_menu', 'tfmb_add_menu'); add_action('admin_init', 'tfmb_reg_function' ); add_action('wp_head', 'tfmb_add_head'); add_action('init', 'tmfb_reg_jquery');This will prevent output to the browser. The error prevents you from changing any settings in the admin…
Warning: Cannot modify header information – headers already sent by (output started at /var/www/wordpress.com/httpdocs/wp-content/plugins/twitter-follow-me-box/tfmb.php:13) in /var/www/wordpress.com/httpdocs/wp-includes/pluggable.php on line 868
and also an error on the main site.
Warning: Cannot modify header information – headers already sent by (output started at /var/www/wordpress.com/httpdocs/wp-content/plugins/twitter-follow-me-box/tfmb.php:13) in /var/www/wordpress.com/httpdocs/wp-content/plugins/wp-greet-box/wp-greet-box.php on line 1451
Like I said… not a big deal , just a small oversight , although I would recommend testing with all errors on. Great plugin btw!
The topic ‘[Plugin: Twitter Follow Me Box] v1.2 Cannot modify header ERROR’ is closed to new replies.