Title: Error with rencent WordPress update
Last modified: October 18, 2017

---

# Error with rencent WordPress update

 *  [patcharan](https://wordpress.org/support/users/patcharan/)
 * (@patcharan)
 * [8 years, 6 months ago](https://wordpress.org/support/topic/error-with-rencent-wordpress-update/)
 * Hi, your plugin is great and useful, but with the most recent WordPress update,
   I am getting errors. It would be incredible if you could make it compatible with
   4.8.2! Thank you.
    Here are the errors:
 * Fatal error: Uncaught Error: Call to a member function get_cart() on null in /
   xxx/xxx/public_html/xxx/wp-content/plugins/woocommerce-show-hide-terms-and-conditions/
   show_hide_terms.php:70 Stack trace: #0 /xxx/xxx/public_html/xxx/wp-includes/class-
   wp-hook.php(298): skomfare2_get_page_id(”)
 * #1 /xxx/xxx/public_html/xxx/wp-includes/plugin.php(203): WP_Hook->apply_filters(”,
   Array)
 * #2 /xxx/xxx/public_html/xxx/wp-content/plugins/woocommerce/includes/wc-page-functions.
   php(59): apply_filters(‘woocommerce_get…’, ”)
 * #3 /xxx/xxx/public_html/wp/wp-content/plugins/woocommerce/includes/admin/class-
   wc-admin-post-types.php(2016): wc_get_page_id(‘terms’)
 * #4 /xxx/xxx/public_html/xxx/wp-includes/class-wp-hook.php(298): WC_Admin_Post_Types-
   >add_display_post_states(Array, Object(WP_Post))
 * #5 /xxx/xxx/public_html/xxx/wp-includes/plugin.php(203): WP_Hook->apply_filters(
   Array, Array)
 * #6 /xxx/xxx/public_html/xxx/wp-admin/includes/template.php(1756): apply_filters(‘
   display_post_st…’, Array, Ob in /xxx/xxx/public_html/xxx/wp-content/plugins/woocommerce-
   show-hide-terms-and-conditions/show_hide_terms.php on line 70

Viewing 1 replies (of 1 total)

 *  [alexmustin](https://wordpress.org/support/users/alexmustin/)
 * (@alexmustin)
 * [8 years, 6 months ago](https://wordpress.org/support/topic/error-with-rencent-wordpress-update/#post-9686494)
 * I’m also experiencing that first error.
 * **\*\* This error breaks the site! \*\***
    When you go to “Pages” none of them
   show up in the list.
 * Screenshot:
    [https://i.imgur.com/TLxQaCC.png](https://i.imgur.com/TLxQaCC.png)

Viewing 1 replies (of 1 total)

The topic ‘Error with rencent WordPress update’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/woocommerce-show-hide-terms-and-conditions_795e7a.
   svg)
 * [Woocommerce show terms and conditions](https://wordpress.org/plugins/woocommerce-show-hide-terms-and-conditions/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/woocommerce-show-hide-terms-and-conditions/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/woocommerce-show-hide-terms-and-conditions/)
 * [Active Topics](https://wordpress.org/support/plugin/woocommerce-show-hide-terms-and-conditions/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woocommerce-show-hide-terms-and-conditions/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woocommerce-show-hide-terms-and-conditions/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [alexmustin](https://wordpress.org/support/users/alexmustin/)
 * Last activity: [8 years, 6 months ago](https://wordpress.org/support/topic/error-with-rencent-wordpress-update/#post-9686494)
 * Status: not resolved