Title: Forminator plugin causing issues with Photonic plugin
Last modified: January 6, 2022

---

# Forminator plugin causing issues with Photonic plugin

 *  Resolved [jbuch209](https://wordpress.org/support/users/jbuch209/)
 * (@jbuch209)
 * [4 years, 5 months ago](https://wordpress.org/support/topic/forminator-plugin-causing-issues-with-photonic-plugin/)
 * Hello, thank you so much for creating such an amazing form plugin for WordPress.
   The numerous options, including calculations, provide all of the flexibility 
   that we need to incorporate beautiful and usable forms.
 * Unfortunately, I recently discovered that when the Forminator plugin is activated,
   I can no longer save any changed settings on the Photonic plugin. According to
   the author of the Photonic plugin, this could be caused if a plugin is incorrectly
   including JavaScript on the admin page of other plugins.
 * I would love to be able to use both Forminator forms and Photonic galleries on
   our website. Is there a fix that you might be able to suggest that would make
   this possible?
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fforminator-plugin-causing-issues-with-photonic-plugin%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Plugin Support [Laura – WPMU DEV Support](https://wordpress.org/support/users/wpmudev-support8/)
 * (@wpmudev-support8)
 * [4 years, 5 months ago](https://wordpress.org/support/topic/forminator-plugin-causing-issues-with-photonic-plugin/#post-15235802)
 * Hi [@jbuch209](https://wordpress.org/support/users/jbuch209/)
 * I hope you’re well today and I apologize for the delay on our end.
 * I’ve tested it with the free version of Photonic gallery plugin and I noticed
   that with Forminator enabled I can’t save any changes in settings on “Photonic-
   > Settings” page.
 * That’s the same behavior that you are experiencing, right?
 * It seems to be some sort of a conflict but I don’t see any JS-related errors 
   in browser console and, in fact, any other errors possibly related errors in 
   debug.log/error logs on my server.
 * I can rule out other conflicts as I’ve tested it with only Forminator and Photonic
   plugins active and Twenty Twenty-One theme but it will require more investigation.
 * I’ve already reported it to our developers as a compatibility issue so they’ll
   do more testing and look into it. If it will be possible to get it fixed with
   some sort of additional code patch, we’ll provide you with such patch here but
   please note that at this point I’m not able to give you an ETA.
 * Kind regards,
    Adam
 *  Thread Starter [jbuch209](https://wordpress.org/support/users/jbuch209/)
 * (@jbuch209)
 * [4 years, 5 months ago](https://wordpress.org/support/topic/forminator-plugin-causing-issues-with-photonic-plugin/#post-15236533)
 * Thank you for the update, Adam. I look forward to seeing a patch that would address
   the compatibility issue between Forminator and Photonic. They’re both incredible
   plugins!
 *  Plugin Support [Imran – WPMU DEV Support](https://wordpress.org/support/users/wpmudev-support9/)
 * (@wpmudev-support9)
 * [4 years, 5 months ago](https://wordpress.org/support/topic/forminator-plugin-causing-issues-with-photonic-plugin/#post-15241881)
 * Hello [@jbuch209](https://wordpress.org/support/users/jbuch209/) !
 * Hope you’re having a good day!
 * We have a possible fix ready for you:
 *     ```
       add_filter( 'option_active_plugins', 'wpmudev_disable_plugin_conflict' );
       function wpmudev_disable_plugin_conflict( $plugins ){
           if( isset( $_POST['page'] ) && !empty( $_POST['page'] ) ){
               if (  $_POST['page'] == 'photonic-options-manager'  ) {
                   $key = array_search( 'forminator/forminator.php' , $plugins );
                   if ( false !== $key ) unset( $plugins[$key] );
                   $plugins = array_values($plugins);
               }
           }
           return $plugins;
        }
       ```
   
 * To install it, please copy the code to a .php file and upload the file to wp-
   content/mu-plugins (if the directory doesn’t exist, feel free to create it).
 * Warm regards,
    Pawel
 *  Thread Starter [jbuch209](https://wordpress.org/support/users/jbuch209/)
 * (@jbuch209)
 * [4 years, 5 months ago](https://wordpress.org/support/topic/forminator-plugin-causing-issues-with-photonic-plugin/#post-15241975)
 * Thank you for your assistance. I copied the code above and saved it into a file
   called forminator-plugin-fix.php. I uploaded this PHP file to wp-content/mu-plugins
   folder.
 * I now see the code listed at the top of every settings page. And I still am unable
   to save any changes to the settings of Photonic. In addition, several other dashboards
   do not work with this file in place (Smart Slider Dashboard, Media Library, etc.)
 * Here is a screenshot of the dashboard with the code listed on top… [https://friendsofschmeeckle.org/wp-content/uploads/2022/01/Capture.png](https://friendsofschmeeckle.org/wp-content/uploads/2022/01/Capture.png)
 * Jim
 *  Plugin Support [Imran – WPMU DEV Support](https://wordpress.org/support/users/wpmudev-support9/)
 * (@wpmudev-support9)
 * [4 years, 5 months ago](https://wordpress.org/support/topic/forminator-plugin-causing-issues-with-photonic-plugin/#post-15241996)
 * Ahhh, my apologies, [@jbuch209](https://wordpress.org/support/users/jbuch209/)!
 * Please add this before the code:
 *     ```
       <?php
   
       // code goes here
       ```
   
 * Best regards,
    Pawel
 *  Thread Starter [jbuch209](https://wordpress.org/support/users/jbuch209/)
 * (@jbuch209)
 * [4 years, 5 months ago](https://wordpress.org/support/topic/forminator-plugin-causing-issues-with-photonic-plugin/#post-15242027)
 * Ah, that makes more sense! I have added the PHP tag to the code, and everything
   seems to working perfectly. Thank you so much for your assistance!
 *  Plugin Support [Nithin – WPMU DEV Support](https://wordpress.org/support/users/wpmudevsupport11/)
 * (@wpmudevsupport11)
 * [4 years, 4 months ago](https://wordpress.org/support/topic/forminator-plugin-causing-issues-with-photonic-plugin/#post-15297800)
 * Hi [@jbuch209](https://wordpress.org/support/users/jbuch209/),
 * I’m glad that this issue is resolved. If you have a moment, I would very much
   appreciate it if you could quickly rate our plugin. This will help us keep the
   plugin available for free.
    [https://wordpress.org/support/plugin/forminator/reviews/#new-post](https://wordpress.org/support/plugin/forminator/reviews/#new-post)
 * Regards,
    Nithin

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

The topic ‘Forminator plugin causing issues with Photonic plugin’ is closed to new
replies.

 * ![](https://ps.w.org/forminator/assets/icon-256x256.gif?rev=3443182)
 * [Forminator Forms – Contact Form, Payment Form & Custom Form Builder](https://wordpress.org/plugins/forminator/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/forminator/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/forminator/)
 * [Active Topics](https://wordpress.org/support/plugin/forminator/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/forminator/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/forminator/reviews/)

## Tags

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

 * 7 replies
 * 4 participants
 * Last reply from: [Nithin – WPMU DEV Support](https://wordpress.org/support/users/wpmudevsupport11/)
 * Last activity: [4 years, 4 months ago](https://wordpress.org/support/topic/forminator-plugin-causing-issues-with-photonic-plugin/#post-15297800)
 * Status: resolved