Notice: Undefined property: stdClass::$language in linkchecker_parse_fields() (line 1205 of ...\sites\all\modules\linkchecker\linkchecker.module).

D5.17
Link checker 7.x-1.0-beta1+8-dev (2012-Aug-11)

Comments

wusel’s picture

Title: Notice: Undefined property » Notice: Undefined property: stdClass::$language in linkchecker_parse_fields()
hass’s picture

Can you share a var_dump of $entity and a repro plan, please?

hass’s picture

hass’s picture

Are you running a english only site or one with other languages enabled?

hass’s picture

Status: Active » Postponed (maintainer needs more info)
Rob_Feature’s picture

no other languages available on my site...same error.

wusel’s picture

The language on my site is german. The admin-menu is in english. No other languages.

Rob_Feature’s picture

Status: Postponed (maintainer needs more info) » Active
hass’s picture

Patch?

Rob_Feature’s picture

hass: Are you asking one of us for a patch? I can only speak for myself, but I get the impression it's true for the other reports here as well, that we dont really understand what's going on enough to offer a patch..we're simply reporting the issue.

To clarify on my site, further, all my content has a language of 'und' (undefined)...no localization modules are active.

hass’s picture

Yep, I have not seen this myself yet. I also need a repro plan...

Rob_Feature’s picture

If anyone figures out how to reproduce this please post it here...i haven't been able to on a clean install (but obviously there's some condition that causes it)

hass’s picture

Status: Active » Postponed (maintainer needs more info)

Can you guys make a print_r() in linkchecker_parse_fields() and print $bundle, $entity, $type, please? You can send me a private mail if required. We need to find out what content type this is and what variables are defined and than we may be able to investigate why the object is incomplete.

hass’s picture

Status: Postponed (maintainer needs more info) » Needs review
StatusFileSize
new3.44 KB

Patch attached. Linkchecker requires Drupal 7.15 or later with this patch.

hass’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

Anonymous’s picture

Issue summary: View changes

translation