Title: Issue Saving Posts/Pages
Last modified: April 29, 2021

---

# Issue Saving Posts/Pages

 *  Resolved [Kevin Pirnie](https://wordpress.org/support/users/kevp75/)
 * (@kevp75)
 * [5 years, 1 month ago](https://wordpress.org/support/topic/issue-saving-posts-pages/)
 * **Plugin Version:** 2.3.11.1
    **Hosting Environment:** WPEngine, PHP 7.3
 * Uncovered a strange issue today, though my client states it started months ago.
 * 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.
 * This is the error in the logs
 * `[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('<p>wpe test 4</...', 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('
   <p>wpe test 4</...', 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->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&action=edit`

Viewing 5 replies - 1 through 5 (of 5 total)

 *  Plugin Author [seshelby](https://wordpress.org/support/users/seshelby/)
 * (@seshelby)
 * [5 years, 1 month ago](https://wordpress.org/support/topic/issue-saving-posts-pages/#post-14381540)
 * Hello, Thanks for reporting this. I will get this resolved quickly and have an
   update pushed out for you.
 *  Thread Starter [Kevin Pirnie](https://wordpress.org/support/users/kevp75/)
 * (@kevp75)
 * [5 years, 1 month ago](https://wordpress.org/support/topic/issue-saving-posts-pages/#post-14381567)
 * Appreciate the quick reply!
 *  Plugin Author [seshelby](https://wordpress.org/support/users/seshelby/)
 * (@seshelby)
 * [5 years, 1 month ago](https://wordpress.org/support/topic/issue-saving-posts-pages/#post-14381865)
 * I just pushed an update to correct this. Thanks again for reporting the issue.
 *  Thread Starter [Kevin Pirnie](https://wordpress.org/support/users/kevp75/)
 * (@kevp75)
 * [5 years ago](https://wordpress.org/support/topic/issue-saving-posts-pages/#post-14399501)
 * My apologies, but it does not appear that the issue is corrected. It appears 
   now to only happen when publishing posts… when the post is set to private the
   issue does not happen. it also does not happen when updating existing posts.
 * It “feels” like a conflict somewhere, but by process of elimination, the issue
   does not occur when the Accessibility plugin is disabled
 * [Mon May 03 14:07:27.808500 2021] [php7:notice] [pid 18148] [client THE.CLIENTS.
   IP.ADDRESS:50852] WordPress database error You have an error in your SQL syntax;
   check the manual that corresponds to your MySQL server version for the right 
   syntax to use near ‘))) AND quaws_posts.post_type = ‘post’ AND (quaws_posts.post_status
   = ‘publish” at line 3 for query SELECT SQL_CALC_FOUND_ROWS quaws_posts.ID FROM
   quaws_posts LEFT JOIN quaws_term_relationships ON (quaws_posts.ID = quaws_term_relationships.
   object_id) WHERE 1=1 AND ( \n quaws_term_relationships.term_taxonomy_id IN (2090)\
   n) AND ((())) AND quaws_posts.post_type = ‘post’ AND (quaws_posts.post_status
   = ‘publish’ OR quaws_posts.post_status = ‘acf-disabled’ OR quaws_posts.post_status
   = ‘future’ OR quaws_posts.post_status = ‘draft’ OR quaws_posts.post_status = ‘
   pending’ OR quaws_posts.post_status = ‘private’) GROUP BY quaws_posts.ID ORDER
   BY quaws_posts.menu_order ASC LIMIT 0, 20 /* From [www.THEDOMAIN.com/wp-admin/
   edit.php?s&post_status=all&post_type=post&action=-1&m=0&cat=2090&seo_filter&readability_filter&
   paged=1&post%5B0%5D=5927&post%5B1%5D=5841&post%5B2%5D=5813&post%5B3%5D=5759&post%
   5B4%5D=5678&post%5B5%5D=5655&post%5B6%5D=5635&post%5B7%5D=5570&post%5B8%5D=5396&
   post%5B9%5D=5338&post%5B10%5D=5290&post%5B11%5D=5275&post%5B12%5D=5262&post%5B13%
   5D=5205&post%5B14%5D=5195&post%5B15%5D=5177&post%5B16%5D=5126&post%5B17%5D=5101&
   post%5B18%5D=5094&post%5B19%5D=5089&action2=-1] in [N/A] */ made by WP_Posts_List_Table-
   >prepare_items, wp_edit_posts_query, wp, WP->main, WP->query_posts, WP_Query-
   >query, WP_Query->get_posts, referer: [https://www.THEDOMAIN.com/wp-admin/edit.php?category_name=certification-station](https://www.THEDOMAIN.com/wp-admin/edit.php?category_name=certification-station)
   [
   Mon May 03 14:07:27.874619 2021] [php7:notice] [pid 18148] [client THE.CLIENTS.
   IP.ADDRESS:50852] WordPress database error You have an error in your SQL syntax;
   check the manual that corresponds to your MySQL server version for the right 
   syntax to use near ‘))) AND quaws_posts.post_type = ‘post’ AND (quaws_posts.post_status
   = ‘publish” at line 5 for query SELECT SQL_CALC_FOUND_ROWS quaws_posts.ID FROM
   quaws_posts LEFT JOIN quaws_term_relationships ON (quaws_posts.ID = quaws_term_relationships.
   object_id) LEFT JOIN quaws_term_relationships AS tt1 ON (quaws_posts.ID = tt1.
   object_id) WHERE 1=1 AND ( \n quaws_term_relationships.term_taxonomy_id IN (2090)\
   n AND \n tt1.term_taxonomy_id IN (2090)\n) AND ((())) AND quaws_posts.post_type
   = ‘post’ AND (quaws_posts.post_status = ‘publish’ OR quaws_posts.post_status 
   = ‘acf-disabled’ OR quaws_posts.post_status = ‘future’ OR quaws_posts.post_status
   = ‘draft’ OR quaws_posts.post_status = ‘pending’ OR quaws_posts.post_status =‘
   private’) GROUP BY quaws_posts.ID ORDER BY quaws_posts.menu_order ASC LIMIT 0,
   20 /* From [www.THEDOMAIN.com/wp-admin/edit.php?s&post_status=all&post_type=post&
   action=-1&m=0&cat=2090&seo_filter&readability_filter&paged=1&post%5B0%5D=5927&
   post%5B1%5D=5841&post%5B2%5D=5813&post%5B3%5D=5759&post%5B4%5D=5678&post%5B5%
   5D=5655&post%5B6%5D=5635&post%5B7%5D=5570&post%5B8%5D=5396&post%5B9%5D=5338&post%
   5B10%5D=5290&post%5B11%5D=5275&post%5B12%5D=5262&post%5B13%5D=5205&post%5B14%
   5D=5195&post%5B15%5D=5177&post%5B16%5D=5126&post%5B17%5D=5101&post%5B18%5D=5094&
   post%5B19%5D=5089&action2=-1] in [/nas/content/live/swainc/wp-content/plugins/
   wordpress-seo-premium/admin/links/class-link-columns.php:219] */ made by WP_List_Table-
   >display, WP_List_Table->display_tablenav, WP_Posts_List_Table->extra_tablenav,
   do_action(‘manage_posts_extra_tablenav’), WP_Hook->do_action, WP_Hook->apply_filters,
   WPSEO_Link_Columns->count_objects, WPSEO_Link_Columns->set_count_objects, WP_Query-
   >get_posts, referer: [https://www.THEDOMAIN.com/wp-admin/edit.php?category_name=certification-station](https://www.THEDOMAIN.com/wp-admin/edit.php?category_name=certification-station)
 *  Plugin Author [seshelby](https://wordpress.org/support/users/seshelby/)
 * (@seshelby)
 * [5 years ago](https://wordpress.org/support/topic/issue-saving-posts-pages/#post-14400072)
 * Hello, Unfortunately I am not able to reproduce the error in our plugin. It looks
   like it may be in the seo premium plugin. See the affected file in your error
   message: wordpress-seo-premium/admin/links/class-link-columns.php:219

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Issue Saving Posts/Pages’ is closed to new replies.

 * ![](https://ps.w.org/wp-ada-compliance-check-basic/assets/icon-128x128.png?rev
   =2988892)
 * [WP ADA Compliance Check Basic](https://wordpress.org/plugins/wp-ada-compliance-check-basic/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-ada-compliance-check-basic/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-ada-compliance-check-basic/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-ada-compliance-check-basic/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-ada-compliance-check-basic/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-ada-compliance-check-basic/reviews/)

## Tags

 * [500 error](https://wordpress.org/support/topic-tag/500-error/)
 * [code issue](https://wordpress.org/support/topic-tag/code-issue/)
 * [PHP Fatal error](https://wordpress.org/support/topic-tag/php-fatal-error/)
 * [undefined function](https://wordpress.org/support/topic-tag/undefined-function/)
 * [wpengine](https://wordpress.org/support/topic-tag/wpengine/)

 * 5 replies
 * 2 participants
 * Last reply from: [seshelby](https://wordpress.org/support/users/seshelby/)
 * Last activity: [5 years ago](https://wordpress.org/support/topic/issue-saving-posts-pages/#post-14400072)
 * Status: resolved