My FontAwesome icons stopped showing up

The FontAwesome icons on my site (X Theme, Cornerstone, Integrity, Child theme) stopped showing up.
I sometimes get an error:

Uncaught TypeError: Cannot read property ‘dispatchEvent’ of null

at i ((index):9)
at o ((index):9)
at f ((index):9)
at o ((index):9)
at HTMLDocument. ((index):15)

Line 9 is a link to:

link rel=‘stylesheet’ id=‘cs-dashicons-css’ href=‘http://[[ OUR SITE ]]/wp-includes/css/dashicons.min.css?ver…’ type=‘text/css’ media=‘all’ /

That file is present, no 404.
We can’t always reproduce the error, but the icons never show.
This happened quietly and we’re not sure how we broke it. Do you have any thoughts?

Yes. This started with fontawesome update. Clients complained its breaking the icons and this latest update was trying to force it and it cause bigger problems for me because even though I went back to older version (I have backups) the social icons are blank now. I had to turn off the social footer because of this. Very angry.

Our social menu is still working fine. Icons elsewhere on the site (phone icon, calendar icon) are just blank.

And this may have started with a Cornerstone update.

Hi There @Solidwebservice & @Bark201

Thanks for writing in! Make sure to update both X theme and Cornerstone plugin to the latest versions as specified on out changelog (https://theme.co/changelog/). Then you need to purge your server cache (if you’re using a caching plugin) and also clear your browser cache before testing your site.

If you have customized your icons using your child theme, you will need to replace data-x-icon with data-x-icon-b to make your social icons load again. You can see a similar example from this thread (https://theme.co/apex/forum/t/social-icons-custom-in-footer-have-gone-after-update/38535/6).

If you’re still having issues, please provide us with your specific page URLs to check your issue further.

Thanks!

The last update fixed the social icons for me, thank you. The caching has to be completely cleared. The reason why I think most are not seeing the icons is because of the browser cache.

Updated, problem resolved. Thanks again for all of your help!

Glad that we could be of a help :slight_smile:

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.