<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto"><div>Ryan this is completely needless, especially as one of WP's finest already saw fit to answer the question.<br><br>ZOOM ZOOM</div><div><br>On 15 Mar 2013, at 18:45, Ryan Van Etten <<a href="mailto:ryanve@gmail.com">ryanve@gmail.com</a>> wrote:<br><br></div><blockquote type="cite"><div><div dir="ltr">There is a great tool called <a href="https://www.google.com/" target="_blank">Google</a> for troubleshooting errors ;)<div class="gmail_extra"><br clear="all"><div><a href="http://twitter.com/ryanve" target="_blank">@ryanve</a></div>
<br><br><div class="gmail_quote">On Fri, Mar 15, 2013 at 12:52 PM, Otto <span dir="ltr"><<a href="mailto:otto@ottodestruct.com" target="_blank">otto@ottodestruct.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
"Undefined index" are pretty much always where you're using a<br>
variable's value without first testing if the variable is actually set<br>
or not.<br>
<br>
So if you have something like this:<br>
<br>
if ( $_REQUEST['action'] == 'whatever' )<br>
<br>
Then you need to modify it to this:<br>
<br>
if ( isset( $_REQUEST['action'] ) && $_REQUEST['action'] == 'whatever' )<br>
<span><font color="#888888"><br>
-Otto<br>
</font></span><div><br>
<br>
<br>
On Fri, Mar 15, 2013 at 11:36 AM, Carla Izumi Bamford<br>
<<a href="mailto:decadent.muse.org@gmail.com" target="_blank">decadent.muse.org@gmail.com</a>> wrote:<br>
> I'm trying to debug my function.php which is for the option page.<br>
> And I need some help figuring this out.<br>
><br>
> Notice: Undefined index: action in<br>
> /home/sites/heteml/users47/0/0/0/000/web/work/wordpress/wp-content/themes/simplenotes/functions.php<br>
> on line 187<br>
</div><div><div>_______________________________________________<br>
theme-reviewers mailing list<br>
<a href="mailto:theme-reviewers@lists.wordpress.org" target="_blank">theme-reviewers@lists.wordpress.org</a><br>
<a href="http://lists.wordpress.org/mailman/listinfo/theme-reviewers" target="_blank">http://lists.wordpress.org/mailman/listinfo/theme-reviewers</a><br>
</div></div></blockquote></div><br></div></div>
</div></blockquote><blockquote type="cite"><div><span>_______________________________________________</span><br><span>theme-reviewers mailing list</span><br><span><a href="mailto:theme-reviewers@lists.wordpress.org">theme-reviewers@lists.wordpress.org</a></span><br><span><a href="http://lists.wordpress.org/mailman/listinfo/theme-reviewers">http://lists.wordpress.org/mailman/listinfo/theme-reviewers</a></span><br></div></blockquote></body></html>