Title: error-RankMath\Replace_Variables\Post_Variables-&gt;get_excerpt(
Last modified: October 10, 2020

---

# error-RankMath\Replace_Variables\Post_Variables->get_excerpt(

 *  Resolved [elearnnow](https://wordpress.org/support/users/elearnnow/)
 * (@elearnnow)
 * [5 years, 6 months ago](https://wordpress.org/support/topic/error-rankmathreplace_variablespost_variables-get_excerpt/)
 * Hello, multisite installation getting error-
    #0 /wp-content/plugins/seo-by-rank-
   math/includes/frontend/paper/class-paper.php(548): RankMath\Post::is_woocommerce_page()#
   1 /wp-content/plugins/seo-by-rank-math/includes/replace-variables/class-post-
   variables.php(462): RankMath\Paper\Paper::should_apply_shortcode() #2 /wp-content/
   plugins/seo-by-rank-math/includes/replace-variables/class-post-variables.php(
   327): RankMath\Replace_Variables\Post_Variables->get_post_content(Object(stdClass))#
   3 /wp-content/plugins/seo-by-rank-math/includes/replace-variables/class-post-
   variables.php(59): RankMath\Replace_Variables\Post_Variables->get_excerpt() #
   4 / in /wp-content/plugins/seo-by-rank-math/includes/class-post.php on line 175[
   04-Oct-2020 18:42:56 UTC] PHP Fatal error: Uncaught Error: Call to undefined 
   function is_cart() in /wp-content/plugins/seo-by-rank-math/includes/class-post.
   php:175 Thank you

Viewing 1 replies (of 1 total)

 *  Plugin Author [Rank Math SEO](https://wordpress.org/support/users/rankmath/)
 * (@rankmath)
 * [5 years, 6 months ago](https://wordpress.org/support/topic/error-rankmathreplace_variablespost_variables-get_excerpt/#post-13516340)
 * Hello [@elearnnow](https://wordpress.org/support/users/elearnnow/)
 * Thank you for contacting the support and sorry for any inconvenience that might
   have been caused due to that.
 * It seems like new tables are not getting created in the Database or some old 
   plugin has left an incorrect entry.
 * Please follow these steps to fix the issue:
 * 1. Take a complete backup of your website
    2. Install this plugin: [https://wordpress.org/plugins/code-snippets/](https://wordpress.org/plugins/code-snippets/)
   3. Head over to the Snippets menu in the left sidebar and click Add New: [https://i.rankmath.com/YucUZS](https://i.rankmath.com/YucUZS)
   4. Give that post any name and copy the below code in the Code field
 *     ```
       add_action(
       	'init',
       	function() {
       		delete_option( 'schema-ActionScheduler_StoreSchema' );
       	},
       );
       ```
   
 * 5. Select ‘Only run in administration area’ option and click the Save and Activate
   button: [https://i.rankmath.com/D9iOGH](https://i.rankmath.com/D9iOGH)
    6. Open
   WordPress Dashboard in a new window 7. Then deactivate recently created snippet
   from here: [https://i.rankmath.com/1k8KcX](https://i.rankmath.com/1k8KcX) 8. 
   Then activate the Rank Math plugin again 9. You can disable the Code Snippets
   plugin if you are not using it
 * **Here’s a video screencast:**
    [https://i.rankmath.com/79gPbv](https://i.rankmath.com/79gPbv)
 * Please clear all the cache, including the server after following the above process.
 * That should resolve the issue.

Viewing 1 replies (of 1 total)

The topic ‘error-RankMath\Replace_Variables\Post_Variables->get_excerpt(’ is closed
to new replies.

 * ![](https://ps.w.org/seo-by-rank-math/assets/icon.svg?rev=3438330)
 * [Rank Math SEO – AI SEO Tools to Dominate SEO Rankings](https://wordpress.org/plugins/seo-by-rank-math/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/seo-by-rank-math/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/seo-by-rank-math/)
 * [Active Topics](https://wordpress.org/support/plugin/seo-by-rank-math/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/seo-by-rank-math/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/seo-by-rank-math/reviews/)

## Tags

 * [multisite](https://wordpress.org/support/topic-tag/multisite/)

 * 1 reply
 * 2 participants
 * Last reply from: [Rank Math SEO](https://wordpress.org/support/users/rankmath/)
 * Last activity: [5 years, 6 months ago](https://wordpress.org/support/topic/error-rankmathreplace_variablespost_variables-get_excerpt/#post-13516340)
 * Status: resolved