Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

kbatdorf's avatar

Funny links coming from asset() output

I'm using Laravel 5.3 and Spark (maybe 1.0). In the Spark brand file file I have:

<a class="navbar-brand" href="/home">
    {!! file_get_contents(asset('images/7G_logo.svg')) !!}
</a>

Receiving this in the log file:

ErrorException: file_get_contents(http://www.zjzj11.com/images/7G_logo.svg): failed to open stream: HTTP request failed! HTTP/1.1 404 Not Found

and

ErrorException: file_get_contents(http://count.51yes.com/images/7G_logo.svg): failed to open stream: HTTP request failed! HTTP/1.1 404 Not Found

The server is hosted on Digital Ocean via Forge. It's just an IP address right now. The site is still in development (Can't post a link to it, sorry).

I've only received these errors today, and both twice. Any ideas?

Thanks

0 likes
0 replies

Please or to participate in this conversation.