skip to Main Content

I am creating a custom WordPress theme with using Divi builder but when I installed the Contact form 7 I See my Home page is blank and on a console I see this error form Divi builder JS.

Uncaught TypeError: Cannot read property 'concat' of undefined
    at divi-builder.min.js?ver=2.19.9:95
    at divi-builder.min.js?ver=2.19.9:95
    at divi-builder.min.js?ver=2.19.9:95
    at divi-builder.min.js?ver=2.19.9:95

Here is the screenshot

enter image description here

Any Luck!

Thanks

2

Answers


  1. Issue with Jquery version. Go to theme folder and add code in functions.php :

    function replace_core_jquery_version() {
        wp_deregister_script( 'jquery-core' );
        wp_register_script( 'jquery-core', "https://code.jquery.com/jquery-3.1.1.min.js", array(), '3.1.1' );
        wp_deregister_script( 'jquery-migrate' );
        wp_register_script( 'jquery-migrate', "https://code.jquery.com/jquery-migrate-3.0.0.min.js", array(), '3.0.0' );
    }
    
    add_action( 'wp_enqueue_scripts', 'replace_core_jquery_version' );
    
    Login or Signup to reply.
  2. If you want a simple contact form then Divi has its own Contact Form module so you can create a new contact form without any conflict, even you can import the free Divi layouts with contact form niche.

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search