skip to Main Content

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


  1. 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.

    Login or Signup to reply.
  2. Any help? (No strong coding skills unfortunately).

    Revert the changes and see if your website recovers.

    Login or Signup to reply.
  3. 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.

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search