Issue with js function by activating w3 total cache
-
Hi.
I tried to auto populate page heading to contact form 7 text field and it is working fine when i am deactivating the w3 total cache plugin but as soon as i am reactivating it…again it is not working. My jquery code is below- Please give any solution ASAP
jQuery(function() {
jQuery(‘#cstapply’).val(jQuery(“.auto-titles h2”).text());
});`
The page I need help with: [log in to see the link]
-
Hello @amanbrainium
I am sorry about the issue you are experiencing and I am happy to help.
I’ve checked your website and I can see that the W3TC is enabled, using Page Cache, Object Cache, Database Cache, and CDN (not configured) however I am not seeing any problems with auto-populate the form on the page:https://greymatter.brainiuminfotech.com/brainiumweb/contact-us/Can you please share some more details and screenshots so I can understand the problem better?
Thanks!Hello you are checking the wrong URL-
Please check this one
https://greymatter.brainiuminfotech.com/brainiumweb/company/careers/
In this page when you click any opening with apply now like this below url-
https://greymatter.brainiuminfotech.com/brainiumweb/company/careers/business-development-manager/
then in form i am auto populating page name in place of name of skill field. But As soon i enable w3 total cache then it disappearing..i mean auto populate data gone missing
https://www.awesomescreenshot.com/image/34968064?key=b7b98548bd867f8dbadaa70ac8a2c776
you can check screenshot- This is after enabling w3 total cache plugin
check below screenshot before enabling w3 total cache plugin-
https://www.awesomescreenshot.com/image/34968137?key=49f818e6d04c62730c3f33356995f337
-
This reply was modified 3 years, 6 months ago by
amanbrainium.
Hello @amanbrainium
Thank you for yoru feedback.
As I can see in the screenshots, this also happens while logged in.
Can you please disable the settings one by one in Performance>general settings, save the settings and purge the cache after each setting is disabled, and see which one might be causing the issue?Thanks!
Hi,
I done all these things already but result is same. Please check.
Hello @amanbrainium
As I can see everything is still enabled:
<!-- Performance optimized by W3 Total Cache. Learn more: https://www.boldgrid.com/w3-total-cache/ Object Caching 359/359 objects using disk Object Cache debug info: Caching: enabled Total calls: 359 Cache hits: 359 Total time: 0.0193 Page Caching using disk (Requested URI contains query) Page cache debug info: Engine: disk Cache key: Creation Time: 1669997821.000s Header info: Content-Type: text/html; charset=UTF-8 Link: <https://greymatter.brainiuminfotech.com/brainiumweb/wp-json/>; rel="https://api.w.org/" Link: <https://greymatter.brainiuminfotech.com/brainiumweb/?p=13790>; rel=shortlink Content Delivery Network via N/A Database Caching 2/3 queries in 0.001 seconds using disk Served from: greymatter.brainiuminfotech.com @ 2022-12-02 16:17:01 by W3 Total Cache -->Please disable the settings in the General settings and save all settings and purge the cache after each setting is disabled.
Thanks!
No Effect after disable all the setting from general settings tab
Hello @amanbrainium
Thank you for your feedback.
Can you please temporarily disable W3TC and let me know if the problem persists?
Thanks!Hi,
As i said ..when i disable the plugin then no problem occurs..only problem is occuring when i activating the plugin
Hey @amanbrainium
Thank you for your feedback.
Can you please disable the plugin now? I have the pages opened now so now I can check the potential problem.
Thanks!disable the plugin…can you please check it now?
Hello @amanbrainium
Thank you for your feedback.
Yes, I can see the changes now. Therew is a chance that something was stuck int eh Browser Cache.
Can you please uninstall W3TC and remove all of the files in wp-content related to W3TC:
Delete wp-content files and folders
– cache folder
– w3tc-config folder
– object-cache.php (if exists)
– advanced-cache.php (if exists)
– db.php (if exists)
– upgrade folder
– delete the w3-total-cache folder in wp-content/plugins/ (if exists)Re-install and configure the plugin and see if the problem persists. If you are using a browser Cache and the long expiry for the CSS files, you should also enable the option: “Prevent caching of objects after settings change” in Performance>Browser Cache, which will add a random query string to the files, making sure the browser always fetch a new version of the file when the “Update Media query string” button is clicked and the cache is purged.
Thanks!
-
This reply was modified 3 years, 6 months ago by
The topic ‘Issue with js function by activating w3 total cache’ is closed to new replies.