Page MenuHomePhabricator

null argument passed to LinkRenderer::makeKnownLink()
Closed, DuplicatePublic

Description

fatal error: Argument 1 passed to MediaWiki\Linker\LinkRenderer::makeKnownLink() must implement interface MediaWiki\Linker\LinkTarget, null given
in /srv/mediawiki/php-1.28.0-wmf.15/includes/linker/LinkRenderer.php on line 301

We don't currently have a stacktrace to determine what is a calling makeKnownLink method with a null value as first argument.

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald TranscriptAug 20 2016, 11:56 AM

Change 305778 had a related patch set uploaded (by Dereckson):
Debug information for LinkRenderer::makeKnownLink issue

https://gerrit.wikimedia.org/r/305778

Florian added a subscriber: Florian.Sep 5 2016, 5:28 PM

Change 350656 had a related patch set uploaded (by 20after4; owner: Dereckson):
[mediawiki/core@wmf/1.29.0-wmf.21] Debug information for LinkRenderer::makeKnownLink issue

https://gerrit.wikimedia.org/r/350656

Change 350656 abandoned by 20after4:
Debug information for LinkRenderer::makeKnownLink issue

https://gerrit.wikimedia.org/r/350656

We perhaps now have a stracktrace at T164059.

Change 305778 abandoned by Dereckson:
Debug information for LinkRenderer::makeKnownLink issue

Reason:
This change was cherry-picked in wmf21, but is not a good fit for master.

https://gerrit.wikimedia.org/r/305778