<div>Simon - WP_DEBUG true, php.ini set to log errors, and no PHP-related errors present in the log.</div><div><br></div>Mike - Exactly what I get on localhost, and those errors do make sense according to what I've discovered in the code - yet on my hosting account, the settings gets saved fine with no errors, and work as expected.<div>
<br></div><div>I've never come across a situation like this. If the errors are not always replicable, would we give the submitter the benefit of the doubt and approve the theme? Or maybe require some sort of YMMV notice? Frankly, I want to simply require the changes that I know will fix it for our localhost situation, but that seems weird to insist a submitter change code for errors that can't always be reproduced.</div>
<div><br></div><div>Any suggestions?</div><div><br></div><div><br><br><div class="gmail_quote">On 22 January 2012 16:50, Michael Fields <span dir="ltr"><<a href="mailto:michaelfields@automattic.com">michaelfields@automattic.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi!<br>
<br>
I received no errors when I installed this theme on localhost with WP_DEBUG defined as true.<br>
<br>
Once I navigated to Appearance -> Mantra Settings (better stated as "Theme Options") and clicked the "Save Settings" button without making any changes, I got 3 notices and a warning:<br>
<br>
( ! ) Notice: Undefined index: mantra_facebook in /Users/me/Sites/wp-content/<u></u>themes/mantra/admin/mantra-<u></u>admin-functions.php on line 1374<br>
Call Stack<br>
# Time Memory Function Location<br>
1 0.0009 426372 {main}( ) ../options.php:0<br>
2 0.2720 19835680 update_option( ) ../options.php:149<br>
3 0.2720 19835728 sanitize_option( ) ../option.php:227<br>
4 0.2720 19835792 apply_filters( ) ../formatting.php:2627<br>
5 0.2721 19836664 call_user_func_array ( ) ../plugin.php:170<br>
6 0.2721 19836680 ma_options_validate( ) ../plugin.php:170<br>
<br>
( ! ) Notice: Undefined index: mantra_tweeter in /Users/me/Sites/wp-content/<u></u>themes/mantra/admin/mantra-<u></u>admin-functions.php on line 1375<br>
Call Stack<br>
# Time Memory Function Location<br>
1 0.0009 426372 {main}( ) ../options.php:0<br>
2 0.2720 19835680 update_option( ) ../options.php:149<br>
3 0.2720 19835728 sanitize_option( ) ../option.php:227<br>
4 0.2720 19835792 apply_filters( ) ../formatting.php:2627<br>
5 0.2721 19836664 call_user_func_array ( ) ../plugin.php:170<br>
6 0.2721 19836680 ma_options_validate( ) ../plugin.php:170<br>
<br>
( ! ) Notice: Undefined index: mantra_rss in /Users/me/Sites/wp-content/<u></u>themes/mantra/admin/mantra-<u></u>admin-functions.php on line 1376<br>
Call Stack<br>
# Time Memory Function Location<br>
1 0.0009 426372 {main}( ) ../options.php:0<br>
2 0.2720 19835680 update_option( ) ../options.php:149<br>
3 0.2720 19835728 sanitize_option( ) ../option.php:227<br>
4 0.2720 19835792 apply_filters( ) ../formatting.php:2627<br>
5 0.2721 19836664 call_user_func_array ( ) ../plugin.php:170<br>
6 0.2721 19836680 ma_options_validate( ) ../plugin.php:170<br>
<br>
( ! ) Warning: Cannot modify header information - headers already sent by (output started at /Users/me/Sites/wp-content/<u></u>themes/mantra/admin/mantra-<u></u>custom-styles.php:123) in /Users/me/Sites/trunk/wp-<u></u>includes/pluggable.php on line 866<br>
Call Stack<br>
# Time Memory Function Location<br>
1 0.0009 426372 {main}( ) ../options.php:0<br>
2 0.2959 19868080 wp_redirect( ) ../options.php:165<br>
3 0.2960 19873744 header ( ) ../pluggable.php:866<br>
<br>
Also, when I switch from Mantra to a new theme, I get the following:<br>
<br>
Warning: Cannot modify header information - headers already sent by (output started at /Users/me/Sites/wp-content/<u></u>themes/mantra/admin/mantra-<u></u>custom-styles.php:123) in /Users/me/Sites/trunk/wp-<u></u>includes/pluggable.php on line 866<br>
<br>
Hope this helps,<br>
-Mike<div class="HOEnZb"><div class="h5"><br>
______________________________<u></u>_________________<br>
theme-reviewers mailing list<br>
<a href="mailto:theme-reviewers@lists.wordpress.org" target="_blank">theme-reviewers@lists.<u></u>wordpress.org</a><br>
<a href="http://lists.wordpress.org/mailman/listinfo/theme-reviewers" target="_blank">http://lists.wordpress.org/<u></u>mailman/listinfo/theme-<u></u>reviewers</a><br>
</div></div></blockquote></div><br></div>