Have the server send the header with a valid value, or, if an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled. Origin '' is therefore not allowed access. Powered by AMP ⚡ HTML – Version 1535566825959 ĭ/:1 Failed to load : The 'Access-Control-Allow-Origin' header contains the invalid value '*.'. NOTE: we've also tested a simpler scenario using WP default theme (twenty seventeen and deactivating CF7 Redirection plugin. I'm not sure but I wonder if there could be an issue with the way your plugin deals with Ajax. Log.js:187 Form submission failed: Error: XHR Failed fetching (. Origin ' ' is therefore not allowed access. Powered by AMP zap HTML – Version 1534444305877 ĭ/:1 Failed to load : The 'Access-Control-Allow-Origin' header contains the invalid value '*.'. The problem is that users don’t have any verification that their form was sent to us so they insist clicking on the Submission button several times, creating fustration on them and filling up our email foder with dozens of copies of the same forms. We noticed we don't get in the AMP pages the usual message on mandatory fields that are left empty by the user.Īnd we found 2 error messages in our code (when we check the page in Developer mode in Chrome). Unfortunately, the AMP version of these same pages doesn’t do either one thing or the other: no succesful message and no redirection. The Form at the bottom of our web pages briefly displays a “Form sent successfully” message and then redirects users to a “Thanks” page.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |