divergeinfinity/WordPress-TOPF — Issue #1: Undefined indexes & Cannot modify header information - headers already sent 
Author: bramboersma
Created: 2012-01-16 13:34:00+00:00
State: open

Hi!

I'm using your work (WordPress-TOPF) for my new theme and I must say, it's amazing!
But there are some issues.

I will try to fix it for my theme but thought you should know.

Content Tab
-----
After saving:

Notice: Undefined index: exclude_cats_home in /Applications/MAMP/htdocs/wp-content/themes/customtheme/_admin/options-register.php on line 127

Warning: Cannot modify header information - headers already sent by (output started at /Applications/MAMP/htdocs/wp-content/themes/customtheme/_admin/options-register.php:127) in /Applications/MAMP/htdocs/wp-includes/pluggable.php on line 866
-----
Current tab

Notice: Undefined index: postdivider_width in /Applications/MAMP/htdocs/wp-content/themes/customtheme/_admin/Options-Parser.php on line 555
Notice: Undefined index: postdivider_style in /Applications/MAMP/htdocs/wp-content/themes/customtheme/_admin/Options-Parser.php on line 556
Notice: Undefined index: postdivider_color in /Applications/MAMP/htdocs/wp-content/themes/customtheme/_admin/Options-Parser.php on line 557

-----
Notice: Undefined index: firstpost_border_width in /Applications/MAMP/htdocs/wp-content/themes/customtheme/_admin/Options-Parser.php on line 555

Notice: Undefined index: firstpost_border_style in /Applications/MAMP/htdocs/wp-content/themes/customtheme/_admin/Options-Parser.php on line 556

Notice: Undefined index: firstpost_border_color in /Applications/MAMP/htdocs/wp-content/themes/customtheme/_admin/Options-Parser.php on line 557
----
Notice: Uninitialized string offset: 1 in /Applications/MAMP/htdocs/wp-content/themes/customtheme/_admin/Options-Parser.php on line 294

-----
Style Tab

Notice: Undefined index: alt_stylesheet in /Applications/MAMP/htdocs/wp-content/themes/customtheme/_admin/options-register.php on line 184

Warning: Cannot modify header information - headers already sent by (output started at /Applications/MAMP/htdocs/wp-content/themes/customtheme/_admin/options-register.php:184) in /Applications/MAMP/htdocs/wp-includes/pluggable.php on line 866