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
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!
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
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
Ahhh, my apologies, @jbuch209 !
Please add this before the code:
<?php
// code goes here
Best regards,
Pawel
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!
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