{"id":18300517,"date":"2025-02-12T05:30:59","date_gmt":"2025-02-12T05:30:59","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/php-errors-333\/"},"modified":"2025-02-12T05:30:59","modified_gmt":"2025-02-12T05:30:59","slug":"php-errors-333","status":"publish","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/php-errors-333\/","title":{"rendered":"PHP Errors"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">Since updating to the latest version, I am getting two PHP errors (one warning, one fatal): <\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><code>PHP Warning: Undefined variable $submission in ...<a href=\"http:\/\/mgmtquestions.com\/wp-content\/plugins\/html-forms\/src\/class-forms.php\" target=\"_blank\" rel=\"noreferrer noopener\">\/wp-content\/plugins\/html-forms\/src\/class-forms.php<\/a> on line 333<\/code><br \/><br \/><code>PHP Fatal error: Uncaught TypeError: HTML_Forms\\Forms::get_response_for_error_code(): Argument #3 ($submission) must be of type HTML_Forms\\Submission, null given, called in ...<a href=\"http:\/\/mgmtquestions.com\/wp-content\/plugins\/html-forms\/src\/class-forms.php\" target=\"_blank\" rel=\"noreferrer noopener\">\/wp-content\/plugins\/html-forms\/src\/class-forms.php<\/a> on line 334 and defined in ...<a href=\"http:\/\/mgmtquestions.com\/wp-content\/plugins\/html-forms\/src\/class-forms.php:380\" target=\"_blank\" rel=\"noreferrer noopener\">\/wp-content\/plugins\/html-forms\/src\/class-forms.php:380<\/a><\/code><\/p>\n","protected":false},"template":"","class_list":["post-18300517","topic","type-topic","status-publish","hentry"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/18300517","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\/18300517\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=18300517"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}