Uncaught ReferenceError: wpcf7 is not defined
-
Hi! I seem to have the same error as this person (see link below). On submit I get a blank page with the url /wp-admin/admin-ajax.php#wpcf7-f21491-o1, displaying a zero. The error console says “ReferenceError: wpcf7 is not defined” when opening the popup, referring to these rows in frontend.js:
// For CF7 5.3.1 and before
if ( typeof wpcf7.initForm === ‘function’ ) {
wpcf7.initForm( $(‘.wpcf7-form’) );
}You answer on the link below that it is easy to solve. Please tell me how? I don’t have a conflicting cache plugin as in his question. I use Elementor, I use the shortcode via Woocommerce hook (after add to cart) and don’t want to use a widget.
You must be logged in to reply to this topic.