{"id":14381296,"date":"2021-04-29T18:30:23","date_gmt":"2021-04-29T18:30:23","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/issue-saving-posts-pages\/"},"modified":"2021-04-29T18:30:23","modified_gmt":"2021-04-29T18:30:23","slug":"issue-saving-posts-pages","status":"publish","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/issue-saving-posts-pages\/","title":{"rendered":"Issue Saving Posts\/Pages"},"content":{"rendered":"<p><strong>Plugin Version:<\/strong> 2.3.11.1<br \/>\n<strong>Hosting Environment:<\/strong> WPEngine, PHP 7.3<\/p>\n<p>Uncovered a strange issue today, though my client states it started months ago.<\/p>\n<p>We are unable to save\/update a page or post without the site throwing a 500 error.  After trial and error (enabling default theme, disabling all plugins, re-enabling one by one), we came to the conclusion that it was this one causing the issue.<\/p>\n<p>This is the error in the logs<\/p>\n<p><code>[Thu Apr 29 18:09:17.260852 2021] [php7:error] [pid 30824] [client 66.162.212.19:38406] PHP Fatal error: Uncaught Error: Call to undefined function wp_ada_compliance_check_basic_if_alt_text_includes_exclusion() in \/nas\/content\/live\/MY_WEB_SITE\/wp-content\/plugins\/wp-ada-compliance-check-basic\/res\/rules\/img_linked_to_self.php:31\\nStack trace:\\n#0 \/nas\/content\/live\/MY_WEB_SITE\/wp-content\/plugins\/wp-ada-compliance-check-basic\/res\/content_validation.php(173): wp_ada_compliance_basic_validate_img_linked_to_self(&#039;&lt;p&gt;wpe test 4&lt;\/...&#039;, Array)\\n#1 \/nas\/content\/live\/MY_WEB_SITE\/wp-content\/plugins\/wp-ada-compliance-check-basic\/res\/content_validation.php(48): wp_ada_compliance_basic_complete_content_validations(&#039;&lt;p&gt;wpe test 4&lt;\/...&#039;, Array)\\n#2 \/nas\/content\/live\/MY_WEB_SITE\/wp-content\/plugins\/wp-ada-compliance-check-basic\/res\/content_posts.php(61): wp_ada_compliance_basic_validate_post(Array)\\n#3 \/nas\/content\/live\/MY_WEB_SITE\/wp-includes\/class-wp-hook.php(289): wp_ada_compliance_basic_validate_ada_post_compliance(1, Object(WP_Post))\\n#4 \/nas\/content\/live\/MY_WEB_SITE\/wp-includes\/class-wp-hook.php(311): WP_Hook-&gt;apply_filters(1, Arra in \/nas\/content\/live\/MY_WEB_SITE\/wp-content\/plugins\/wp-ada-compliance-check-basic\/res\/rules\/img_linked_to_self.php on line 31, referer: https:\/\/MY_WEB_SITE.wpengine.com\/wp-admin\/post.php?post=1&amp;action=edit<\/code><\/p>\n","protected":false},"template":"","class_list":["post-14381296","topic","type-topic","status-publish","hentry","topic-tag-500-error","topic-tag-code-issue","topic-tag-php-fatal-error","topic-tag-undefined-function","topic-tag-wpengine"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/14381296","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\/14381296\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=14381296"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}