Support » Plugin: Material Design for Contact Form 7 » Incompatibilty with Safari after WP 5.0 update

  • Resolved vladimirt

    (@vladimirt)


    After upgrading WP to 5.0, I realize that the forms with material design, has a lot of errors on Safari browser.
    There’s a lot of errors related with error 409.
    For example: [Error] Failed to load resource: the server responded with a status of 409 () xxx/plugins/contact-form-7/includes/css/styles.css?ver=5.1
    This problem is not happening on Google Chrome.
    I tryed disabling the plugins but still with the error.
    Please your urgent help.

    The page I need help with: [log in to see the link]

Viewing 10 replies - 1 through 10 (of 10 total)
  • Plugin Author GusRuss89

    (@gusruss89)

    Hi @vladimirt,

    I haven’t fully tested on WP 5.0 yet, but this error looks like it’s to do with Contact Form 7 itself. That path is in the plugins/contact-form-7 folder.

    Is your CF7 plugin up-to-date?

    Also, when I test your page, I don’t get any errors in Safari – were you able to fix it on your own? If so, mind telling me what did it?

    Thanks,
    Angus

    This is how I see that page on Safari:
    http://bisabolsa.com/imgs/screen1.png

    Its not solved. I didn’t do nothing.
    You can see that the errors refers to contact-form-7 and material-design-for-contact-form-7.

    Im using Safari v12.0.1.
    On Google Chrome works ok.
    Any clue?

    By the way, I have the premium version of your Plugin.

    Plugin Author GusRuss89

    (@gusruss89)

    Hi @vladimrt,

    Hmm, on the same version of Safari I get no errors. Are you on the Windows or Mac version of Safari?

    If you know how to edit files on your server (through CPanel, FTP, SSH etc), can you try this for me please? Open the file at wp-content/plugins/material-design-form-contact-form-7-premium/v1/public/cf7-material-design-public.php and find the line public function add_scripts_and_styles() {.

    Note: make sure you notice the v1 in the path – there’s a similar file without the v1 but it won’t have any effect for you.

    Inside that function there are several lines that start with wp_enqueue_. In each of these lines (except for the Google font one), there is a version number near the end of the line (1.0, 1.0, 1.1, 2.0).

    Try just adding 0.1 to each of those numbers so that they’re 1.1, 1.1, 1.2 and 2.1. Make sure to keep the single quotes around the number.

    Save the file and put it back in the same place (if you’re using FTP).

    Refresh safari and see if it fixes the issue for the material design files. Let me know your results.

    Thanks,
    Angus

    I have Safari v12.0.1 on a Mac with Mojave.
    I tried what you told me but nothing. Still the same error, but now with the version of the file plus 0.1.
    Its very strange that you got no error with same browser and OS, and in my Chrome works OK.
    I really don’t understand what’s going on.

    Plugin Author GusRuss89

    (@gusruss89)

    Hi @vladimirt,

    I’m also on Mojave so our setup is the exact same.

    Hmm. A couple of other things to try:

    1. Try clearing Safari’s cache for your specific site (instructions here – https://www.macworld.co.uk/how-to/mac-software/safari-cache-mac-3496193/)

    2. Are you logged in? If so, try logging out and see if that fixes it.

    Thanks,
    Angus

    Hi Gus,
    I solved and the solution you won’t believe.
    I changed the WiFi from my default router to my iPhone, and works ok, no errors.
    That means that my router is the problem or the Internet Provider. But in any of those two options, why is it possible that a router or ISP can generate those errors, only in those plugins, and any other plugins works perfectly.
    If you have any clue will be welcome.
    Is it possible that a malware can be in my router?
    Right now Im asking to change my router.

    Thanks for your time.
    Best regards

    Vladimir

    Plugin Author GusRuss89

    (@gusruss89)

    Hi Vladimir,

    A 409 error means that there was a conflict with the state of the file on the server side. It could be that your router had a corrupted cache or something, but to be honest I really don’t know how it could have happened.

    It’s also weird that it only happened in Safari – I’m actually surprised that emptying your cache in Safari didn’t fix the issue.

    Anyway thanks for reporting. If I hear about the issue from anyone else I’ll continue to investigate, but at this stage it seems related to your router/network.

    Thanks,
    Angus

    Hi Rus,
    FYI, I had to use Contact Form 7 Material Design to make it work, and now I dont have errors on Safari.
    Regards
    Vladimir

    Plugin Author GusRuss89

    (@gusruss89)

    Hi Vladimir,

    Thanks for letting me know.

    Can you confirm, turning off my plugin also fixed the error loading the Contact Form 7 scripts?

    If that’s the case, I wonder if perhaps you got a corrupted plugin file or something, and a reinstall might have worked.

    Thanks,
    Angus

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Incompatibilty with Safari after WP 5.0 update’ is closed to new replies.