• Resolved argusnet

    (@argusnet)


    When connecting to Constant Contact under the Marketing tab. There is the following error:

    Fatal error: Uncaught Error: Call to undefined function wpforms_conditional_logic() in /home/xxxxxxxxxx/public_html/wp-content/plugins/wpforms-lite/includes/providers/class-base.php:957 Stack trace: #0 /home/xxxxxxxxxx/public_html/wp-content/plugins/wpforms-lite/includes/providers/class-base.php(661): WPForms_Provider->output_conditionals(‘connection_610c…’, Array, Array) #1 /home/xxxxxxxxxx/public_html/wp-content/plugins/wpforms-lite/includes/providers/class-base.php(1025): WPForms_Provider->output_connection(‘connection_610c…’, Array, Array) #2 /home/xxxxxxxxxx/public_html/wp-content/plugins/wpforms-lite/includes/providers/class-base.php(1113): WPForms_Provider->builder_content() #3 /home/xxxxxxxxxx/public_html/wp-includes/class-wp-hook.php(303): WPForms_Provider->builder_output(Object(WP_Post)) #4 /home/xxxxxxxxxx/public_html/wp-includes/class-wp-hook.php(327): WP_Hook->apply_filters(”, Array) #5 /home/customer/www/encorers.c in /home/xxxxxxxxxx/public_html/wp-content/plugins/wpforms-lite/includes/providers/class-base.php on line 957

    There has been a critical error on this website. Please check your site admin email inbox for instructions.`

    I have tried to delete WPForms via ftp and reinstall it, but it is still there. Any suggestions of how to clear this up?
    Thanks

Viewing 1 replies (of 1 total)
  • Plugin Support Kenneth Macharia

    (@kmacharia)

    Hey @argusnet

    It looks like you’ve already been able to resolve this issue. In case any one comes across this thread, in WPForms v1.6.8, we decreased memory footprint by removing the code that shouldn’t be loaded for Lite users, but it looks like we missed some places which is why you’re seeing the WPForms_Provider class still reference conditional logic, and plan to clean it up in the future release.

    However, Our development team has come up with an adjustment you can make to the file

    /wp-content/plugins/wpforms-lite/includes/providers/class-base.php

    please make these changes:

    // \WPForms_Provider::output_conditionals() on line 348
    if ( empty( $connection['conditional_logic'] ) || empty( $connection['conditionals'] ) || ! function_exists( 'wpforms_conditional_logic' ) ) {
    	return true;
    }
    // \WPForms_Provider::output_conditionals() on line 953
    if ( empty( $connection['account_id'] ) || ! function_exists( 'wpforms_conditional_logic' ) ) {
    	return '';
    }

    I apologize for the trouble here but I hope this helps!

    Thanks!

Viewing 1 replies (of 1 total)

The topic ‘Error on Constant Contact connection window’ is closed to new replies.