Console Errors After Migration from Dev to Stage
-
I am currently working on a website for a client. I am attempting to move the website from a dev to a stage environment. I do this using ServMask’s All-In-One migration plugin. The site is built with Divi.
When I export the site from dev, then import it to stage, several resources on the homepage display incorrectly and there are a handful of console errors (see below).
Access to font at 'https://192.168.98.2/blackandbrass/wp-content/themes/Divi/core/admin/fonts/modules/all/modules.ttf' from origin 'https://localhost' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.
GET https://192.168.98.2/blackandbrass/wp-content/themes/Divi/core/admin/fonts/modules/all/modules.ttf net::ERR_FAILED
Access to font at 'https://192.168.98.2/blackandbrass/wp-content/themes/Divi/core/admin/fonts/modules/all/modules.woff' from origin 'https://localhost' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.
GET https://192.168.98.2/blackandbrass/wp-content/themes/Divi/core/admin/fonts/modules/all/modules.woff net::ERR_FAILED
192.168.98.2 is the dev server and localhost is the stage. I’ve used this method for several other projects before and I have never had this issue. Does anyone have any insight on this issue? Please let me know, thank you.`
- The topic ‘Console Errors After Migration from Dev to Stage’ is closed to new replies.