Home › Forums › Basel support forum › Suddenly CF7 Stopped Working
Suddenly CF7 Stopped Working
- This topic has 23 replies, 3 voices, and was last updated 6 years, 3 months ago by Artem Temos.
-
AuthorPosts
-
October 16, 2018 at 1:01 pm #83009
eduhivecreativestudioParticipantDear Support Team,
Today i was checking all forms on my website before launch but contact forms suddenly stopped working which is having cf7 conditional fields. Dropdowns are not working properly. This the form link
https://www.madsbox.com/customize-mobile-cover/
When we choose Apple in Choose mobile brand option it should display all Apple mobiles available (previously it was working right now it is not working) and under choose design pattern when we select image or text it should display another dropdown. I think something is blocking the script can you please check and suggest on priority basis its a humble request
October 16, 2018 at 1:40 pm #83024
Elise NoromitMemberHello,
Your forms have errors that is why they stopped working https://gyazo.com/191e9f6dfa30319b6facd668185cb12b
Enter each form and correct https://gyazo.com/a7566c9d9629dd86af9d83220d70867a
Best Regards
October 16, 2018 at 1:48 pm #83031
eduhivecreativestudioParticipantDear Support Team,
We are only using those forms which are not having errors
Customize Coasters
[contact-form-7 id="36420" title="Customize Coasters"]Customize Mobile Cover
[contact-form-7 id="36423" title="Customize Mobile Cover"]Customize Posters
[contact-form-7 id="36422" title="Customize Posters"]Customized
[contact-form-7 id="177" title="Customized"]Customized Coffee Mug
[contact-form-7 id="36418" title="Customized Coffee Mug"]Customized Women
[contact-form-7 id="36413" title="Customized Women"]Also mobile(Hamburger) menu is not working in the pages where we have attached cf7 shortcode
https://www.madsbox.com/customize-your-product/
https://www.madsbox.com/customize-your-product-women/
https://www.madsbox.com/customize-mobile-cover/
https://www.madsbox.com/customized-coffee-mugs/
https://www.madsbox.com/customize-coasters/
https://www.madsbox.com/customize-posters/October 16, 2018 at 1:54 pm #83035
eduhivecreativestudioParticipantDear Support Team,
Can you please check mobile menu is also not clickable it seems that something is blocking the javascript can you please check
October 16, 2018 at 2:32 pm #83050
Elise NoromitMemberHello,
Your menu consists of custom links without url so they are not clickable https://gyazo.com/81474281c6b509c7f7c64c7ea6ad1372
Your menu works well https://gyazo.com/07544b0e22ef4ab15c0c5c6d0be52cdc
Add URLs to menu
Best Regards
October 16, 2018 at 4:54 pm #83075
eduhivecreativestudioParticipantDear support team,
Can you please tell why cf7 is not working we are only using forms which are not having errors. Previously these forms were working fine
October 16, 2018 at 4:59 pm #83077
eduhivecreativestudioParticipantDear support Team,
When we are going to this page.https://www.madsbox.com/customize-your-product/
The mobile menu is not working. Unable to click on hamburger menu
October 16, 2018 at 5:09 pm #83078
eduhivecreativestudioParticipantDear Support team,
Mobile menu is not working only on below mentioned pages which is having cf7. When we click on submit button it redirects to form id can you please check and suggest. In these forms I have used CF7 conditional fields.
https://www.madsbox.com/customize-your-product/https://www.madsbox.com/customize-your-product-women/
https://www.madsbox.com/customize-mobile-cover/
https://www.madsbox.com/customized-coffee-mugs/
https://www.madsbox.com/customize-posters/October 16, 2018 at 6:26 pm #83092
Artem TemosKeymasterPlease, disable all plugins that are not related to our theme and enable WP Debug in the file
wp-config.php
.October 17, 2018 at 5:39 am #83127
eduhivecreativestudioParticipantDear Support Team,
I have disabled the plugin and enable WP Debug in the file wp-config.php but it is not displaying any issue can you please help us in fixing this solution. Menu links and Contact form 7 in selected pages not working as i have mentioned earlier
October 17, 2018 at 6:23 am #83144
Artem TemosKeymasterPlease, disable all plugins that are not related to our theme and enable WP Debug so we can check it.
October 17, 2018 at 6:28 am #83147
eduhivecreativestudioParticipantI cant disable all plugins as i have coded some html in forms in cf7 if i disable it all coding will be losted
October 17, 2018 at 6:29 am #83150
Artem TemosKeymasterThere is no other way to detect which plugin causes this issue. It is not our theme’s bug and you can check it switching to default WordPress theme.
October 17, 2018 at 6:33 am #83155
eduhivecreativestudioParticipantDear Support Team,
I have added some custom js scripts in function file can you please check is it properly inserted or not
October 17, 2018 at 6:57 am #83162
eduhivecreativestudioParticipantDear Support Team,
I have switched to wordpress default theme now cf7 and mobile menu is also working fine. When i have selected samsung it displays another dropdown containing samsung devices please refer to below mentioned images. I Think It is problem with the theme
Attachments:
You must be logged in to view attached files.October 17, 2018 at 8:29 am #83190
eduhivecreativestudioParticipantDear Support Team,
I have added below mentioned code in function.php file to remove the include_blank section. can you please tell how to properly insert this code in function.php file
//Adding Placeholder in CF7 Dropdwon
function my_wpcf7_form_elements($html){
function ov3rfly_replace_include_blank($name, $text, &$html) {
$matches = false;
preg_match(‘/<select name=”‘ . $name . ‘”[^>]*>(.*)<\/select>/iU’, $html, $matches);
if ($matches) {
$select = str_replace(‘<option value=””>—</option>’, ‘<option value=””>’ . $text . ‘</option>’, $matches[0]);$html = preg_replace(‘/<select name=”‘ . $name . ‘”[^>]*>(.*)<\/select>/iU’, $select, $html);}}
ov3rfly_replace_include_blank(‘menu-121’, ‘Choose Product Type’, $html);ov3rfly_replace_include_blank(‘choose-color’, ‘Choose Color’, $html);ov3rfly_replace_include_blank(‘select-size’, ‘Choose Size’, $html);ov3rfly_replace_include_blank(‘boysvneck-color’, ‘Choose Color’, $html);ov3rfly_replace_include_blank(‘boysvneck-size’, ‘Choose Size’, $html);ov3rfly_replace_include_blank(‘menu-mensfullsleeve’, ‘Choose Color’, $html);ov3rfly_replace_include_blank(‘menu-mensfullsleevesize’, ‘Choose Size’, $html);ov3rfly_replace_include_blank(‘menu-quantity’, ‘Choose Quantity’, $html);ov3rfly_replace_include_blank(‘menu-design’, ‘Select Design You Need’, $html);ov3rfly_replace_include_blank(‘menu-women’, ‘Select Product Type’, $html);ov3rfly_replace_include_blank(’roundneck-color’, ‘Choose Color’, $html);ov3rfly_replace_include_blank(’roundneck-color’, ‘Choose Color’, $html);ov3rfly_replace_include_blank(‘select-womenroundnecksize’, ‘Choose Size’, $html);ov3rfly_replace_include_blank(‘womenscroptop-color’, ‘Choose Color’, $html);ov3rfly_replace_include_blank(‘womenscroptop-size’, ‘Choose Size’, $html);ov3rfly_replace_include_blank(‘menu-womensfullsleevetopcolor’, ‘Choose Color’, $html);ov3rfly_replace_include_blank(‘menu-wommensfullsleevetopsize’, ‘Choose Size’, $html);ov3rfly_replace_include_blank(‘menu-womenquantity’, ‘Choose Quantity’, $html);ov3rfly_replace_include_blank(‘menu-womendesign’, ‘Choose Design You Need’, $html);ov3rfly_replace_include_blank(‘menu-175’, ‘Choose Design Mug’, $html);ov3rfly_replace_include_blank(‘coffee-mugdesign’, ‘Choose Mug Design Pattern’, $html);ov3rfly_replace_include_blank(‘menu-coasterdesign’, ‘Choose Coaster Design Pattern’, $html);ov3rfly_replace_include_blank(‘menu-poster’, ‘Choose Poster Type’, $html);ov3rfly_replace_include_blank(‘menu-posterdesign’, ‘Choose Poster Pattern’, $html);ov3rfly_replace_include_blank(‘menu-mobilecover’, ‘Choose Mobile Brand’, $html);ov3rfly_replace_include_blank(‘menu-apple’, ‘Choose Apple Series’, $html);ov3rfly_replace_include_blank(‘menu-samsung’, ‘Choose Samsung Series’, $html);ov3rfly_replace_include_blank(‘menu-xiamoi’, ‘Choose Xiaomi Series’, $html);ov3rfly_replace_include_blank(‘menu-oppo’, ‘Choose Oppo Series’, $html);ov3rfly_replace_include_blank(‘menu-vivo’, ‘Choose Vivo Series’, $html);ov3rfly_replace_include_blank(‘menu-oneplus’, ‘Choose OnePlus Series’, $html);ov3rfly_replace_include_blank(‘menu-motorola’, ‘Choose Motorola Series’, $html);ov3rfly_replace_include_blank(‘menu-htc’, ‘Choose HTC Series’, $html);ov3rfly_replace_include_blank(‘menu-google’, ‘Choose Google Series’, $html);ov3rfly_replace_include_blank(‘menu-sony’, ‘Choose Sony Series’, $html);ov3rfly_replace_include_blank(‘menu-nokia’, ‘Choose Nokia Series’, $html);ov3rfly_replace_include_blank(‘menu-lenovo’, ‘Choose Lenovo Series’, $html);ov3rfly_replace_include_blank(‘menu-micromax’, ‘Choose Micromax Series’, $html);ov3rfly_replace_include_blank(‘menu-LG’, ‘Choose LG Series’, $html);ov3rfly_replace_include_blank(‘menu-Leeco’, ‘Choose Leeco Series’, $html);ov3rfly_replace_include_blank(‘menu-Asus’, ‘Choose Asus Series’, $html);ov3rfly_replace_include_blank(‘menu-coolpad’, ‘Choose Coolpad Series’, $html);ov3rfly_replace_include_blank(‘menu-Huawei’, ‘Choose Huwaei Series’, $html);ov3rfly_replace_include_blank(‘menu-Infocus’, ‘Choose Infocus Series’, $html);ov3rfly_replace_include_blank(‘menu-mobilecoverpattern’, ‘Choose Design Pattern’, $html);
return $html;
}
add_filter(‘wpcf7_form_elements’, ‘my_wpcf7_form_elements’);When i am removing this code everything was working fine can you please check and suggest
October 17, 2018 at 8:37 am #83195
eduhivecreativestudioParticipantDear Support Team,
Please help us in rectifying this issue its urgent
October 17, 2018 at 9:39 am #83219
Artem TemosKeymasterSorry, but theme support doesn’t cover questions that require additional code customizations or review of 3rd party custom codes.
October 17, 2018 at 10:01 am #83228
eduhivecreativestudioParticipantDear Support Team,
But in your feature lists it is clearly mention that your theme is compatible with contact form 7. Please check it its not that much difficult for you to figure out. Please help me i am not a developer cant figure out what is the issue
October 17, 2018 at 11:54 am #83261
Artem TemosKeymasterYes, it is fully compatible with this plugin. But the code you added is not a part of the plugin. If you are not a developer so better not to use additional codes that may harm your website.
October 17, 2018 at 12:01 pm #83271
eduhivecreativestudioParticipantso you cant provide us a solution for this problem so sad to hear from support team
October 17, 2018 at 12:02 pm #83272
Artem TemosKeymasterWe can help you with any question that is connected to our theme. But we don’t provide support for 3rd party plugins and additional code customization. We hope for your understanding.
October 17, 2018 at 12:04 pm #83273
eduhivecreativestudioParticipantDear support Team,
Thanks for your precious help.
October 17, 2018 at 12:29 pm #83282
Artem TemosKeymasterYou are welcome.
-
AuthorPosts
The topic ‘Suddenly CF7 Stopped Working’ is closed to new replies.
- You must be logged in to create new topics. Login / Register