Hi @horrorfacts
I hope you’re well today!
I understand that by “connect” you mean setting up Slack integration on “Formainator -> Integrations” page where it appears currently under “Available Apps” rather than “Connected Apps”?
If so, then there should be no need to reset it. If it got disconnected it should be possible to connect it without any additional “clean up” actions.
However, is your site by any chance powered by PHP 8 or higher?
If yes, this may be related as there is a bug (should be fixed with one of nearest upcoming releases – next or one after it) that could be causing this exact behavior.
In that case, try adding this code to the site as Must-Use plugin:
add_filter( 'pre_option_forminator_addon_slack_settings', 'wpmudev_fix_slack_integration', 10, 3 );
function wpmudev_fix_slack_integration( $pre_option, $option, $default ) {
if ( !is_admin() ) {
return $pre_option;
}
if ( !empty( $_POST['action'] ) ) {
if ( $_POST['action'] == 'forminator_addon_settings' ) {
if ( empty( $pre_option ) ) {
$pre_option = array();
}
}
}
return $pre_option;
}
– create an empty file with a .php extension (e.g. “forminator-slack-php-fix.php”)
– copy and paste code into it
– save the file and upload it to the /wp-content/mu-plugins folder of your site’s WordPress installation
If it’s not the case (you’re not using PHP 8.x or you do but above solution doesn’t work) – let us know and we’ll consult it with our developers.
Best regards,
Adam