I got the news for our next level support as like me they do not able to see the issue with the duplicator package you shared.
The wp-admin access details you shared yesterday is not working at this end. Can you please share working wp-admin access details so that I can share that with our next-level support and they should investigate further.
I have set the next reply to private which means only you and I have access to it.
Yes - the latest update is that our next-level support person able to spot the issue on Dev FireFox version but again its not replicable on the duplicator you shared.
As I suspected while it was chat ticket that it could be related to cache and now next level support has concluded that it must be related to cache. They spot that the code in FF developer edition is different from Chrome with the following file:
$.post(wptDateData.ajaxurl, data, function (response) {
response = $.parseJSON(response);
if (el_aux.length > 0) {
el_aux.val(response['timestamp']).trigger('wptDateSelect');
}
el.val(response['display']);
el_clear.css('display', 'inline-block');
el.prev('small.wpt-form-error').remove();
});
Code from Chrome:
$.post(wptDateData.ajaxurl, data, function (response) {
if (typeof ( response ) === 'string' || response instanceof String) {
response = $.parseJSON( response );
}
if (el_aux.length > 0) {
el_aux.val(response['timestamp']).trigger('wptDateSelect');
}
el.val(response['display']);
el_clear.css('display', 'inline-block');
//Fix adding remove label on date
el.prev('small.wpt-form-error').remove();
});
The code that causes the issue which is being shown in FF developer edition exists in Forms 2.3 and Types 3.0. That means the old file is loaded with somewhere from the cache.
The only way to check this issue further is I think you should try to move the same site to your local server or different server and check if you are able to fix the issue to check and eliminate the server cache.
I moved the site to a local server, in that case, it is working.
I don't know what is wrong, I have cleared cache everywhere. I will also contact my hosting provider...
I just wondering, is there any case something is not set right about versioning when you register the date.js script:
I moved the site to a local server, in that case, it is working.
==>
This is what I suspected and as you acknowledge it works.
Unfortunately, I do not have any solution to share as I'm not able to reproduce the issue. You need to check with your hosting authority and ask them to clear all cache or maybe check with them to ensure from where that old version file is loaded. I believe that is the correct step to investigate and in the right direction.
Thanks for sharing but I do not think this could be the cause as when you load the site on your localhost where you confirm it works. I do not see logically it should affect the issue but I will share this information to our next level support and if they share anything is related to this issue I will get back to you but I dont think its related but yes, maybe we need to fix the constant with correct version in that file.
Thanks, yes please share it. I believe it is related. The .js files will not be updated if the version is not updated. I am not supposed to clear all my cache every time I update any plugin. That's why file versioning is in place. Thanks again