JanZerebecki added a comment.
When I open https://www.wikidata.org/wiki/Special:EntityData/Q1996.rdf it works.
/** @var SiteLink $siteLink */
foreach ( $item->getSiteLinkList() as $siteLink ) {
$site = $this->sites->getSite( $siteLink->getSiteId() );
$languageCode = $site->getLanguageCode();
Line above is the line indicated in the error.
Are the sites for your installation somehow not correctly configured?
TASK DETAIL
https://phabricator.wikimedia.org/T90484
REPLY HANDLER ACTIONS
Reply to comment or attach files, or !close, !claim, !unsubscribe or !assign
<username>.
EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To: JanZerebecki
Cc: hoo, JanZerebecki, aude, daniel, despens, Aklapper, Wikidata-bugs, Jdouglas
_______________________________________________
Wikidata-bugs mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs