today after updating a piece of content on my WP website I’ve got this error showing up (instead of some icons images):
Warning: file_get_contents(http://example.com/wp-content/uploads/2020/03/icon-linkedin.svg): failed to open stream: Connection refused in /home/user/mywebsite/htdocs/wp-content/themes/theabnet/front-page.php on line 28
This is the screenshot of the code generating the error:
https://i.stack.imgur.com/Al7A6.png
The weird thing is that this never happened before and the edit I made was not involving icons or things directly connected with that navigation area.
Any help? (No strong coding skills unfortunately).
3
Answers
I think the domain name (mywebsite.com) of your requested SVG link is wrong. If it is your own, try to re-register domain (or) change SVG icon link.
Revert the changes and see if your website recovers.
You can try giving folder permission in your live server sometimes permission. If it is your own, try to re-register the domain (or) change the SVG icon link.