Support » Plugin: Advanced Contact form 7 DB » WPML language switching critical error

  • When WPML is installed and we are on a form entries page, if we change the language using the admin bar to another WPML language, Advanced Contact form 7 DB will return a critical error because while the language is changed the form ID stays the same and the plugin has no logic in place to get to switch to the corresponding form in the new language.

    Here’s the error:
    An error of type E_ERROR was caused in line 429 of the file ######/wp-content/plugins/advanced-cf7-db/includes/vsz-cf7-db-function.php. Error message: Uncaught Error: Call to a member function scan_form_tags() on null in ######/wp-content/plugins/advanced-cf7-db/includes/vsz-cf7-db-function.php:429
    Stack trace:
    #0 ######/wp-content/plugins/advanced-cf7-db/admin/partials/contact_form_listing.php(377): vsz_field_type_info(28253)
    #1 ######/wp-content/plugins/advanced-cf7-db/admin/class-advanced-cf7-db-admin.php(175): require_once(‘/www/######…’)
    #2 ######/wp-includes/class-wp-hook.php(287): Advanced_Cf7_Db_Admin->vsz_contact_form_callback(”)
    #3 ######/wp-includes/class-wp-hook.php(311): WP_Hook->apply_filters(”, Array)
    #4 ######/wp-includes/plugin.php(478): WP_Hook->do_action(Array)
    #5 ######/wp-admin/admin.php(254): do_action(‘toplevel_page_c…’)
    #6 {main}
    thrown

    Debug information:

    WordPress version 5.4.2
    Current theme: EarthRated (version 1.0.6)
    Current plugin: Advanced CF7 DB (version 1.7.2)
    PHP version 7.3.4-1+ubuntu16.04.1+deb.sury.org+3

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.