• When ever I try and save anything in the widget section, I am met with a error that says “You are probably offline” and stops me from saving. I get this error in the console log:

    Access to fetch at 'https://infinityfree.net/errors/403/' (redirected from 'https://website/wp-json/batch/v1?_locale=user') from origin 'https://website' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled.
    
    “No ‘Access-Control-Allow-Origin’ header is present on the requested resource” - This seems to be causing the issue, I am unsure how to add that to the request?

    I have SSL installed, all database instances of the old http have been automatically changed to https using a plugin that finds and replaces data. All traffic is also forced to go through https.

    Currently using a free sub-domain from InfinityFree. They told me to ask here as they could not figure out the issue.

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

Viewing 8 replies - 1 through 8 (of 8 total)
  • Moderator t-p

    (@t-p)

    Review this thread and see if it points in the right direction https://www.ads-software.com/support/topic/publishing-failed-you-are-probably-offline/

    Thread Starter dalejv

    (@dalejv)

    I have tried all of those fixes and none of them changed anything. The Cloudfare fix is not relevant as I do not use that, I also do not have the ‘my sites’ button either to access network administrator.

    In terms of replacing all instances of http with https I have already done that through PhPMyAdmin.

    Thread Starter dalejv

    (@dalejv)

    It only happens in the widget page, and I assume it will go away once I fix that CORS issue which has me confused!

    Moderator t-p

    (@t-p)

    To rule out a plugin or theme conflict, try to disable all plugins, and use one of the default (Twenty*) themes. If the problem goes away, enable them one by one to identify the source of your troubles.

    If you can install plugins, install and activate “Health Check”: https://www.ads-software.com/plugins/health-check/
    It will add some additional features under the menu item under Tools > Site Health.
    On its troubleshooting tab, you can Enable Troubleshooting Mode. This will disable all plugins, switch to a standard WordPress theme (if available), allow you to turn your plugins on and off and switch between themes, without affecting normal visitors to your site. This allows you to test for various compatibility issues.
    There’s a more detailed description about how to use the Health Check plugin and its Troubleshooting Mode at https://make.www.ads-software.com/support/handbook/appendix/troubleshooting-using-the-health-check/

    Thread Starter dalejv

    (@dalejv)

    That is a great plugin, thank you for that suggestion.

    The troubleshooting mode is very helpful, but it did not fix anything. The app did however show two issues with my site related to SSL. Both of them quoted this as the issue:

    “Error encountered: (0) cURL error 60: SSL certificate problem: unable to get local issuer certificate”

    Thread Starter dalejv

    (@dalejv)

    Which is strange because my certificate shows as

    “VALID SSL CERTIFCATE IS INSTALLED”

    The issuer is GoGetSSL and it expires in 3 months from now.

    Moderator t-p

    (@t-p)

    “Error encountered: (0) cURL error 60: SSL certificate problem: unable to get local issuer certificate”

    Please contact your hosting provider about issues related to SSL.

    Thread Starter dalejv

    (@dalejv)

    So I must contact my issuer GoGetSSL or InfinityFree?

    • This reply was modified 2 years, 10 months ago by dalejv.
Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘“You are probably offline” when trying to save widget’ is closed to new replies.