Thank you for your feed-back. I disabled Autoptimize and Cache enabler and the issue in the code is still there. However, it seems it is related with additional /div et /body which are generated by the code generator...
It’s could be because of CORS library which hasn’t been installed on your server.
More details about the CORS you can read on http://enable-cors.org/server.html but we recommend to contact with your server administrator this case because he will be able to help you for sure.
Ok thank you. But this is strange as this is impacting icons needed by the theme... I don't see why we need CORS for icons, considering the potential risk of having external scripts corrupt the website...
I talked to my hosting provider and our website developer.
They do not quite understand why you need a '*' in
Header set Access-Control-Allow-Origin "*"
Would it be possible just to restrict to the resources Betheme needs? I am saying Betheme because the icon issue only happened when updating the theme from 20.9.8.1.
Actually the issue did not come from CORS, but from the BeTheme update itself.
I investigated the theme update problems, when looking at the exchanges between the browser and the website, we see that the font mfn-icons.aot is not found (http 404 error).
The theme I am using is BeTheme child. I don't know why as I thought I was using BeTheme, which is also installed on my website.
Before the update, the font file in question was searched in the parent theme BeTheme, but with the new update, the font is searched in the directory of the child theme itself, and is not found there, either because the update package is not complete or for any other reason.
I can see two solutions: improve the update package of child theme or move my website to parent theme.
Which one is the best? Why using child theme instead of parent theme? How to move the website to parent theme?
We use cookies to personalise content and ads, to provide social media features and to analyse our traffic. We also share information about your use of our site with our social media, advertising and analytics partners who may combine it with other information that you’ve provided to them or that they’ve collected from your use of their services.
Cookies are small text files that can be used by websites to make a user's experience more efficient.
The law states that we can store cookies on your device if they are strictly necessary for the operation of this site. For all other types of cookies we need your permission. This means that cookies which are categorized as necessary, are processed based on GDPR Art. 6 (1) (f). All other cookies, meaning those from the categories preferences and marketing, are processed based on GDPR Art. 6 (1) (a) GDPR.
This site uses different types of cookies. Some cookies are placed by third party services that appear on our pages.
You can at any time change or withdraw your consent from the Cookie Declaration on our website.
Learn more about who we are, how you can contact us and how we process personal data in our Privacy Policy.
Please state your consent ID and date when you contact us regarding your consent.
Comments
Please open your website in Firefox html mode (CTRL+U) and check html errors you got. Please fix them first and all should be fine.
More details about the CORS you can read on
http://enable-cors.org/server.html but we recommend to contact with your
server administrator this case because he will be able to help you for
sure.
P.S. For .htaccess solution, please visit
http://forum.muffingroup.com/betheme/discussion/4902/icons-are-gone-cors-solved-within-htaccess
thanks
The theme I am using is BeTheme child. I don't know why as I thought I was using BeTheme,
which is also installed on my website.
Before the update, the font file in question was searched in the parent theme BeTheme, but with the new update, the font is searched in the directory of the child theme itself, and is not found there, either because the update package is not complete or for any other reason.
www.iconyl.ch
https://wordpress.org/plugins/duplicator/