tanujgpatra
Forum Replies Created
-
Multivendor plugin :- WC Vendors Marketplace
PHP Version:- 7.2.34Forum: Plugins
In reply to: [Contact Form 7] “Field is required” error althow all the fields are filled*** SOLVED ***
Turn out that the post_max_size is set to 1 byte in server settings.Forum: Plugins
In reply to: [Contact Form 7] “Field is required” error althow all the fields are filledThe data is in the body not in post, Any idea why so?
This is the response I received after form submit (Not working form)
object(WP_REST_Request)#631 (8) { ["method":protected]=> string(4) "POST" ["params":protected]=> array(6) { ["URL"]=> array(1) { ["id"]=> string(5) "13985" } ["GET"]=> array(0) { } ["POST"]=> array(0) { } ["FILES"]=> array(0) { } ["JSON"]=> NULL ["defaults"]=> array(0) { } } ["headers":protected]=> array(18) { ["host"]=> array(1) { [0]=> string(24) "www.update.buslifers.com" } ["te"]=> array(1) { [0]=> string(8) "trailers" } ["cache_control"]=> array(1) { [0]=> string(8) "no-cache" } ["pragma"]=> array(1) { [0]=> string(8) "no-cache" } ["sec_fetch_site"]=> array(1) { [0]=> string(11) "same-origin" } ["sec_fetch_mode"]=> array(1) { [0]=> string(4) "cors" } ["sec_fetch_dest"]=> array(1) { [0]=> string(5) "empty" } ["cookie"]=> array(1) { [0]=> string(612) "_ga=GA1.2.639400800.1632313938; rs6_overview_pagination=12; wpcc=dismiss; _gid=GA1.2.2027381116.1634541406; wpinv_session_dcf342750ac44c7e2988eee251c0d17a=559%7C%7C1634796616%7C%7C1634793016%7C%7Ca9f2f2d4d4bbc38d7ac5c68e5b9313ac; wp-settings-559=libraryContent%3Dbrowse; wp-settings-time-559=1634624184; pmpro_visit=1; wordpress_test_cookie=WP%20Cookie%20check; tk_ai=woo%3ABOttWI0dLQRMxATyNvVq9bNJ; wordpress_logged_in_dcf342750ac44c7e2988eee251c0d17a=tanuj%7C1634878709%7CAURw32BSHJg7EjI4Ccdp5raUYygOU10ErZD409AELSK%7Ce60a9f50a88461a515f71433d66c4410e38f5253e59beb555d41f79bb2ddc1b8; _gat_gtag_UA_115609117_1=1" } ["referer"]=> array(1) { [0]=> string(47) "https://www.update.buslifers.com/join-the-crew/" } ["origin"]=> array(1) { [0]=> string(32) "https://www.update.buslifers.com" } ["content_length"]=> array(1) { [0]=> string(4) "1298" } ["content_type"]=> array(1) { [0]=> string(85) "multipart/form-data; boundary=---------------------------4154005065331657010173122745" } ["x_requested_with"]=> array(1) { [0]=> string(14) "XMLHttpRequest" } ["accept_encoding"]=> array(1) { [0]=> string(17) "gzip, deflate, br" } ["accept_language"]=> array(1) { [0]=> string(14) "en-US,en;q=0.5" } ["accept"]=> array(1) { [0]=> string(46) "application/json, text/javascript, */*; q=0.01" } ["user_agent"]=> array(1) { [0]=> string(76) "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:93.0) Gecko/20100101 Firefox/93.0" } ["authorization"]=> array(1) { [0]=> string(0) "" } } ["body":protected]=> string(1298) "-----------------------------4154005065331657010173122745 Content-Disposition: form-data; name="_wpcf7" 13985 -----------------------------4154005065331657010173122745 Content-Disposition: form-data; name="_wpcf7_version" 5.3.2 -----------------------------4154005065331657010173122745 Content-Disposition: form-data; name="_wpcf7_locale" en_US -----------------------------4154005065331657010173122745 Content-Disposition: form-data; name="_wpcf7_unit_tag" wpcf7-f13985-p7043-o1 -----------------------------4154005065331657010173122745 Content-Disposition: form-data; name="_wpcf7_container_post" 7043 -----------------------------4154005065331657010173122745 Content-Disposition: form-data; name="_wpcf7_posted_data_hash" -----------------------------4154005065331657010173122745 Content-Disposition: form-data; name="FNAME" Tanuj -----------------------------4154005065331657010173122745 Content-Disposition: form-data; name="LNAME" Patra -----------------------------4154005065331657010173122745 Content-Disposition: form-data; name="EMAIL" [email protected] -----------------------------4154005065331657010173122745 Content-Disposition: form-data; name="MESSAGE" sgsdrgfsdgdfgdfgdf -----------------------------4154005065331657010173122745-- " ["route":protected]=> string(47) "/contact-form-7/v1/contact-forms/13985/feedback" ["attributes":protected]=> array(7) { ["methods"]=> array(1) { ["POST"]=> bool(true) } ["accept_json"]=> bool(false) ["accept_raw"]=> bool(false) ["show_in_index"]=> bool(true) ["args"]=> array(0) { } ["callback"]=> string(26) "wpcf7_rest_create_feedback" ["permission_callback"]=> string(13) "__return_true" } ["parsed_json":protected]=> bool(true) ["parsed_body":protected]=> bool(false) }
This is the response I received after form submit (Working form in Localhost)
object(WP_REST_Request)#7748 (8) { ["method":protected]=> string(4) "POST" ["params":protected]=> array(6) { ["URL"]=> array(1) { ["id"]=> string(5) "13985" } ["GET"]=> array(0) { } ["POST"]=> array(13) { ["_wpcf7"]=> string(5) "13985" ["_wpcf7_version"]=> string(5) "5.3.2" ["_wpcf7_locale"]=> string(5) "en_US" ["_wpcf7_unit_tag"]=> string(21) "wpcf7-f13985-p7043-o1" ["_wpcf7_container_post"]=> string(4) "7043" ["_wpcf7_posted_data_hash"]=> string(0) "" ["_wpcf7_recaptcha_response"]=> string(0) "" ["FNAME"]=> string(5) "Tanuj" ["LNAME"]=> string(5) "Patra" ["EMAIL"]=> string(15) "[email protected]" ["MESSAGE"]=> string(12) "sgdhrtehfrhf" ["your-consent"]=> string(1) "1" ["_mc4wp_subscribe_contact-form-7"]=> string(1) "1" } ["FILES"]=> array(0) { } ["JSON"]=> NULL ["defaults"]=> array(0) { } } ["headers":protected]=> array(15) { ["authorization"]=> array(1) { [0]=> string(0) "" } ["host"]=> array(1) { [0]=> string(12) "192.168.2.99" } ["user_agent"]=> array(1) { [0]=> string(76) "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:93.0) Gecko/20100101 Firefox/93.0" } ["accept"]=> array(1) { [0]=> string(46) "application/json, text/javascript, */*; q=0.01" } ["accept_language"]=> array(1) { [0]=> string(14) "en-US,en;q=0.5" } ["accept_encoding"]=> array(1) { [0]=> string(13) "gzip, deflate" } ["x_requested_with"]=> array(1) { [0]=> string(14) "XMLHttpRequest" } ["content_type"]=> array(1) { [0]=> string(86) "multipart/form-data; boundary=---------------------------53069984334827384071046681006" } ["content_length"]=> array(1) { [0]=> string(4) "1825" } ["origin"]=> array(1) { [0]=> string(19) "https://192.168.2.99" } ["connection"]=> array(1) { [0]=> string(10) "keep-alive" } ["referer"]=> array(1) { [0]=> string(43) "https://192.168.2.99/buslifer/join-the-crew/" } ["cookie"]=> array(1) { [0]=> string(1226) "wpinv_session_90df9833f843068af52b8b42ad2c38ec=594%7C%7C1634735849%7C%7C1634732249%7C%7Cc1e0e0b8fcaed7b57e9a4d9983ac4fa0; wp-settings-time-594=1634563924; pmpro_visit=1; wordpress_test_cookie=WP+Cookie+check; tk_ai=woo%3AXC%2FaCIX7w06B%2BjmvhKK4UrNU; wordpress_logged_in_90df9833f843068af52b8b42ad2c38ec=drashtibpatel%7C1634736470%7CzIsziUD0bokTN0aIPMi5jLNMfpcYSoPNour0H12imP5%7Cd7421ea4f6a69f37957b5537c0709a33e1d55900312868839978e2c918e44973; cookieconsent_status_tech=allow; cookieconsent_status_marketing=deny; cookieconsent_status_ads=deny; _ga=GA1.1.1905749379.1628857736; vchideactivationmsg=1; vchideactivationmsg_vc11=5.7; wpcc=dismiss; mailchimp_user_email=tanuj%40gmail.com; mailchimp_landing_site=http%3A%2F%2F192.168.2.99%2Fnuwaay-new%2Fnuwaay-new%2Fwp-json%2Ffront-end-pm%2Fv1%2Fnotification; redux_current_tab=1; redux_current_tab_get=1; redux_current_tab_AZEXO=95; _gid=GA1.1.1461853265.1634563073; PHPSESSID=47ealbg9aqg2vc3f4j67jd00gf; wordpress_test_cookie=WP%20Cookie%20check; wordpress_logged_in_429b99a9da3fa97552c5bac8a9072fe9=admin%7C1629440275%7C1HE2dVeFb0Sq4e5P4OqN7C28aqDVYdsM35MK0zWwWRf%7Ccdca4dffbf753bd4fc40aacbfb5d15485994101b23e475afcc977da9eb675e9a; [email protected]" } ["pragma"]=> array(1) { [0]=> string(8) "no-cache" } ["cache_control"]=> array(1) { [0]=> string(8) "no-cache" } } ["body":protected]=> string(0) "" ["route":protected]=> string(47) "/contact-form-7/v1/contact-forms/13985/feedback" ["attributes":protected]=> array(7) { ["methods"]=> array(1) { ["POST"]=> bool(true) } ["accept_json"]=> bool(false) ["accept_raw"]=> bool(false) ["show_in_index"]=> bool(true) ["args"]=> array(0) { } ["callback"]=> string(26) "wpcf7_rest_create_feedback" ["permission_callback"]=> string(13) "__return_true" } ["parsed_json":protected]=> bool(true) ["parsed_body":protected]=> bool(false) }
Forum: Plugins
In reply to: [Contact Form 7] “Field is required” error althow all the fields are filledHi, I debugged it more and found that in the ajax Call of form submit event
$.ajax( { type: 'POST', url: wpcf7.apiSettings.getRoute( '/contact-forms/' + wpcf7.getId( $form ) + '/feedback' ), data: formData, dataType: 'json', processData: false, contentType: false } ).done( function( data, status, xhr ) { // console.log(status); ajaxSuccess( data, status, xhr, $form ); $( '.ajax-loader', $form ).removeClass( 'is-active' ); } ).fail( function( xhr, status, error ) { var $e = $( '<div class="ajax-error"></div>' ).text( error.message ); $form.after( $e ); } ); };
the formData variable has all the submitted data but in the ‘wpcf7_rest_create_feedback’ in rest-api.php the ‘$request’ does not have anything in [“POST”]
Also I created a copy of the current site on localhost and it is working fine. are there any possibility that the problem is in the server configuration.
Forum: Plugins
In reply to: [Contact Form 7] “Field is required” error althow all the fields are filledI actually disabled every other plugin on the site to check if form starts working but with no success, I am using Kleo and Kleo child (also checked with Twenty Twenty-One still not working).
The form was working fine 2 days ago, Don’t know what happened.
URL: https://www.update.buslifers.com/join-the-crew/
(The page is bit broken right now, because I’ve disabled every other plugin including page builder)Getting Error on console
Uncaught TypeError: $(…).get(…) is undefinedThe error is taking me here
wpcf7.triggerEvent = function( target, name, detail ) { var event = new CustomEvent( 'wpcf7' + name, { bubbles: true, detail: detail } ); $( target ).get( 0 ).dispatchEvent( event ); };
- This reply was modified 3 years, 1 month ago by tanujgpatra.
- This reply was modified 3 years, 1 month ago by tanujgpatra. Reason: Provided link and error from console
Thank you very much for the help and explanation.
I appreciate the responsiveness of your support team.Yes, I am using “WC Vendors Marketplace” to create vendors do I have to install “WCFM Marketplace – Best Multivendor Marketplace for WooCommerce” too?
And if I do so will it not conflict with existing vendors I have?I don’t think I have such menu.
- This reply was modified 3 years, 1 month ago by tanujgpatra.
And where I will find WCFM Admin settings – Modules?
Do I suppose to get a Admin menu called “WCFM” or “WCFM settings” something like that? but I don’t have any.
I checked in WC Vendors option there is not any option like “Modules”