Favicon

vickencode - 1 month ago

Hi All, So I tried to leverage the favicon.ico that is commented out when initial custom theme is scaffolded. I added a img directory and my favicon i.e. img/favicon, but it threw an error: Symfony \ Component \ Debug \ Exception \ FatalErrorException (E_UNKNOWN) Method Anomaly\Streams\Platform\Image\Image::__toString() must not throw an exception, caught ErrorException: filemtime(): stat failed for /Users/developer/workstation/properties/laravel/learn/luapp/public/app/appslug/assets//187057d83e4ff51f25cba86bd0afdaad. What am I doing wrong?

ryanthompson - 1 month ago

File doesn't exist sounds like. Also please try and use a liiiiittle more detailed titles ^_^

vickencode - 1 month ago

I will try my best to be a bit clearer. I even changed it to .png, after discovering this server doesn't support .ico, so it stopped erroring, which is nice, and continued to show the default pyro favicon in the tab. Therefore, I created a folder and added a file in my custom theme resources like this: img/favicon.png To leverage this which came out of the box: And instead of showing my favicon, chrome prints this:

ryanthompson - 1 month ago

What's the path to your image in the file system and what's your img tag in the view?