• Resolved horrorfacts

    (@horrorfacts)


    Hey first let me say I love the addon.

    Was wondering if there is a table or config file location that i can delete/edit to set the slack connection back like it had never existed.

    The slack instance was recently deleted and after i removed the slack connection all i get now for when i press to integrate with the slack is a white window, with the spinning animation.

    Ive cleared my cache and still cant get it to connect to a new slack instance.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support Williams – WPMU DEV Support

    (@wpmudev-support8)

    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

    Plugin Support Amin – WPMU DEV Support

    (@wpmudev-support2)

    Hello @horrorfacts ,

    We haven’t heard from you for some time now, so it looks like you don’t require our further assistance.

    Feel free to re-open this ticket if needed.

    Kind regards
    Kasia

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Reset slack configuration’ is closed to new replies.