Forum Replies Created

Viewing 1 replies (of 1 total)
  • Plugin Author alexreiner

    (@alexreiner)

    Hi,

    just add this code:
    Plugins -> Plugin Editor -> select the plugin to edit: Contact Form 7 CiviCRM integration -> press Select -> scroll down in the opened file (contact-form-7-civi.php) -> add this code at the bottom of the file -> press Update File

    
    add_filter('wpcf7_pre_construct_contact_form_properties', 'before_init_form_properties');
    
    /** Hotfix WP 5.8 -> Init properties before database call **/
    function before_init_form_properties($properties) {
        $properties["civicrm"] = null;
        return $properties;
    }
    • This reply was modified 3 years, 2 months ago by alexreiner.
Viewing 1 replies (of 1 total)