Title: Gravity Forms error: Failed to initialize plugin: wpInsertPages
Last modified: November 13, 2025

---

# Gravity Forms error: Failed to initialize plugin: wpInsertPages

 *  Resolved [imdtracy](https://wordpress.org/support/users/imdtracy/)
 * (@imdtracy)
 * [6 months, 2 weeks ago](https://wordpress.org/support/topic/gravity-forms-error-failed-to-initialize-plugin-wpinsertpages/)
 * I’m using Gravity Forms, and I’m seeing an error message in the admin on Gravity
   Forms confirmation screens, which uses the Tiny MCE editor. I’m using the latest
   version of the plugin, 3.9.2. Screenshots of my plugin settings and what I’m 
   seeing in gravity forms are below.
 * ![](https://i0.wp.com/dev.newmanrh.org/wp-content/uploads/2025/11/Screenshot-
   2025-11-12-at-6.37.42-PM.jpg?ssl=1)
 * ![](https://i0.wp.com/dev.newmanrh.org/wp-content/uploads/2025/11/Screenshot-
   2025-11-12-at-6.38.18-PM.jpg?ssl=1)

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

 *  Plugin Author [Paul Ryan](https://wordpress.org/support/users/figureone/)
 * (@figureone)
 * [6 months, 2 weeks ago](https://wordpress.org/support/topic/gravity-forms-error-failed-to-initialize-plugin-wpinsertpages/#post-18717403)
 * Thanks for the report, did you try the other choice for the “TinyMCE filter” 
   option in Insert Pages settings?
 *  Thread Starter [imdtracy](https://wordpress.org/support/users/imdtracy/)
 * (@imdtracy)
 * [6 months, 2 weeks ago](https://wordpress.org/support/topic/gravity-forms-error-failed-to-initialize-plugin-wpinsertpages/#post-18718568)
 * Yes, I tried both options, and I get the error either way.
 *  Plugin Author [Paul Ryan](https://wordpress.org/support/users/figureone/)
 * (@figureone)
 * [6 months, 2 weeks ago](https://wordpress.org/support/topic/gravity-forms-error-failed-to-initialize-plugin-wpinsertpages/#post-18718652)
 * Running the free Gravity Forms Demo ([https://www.gravityforms.com/gravity-forms-demo/](https://www.gravityforms.com/gravity-forms-demo/))
   and installing the Insert Pages plugin, we do not see any errors when editing
   a form confirmation, and the Insert Pages TinyMCE plugin seems to work fine:
 * > [View post on imgur.com](https://imgur.com/a/Btzo5dl)
 * > [View post on imgur.com](https://imgur.com/a/PLL5VhT)
 * Can you check to see if you’re on the latest version of Gravity Forms, and maybe
   see if there’s another plugin that’s causing the conflict? Or try to reproduce
   the issue in a test environment with other variables removed and describe the
   steps to reproduce?
 *  Thread Starter [imdtracy](https://wordpress.org/support/users/imdtracy/)
 * (@imdtracy)
 * [6 months, 2 weeks ago](https://wordpress.org/support/topic/gravity-forms-error-failed-to-initialize-plugin-wpinsertpages/#post-18718758)
 * I have the latest version of gravity forms, and the error was happening with 
   all other plugins disabled and default twenty twenty-five theme. You’re correct
   however — when I tried a fresh installation in a test environment, I didn’t have
   any errors there. I used ChatGPT to try to diagnose what might be going on in
   my specific environment, and it gave me a suggestion that worked, if this is 
   helpful for anyone else:
 * Add this temporarily to functions.php and then visit any admin page once, which
   will run the snippet. Then it can be removed from functions.php:
 *     ```wp-block-code
       add_action( 'admin_init', function() {    global $wpdb;    // Only delete known Insert Pages transient or options safely by name    $wpdb->query( "DELETE FROM {$wpdb->options} WHERE option_name IN ('insert_pages_settings', 'insert_pages_mce_plugin')" );    // Remove any user meta keys that specifically mention wpInsertPages    $wpdb->query( "DELETE FROM {$wpdb->usermeta} WHERE meta_key LIKE '%wpInsertPages%'" );});
       ```
   
 * It seems something was stuck in the database somewhere, even after I updated 
   Insert Pages and cleared all other caches. The snippet cleared everything out
   and everything is working now.
    -  This reply was modified 6 months, 2 weeks ago by [imdtracy](https://wordpress.org/support/users/imdtracy/).
    -  This reply was modified 6 months, 2 weeks ago by [imdtracy](https://wordpress.org/support/users/imdtracy/).
    -  This reply was modified 6 months, 2 weeks ago by [imdtracy](https://wordpress.org/support/users/imdtracy/).
 *  Plugin Author [Paul Ryan](https://wordpress.org/support/users/figureone/)
 * (@figureone)
 * [6 months, 2 weeks ago](https://wordpress.org/support/topic/gravity-forms-error-failed-to-initialize-plugin-wpinsertpages/#post-18718829)
 * Strange! The first snippet is unlikely to do anything, the `option_name` for 
   this plugin has always been `wpip_settings`. Not sure about the second snippet,
   it’s possible some previous version of TinyMCE (or the Classic Editor plugin)
   set some usermeta value with the TinyMCE plugins? This plugin registers `wpInsertPages`
   as the TinyMCE plugin name: [https://github.com/uhm-coe/insert-pages/blob/master/js/wpinsertpages_plugin.js#L14](https://github.com/uhm-coe/insert-pages/blob/master/js/wpinsertpages_plugin.js#L14)
 * Regardless, glad you got it fixed, and let us know if the problem crops up again!

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

The topic ‘Gravity Forms error: Failed to initialize plugin: wpInsertPages’ is closed
to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/insert-pages.svg)
 * [Insert Pages](https://wordpress.org/plugins/insert-pages/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/insert-pages/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/insert-pages/)
 * [Active Topics](https://wordpress.org/support/plugin/insert-pages/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/insert-pages/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/insert-pages/reviews/)

 * 5 replies
 * 2 participants
 * Last reply from: [Paul Ryan](https://wordpress.org/support/users/figureone/)
 * Last activity: [6 months, 2 weeks ago](https://wordpress.org/support/topic/gravity-forms-error-failed-to-initialize-plugin-wpinsertpages/#post-18718829)
 * Status: resolved