• Resolved jbuch209

    (@jbuch209)


    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 to see the link]

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Support Laura – WPMU DEV Support

    (@wpmudev-support8)

    Hi @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

    (@jbuch209)

    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

    (@wpmudev-support9)

    Hello @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

    (@jbuch209)

    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

    Jim

    Plugin Support Imran – WPMU DEV Support

    (@wpmudev-support9)

    Ahhh, my apologies, @jbuch209 !

    Please add this before the code:

    <?php
    
    // code goes here

    Best regards,
    Pawel

    Thread Starter jbuch209

    (@jbuch209)

    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

    (@wpmudevsupport11)

    Hi @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

    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.