Home > Blockchain >  Warning: file_get_contents failed to open stream: Connection refused php
Warning: file_get_contents failed to open stream: Connection refused php

Time:06-06

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

CodePudding user response:

Any help? (No strong coding skills unfortunately).

Revert the changes and see if your website recovers.

CodePudding user response:

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.

  • Related