Seeing these in dblog (causing 500 error also) after adding local php scraper to a view:

Notice: Undefined property: stdClass::$data in link_favicon_formatter_get_favicon() (line 345 of /sites/all/modules/link_favicon_formatter/link_favicon_formatter.module).

Notice: Undefined property: stdClass::$headers in link_favicon_formatter_get_favicon() (line 376 of /sites/all/modules/link_favicon_formatter/link_favicon_formatter.module).

Notice: Undefined property: stdClass::$status_message in link_favicon_formatter_get_favicon() (line 379 of /sites/all/modules/link_favicon_formatter/link_favicon_formatter.module).

Notice: Undefined index: content-type in link_favicon_formatter_get_favicon() (line 376 of /sites/all/modules/link_favicon_formatter/link_favicon_formatter.module).

Notice: Undefined index: content-length in link_favicon_formatter_get_favicon() (line 379 of /sites/all/modules/link_favicon_formatter/link_favicon_formatter.module).

Comments

2pha’s picture

This seems to indicate there is a problem retrieving the page that the link points to. What are the urls that the links are pointing to? I may have to add a check to make sure the urls are valid.

2pha’s picture

I have added a check to make sure the link url is able to retrieved and suppressed the error if not.
I committed the changes and added a 7.0-1.1 release.

2pha’s picture

Status: Active » Closed (fixed)