Hi @bgrrota,
Hope this message finds you well.
We didn’t receive any report about Yith and Forminator conflict. Would you let us know which Yith plugins are you having issues with, so we can try to reproduce the issue on our end?
Best regards,
Laura
Hi Laura,
Sure, we are using YITH Store Locator.
Thanks
Hi @bgrrota
As this is 3rd party paid plugin I’m afriad we will be not able to test it and replicate this issue.
Please email us at: [email protected]
Subject: ATTN: WPMU DEV support – wp.org
Please send:
– Link back to this thread for reference (https://ww.wp.xz.cn/support/topic/forminator-is-causing-issues-with-some-yith-plugins/)
so that we could review this case more for you
Kind Regards,
Kris
Hi @bgrrota
I hope you are doing well.
We haven’t heard from you in a while, I’ll go and mark this thread as resolved. If you have any additional questions or require further help, please let us know!
Best Regards
Patrick Freitas
Hello @bgrrota ,
Please try the following code snippet as mu-plugin:
<?php
add_filter( 'option_active_plugins', 'wpmudev_disable_plugin_conflict_formi' );
function wpmudev_disable_plugin_conflict_formi( $plugins ){
if ( is_admin() ) {
if ( isset( $_POST['page'] ) && ! empty( $_POST['page'] ) ) {
if ( $_POST['page'] == 'yith_sl_panel' ) {
$key = array_search( 'forminator/forminator.php' , $plugins );
if ( false !== $key ) unset( $plugins[$key] );
$plugins = array_values($plugins);
}
}
}
return $plugins;
}
See how to create and use mu-plugins https://premium.wpmudev.org/docs/getting-started/download-wpmu-dev-plugins-themes/#installing-mu-plugins
Make sure to take a backup before making any changes to your site.
kind regards,
Kasia
Hello Kasia,
I’ve tried it but the issue still persists, I’ve also added logs inside the function to see if it runs everything works but the issue still persists!
Thanks,
B
Hi @bgrrota,
I can confirm the code snippet does work fine when tested in my system ie with the mentoined YITH plugin.
Do you have more than one YITH plugin? Most probably the issue might be due to more number of conflicts from different plugins.
Could you please run a quick test in a staging site and see whether you get the same error if you temporarily disable all the plugins except Forminator and the mentioned YITH plugin?
Are you still running the version 2.29.0 or have upgraded the YITH plugin?
Looking forward to your response.
Kind Regards,
Nithin
Hi Nithin,
No I have upgraded to version 2.30.0 but the issue happens only when I activate the Forminator plugin I have contacted the YITH support they investigated my site with credentials that I gave them and they found out that the issue is being caused by Forminator.
Can you email me the mu-plugin file that you are using?
Thanks,
B
Hi @bgrrota,
I have sent an email regarding this, please do check and follow up in there.
Regards,
Nithin