{"id":8947915,"date":"2017-03-23T11:41:13","date_gmt":"2017-03-23T11:41:13","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/two-bugs-4\/"},"modified":"2017-03-23T11:41:13","modified_gmt":"2017-03-23T11:41:13","slug":"two-bugs-4","status":"publish","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/two-bugs-4\/","title":{"rendered":"Two bugs"},"content":{"rendered":"<p>Hello,<br \/>\nI am encountering two problems:<br \/>\n1 &#8211; I have a required field that is a dropdown selection of numbers between 0 and 10. The &#8220;required&#8221; algorithm is reading the &#8220;0&#8221; as a null result and returning the &#8220;you must fill out all required fields&#8221; error. <\/p>\n<p>2 &#8211; Upon submitting the form after I fixed that error, I got a fatal error that said this:<\/p>\n<p>Fatal error: Uncaught exception &#8216;phpmailerException&#8217; with message &#8216;Invalid address: (setFrom) wordpress@Dedicated Neural Net.com&#8217; in \/home\/dh_tqfr4z\/dedicatedneural.net\/wp-includes\/class-phpmailer.php:1023 Stack trace: #0 \/home\/dh_tqfr4z\/dedicatedneural.net\/wp-includes\/pluggable.php(352): PHPMailer-&gt;setFrom(&#8216;wordpress@Dedic&#8230;&#8217;, &#8216;Dedicated Neura&#8230;&#8217;, false) #1 \/home\/dh_tqfr4z\/dedicatedneural.net\/wp-content\/plugins\/data-storage\/ghazale-data-storage-main.php(897): wp_mail(&#8216;contact@dedicat&#8230;&#8217;, &#8216;You have new en&#8230;&#8217;, &#8216;&lt;p&gt;You have new&#8230;&#8217;, &#8216;From:Dedicated &#8230;&#8217;) #2 [internal function]: ghazale_ds_insert_field_inputs(&#8221;) #3 \/home\/dh_tqfr4z\/dedicatedneural.net\/wp-includes\/class-wp-hook.php(298): call_user_func_array(&#8216;ghazale_ds_inse&#8230;&#8217;, Array) #4 \/home\/dh_tqfr4z\/dedicatedneural.net\/wp-includes\/class-wp-hook.php(323): WP_Hook-&gt;apply_filters(&#8221;, Array) #5 \/home\/dh_tqfr4z\/dedicatedneural.net\/wp-includes\/plugin.php(453): WP_Hook-&gt;do_action(Array) #6 \/home\/dh_tqfr4z\/dedicatedneural.net\/wp-settings.php(470): do_action(&#8216;wp_loaded&#8217;) #7 in \/home\/dh_tqfr4z\/dedicatedneural.net\/wp-includes\/class-phpmailer.php on line 1023<\/p>\n<p>Glancing at the error, it seems to think my email address is malformed, but of course, that should yield an error message within the program, not kill the app.<\/p>\n<p>Thanks for contributing to the wordpress community!<\/p>\n","protected":false},"template":"","class_list":["post-8947915","topic","type-topic","status-publish","hentry"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/8947915","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic"}],"about":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":0,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/8947915\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=8947915"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}