Title: plugin stops working
Last modified: January 6, 2024

---

# plugin stops working

 *  Resolved [ildomandatore](https://wordpress.org/support/users/ildomandatore/)
 * (@ildomandatore)
 * [2 years, 5 months ago](https://wordpress.org/support/topic/plugin-stops-working-14/)
 * Your plugin stops working if I enable Load Popular Posts List via AJAX [https://wordpress.org/plugins/wordpress-popular-posts/](https://wordpress.org/plugins/wordpress-popular-posts/).
   Or maybe it’s too demanding for the server.
 * Popular Post says it will be your problem, and therefore to write to you.
 * I’ll disable the option soon, so you’ll have to try it yourself on a staging 
   site.
 * > [View post on imgur.com](https://imgur.com/a/JnN0H5D)
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fplugin-stops-working-14%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  [Hector Cabrera](https://wordpress.org/support/users/hcabrera/)
 * (@hcabrera)
 * [2 years, 5 months ago](https://wordpress.org/support/topic/plugin-stops-working-14/#post-17323157)
 * Hey everyone!
 * I’m the dev behind the WordPress Popular Posts plugin. Here’s some more context
   on what the actual issue is: [https://wordpress.org/support/topic/right-names/#post-17323156](https://wordpress.org/support/topic/right-names/#post-17323156)
 *  [Hector Cabrera](https://wordpress.org/support/users/hcabrera/)
 * (@hcabrera)
 * [2 years, 5 months ago](https://wordpress.org/support/topic/plugin-stops-working-14/#post-17323196)
 * Another update: this filter serves as a quick workaround to prevent Easy Table
   of Contents from parsing the contents of script tags as headings.
 *     ```wp-block-code
       /**
        * Makes sure that Easy Table of Content doesn't try
        * to parse content from <script> tags as it might break other
        * plugins.
        *
        * @author Hector Cabrera
        *
        * @param  string The post/page content
          @return string The (modified) post/page content
        */
       add_filter( 'ez_toc_extract_headings_content', function($content) {
       	$content = preg_replace('@<script[^>]*?>.*?</script>@si', '', $content);
       	return $content;
       } );
       ```
   
 * It would be nice if Easy Table of Contents would automatically filter out script
   tags in `\includes\class.post.php > extractHeadings()` so users don’t have to
   rely on the above code snippet in the future.
 *  Plugin Author [Magazine3](https://wordpress.org/support/users/magazine3/)
 * (@magazine3)
 * [2 years, 5 months ago](https://wordpress.org/support/topic/plugin-stops-working-14/#post-17327908)
 * Hi, thanks for sharing your concern. We have raised a GitHub ticket in our repository
   and this issue will be addressed in the upcoming update.
 * You can track the progress here: [https://github.com/ahmedkaludi/Easy-Table-of-Contents/issues/680](https://github.com/ahmedkaludi/Easy-Table-of-Contents/issues/680)
 *  Plugin Author [Magazine3](https://wordpress.org/support/users/magazine3/)
 * (@magazine3)
 * [2 years, 3 months ago](https://wordpress.org/support/topic/plugin-stops-working-14/#post-17486516)
 * Hi, Hope you’re doing well. We’ve released a new update in which we have fixed
   this issue, so kindly update the plugin with the new **version** **2.0**.**63,**
   clear the cache once and give it a try. Please feel free to reach out to us if
   you have any concerns.
 *  Thread Starter [ildomandatore](https://wordpress.org/support/users/ildomandatore/)
 * (@ildomandatore)
 * [2 years, 3 months ago](https://wordpress.org/support/topic/plugin-stops-working-14/#post-17486689)
 * I have currently removed your plugin, but I am not happy with the TOC of Rank
   Math: I have to enter the TOC manually every time. And you can’t add TOC in categories.
 * Have you fixed the error of the last url going to the top, instead of going to
   the right place? If the answer is no, I will remove auto-insert H4s from your
   plugin.
 * Finally, your plugin URLs are not SEO friendly. Use underscores like _ and if
   I remember correctly, capital letters too.
 * This guide can help you understand: [https://backlinko.com/hub/seo/urls](https://backlinko.com/hub/seo/urls)
   and [https://ahrefs.com/blog/seo-friendly-urls/](https://ahrefs.com/blog/seo-friendly-urls/).
 * If you want to know more about it, use your favorite search engine and search
   for “seo friendly url”
 *  Thread Starter [ildomandatore](https://wordpress.org/support/users/ildomandatore/)
 * (@ildomandatore)
 * [2 years, 3 months ago](https://wordpress.org/support/topic/plugin-stops-working-14/#post-17487980)
 * I’ve solved. ty.
 *  Plugin Author [Magazine3](https://wordpress.org/support/users/magazine3/)
 * (@magazine3)
 * [2 years, 2 months ago](https://wordpress.org/support/topic/plugin-stops-working-14/#post-17493177)
 * Alright. We are marking this thread as closed for now.

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

The topic ‘plugin stops working’ is closed to new replies.

 * ![](https://ps.w.org/easy-table-of-contents/assets/icon-256x256.png?rev=3045459)
 * [Easy Table of Contents](https://wordpress.org/plugins/easy-table-of-contents/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/easy-table-of-contents/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/easy-table-of-contents/)
 * [Active Topics](https://wordpress.org/support/plugin/easy-table-of-contents/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/easy-table-of-contents/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/easy-table-of-contents/reviews/)

 * 9 replies
 * 3 participants
 * Last reply from: [Magazine3](https://wordpress.org/support/users/magazine3/)
 * Last activity: [2 years, 2 months ago](https://wordpress.org/support/topic/plugin-stops-working-14/#post-17493177)
 * Status: resolved