Skip to content

TypeError: Cannot read properties of undefined (reading 'length') #90

@krabina

Description

@krabina

When trying to use the extension with parser function or Special:Network, nothing is displayed. This is shown in console:

Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'length')
    at load.php?lang=de&modules=ext.bootstrap.scripts%7Cext.network%7Cext.smw.styles%7Cjquery%2Coojs-ui-core%7Cmediawiki.action.view.postEdit%7Cmediawiki.notification%2CvisibleTimeout%7Coojs-ui.styles.icons-interactions&skin=chameleon&version=alsor:823:417
    at Array.map (<anonymous>)
    at module.NetworkData.NetworkData.addPages (load.php?lang=de&modules=ext.bootstrap.scripts%7Cext.network%7Cext.smw.styles%7Cjquery%2Coojs-ui-core%7Cmediawiki.action.view.postEdit%7Cmediawiki.notification%2CvisibleTimeout%7Coojs-ui.styles.icons-interactions&skin=chameleon&version=alsor:823:364)
    at load.php?lang=de&modules=ext.bootstrap.scripts%7Cext.network%7Cext.smw.styles%7Cjquery%2Coojs-ui-core%7Cmediawiki.action.view.postEdit%7Cmediawiki.notification%2CvisibleTimeout%7Coojs-ui.styles.icons-interactions&skin=chameleon&version=alsor:849:171Understand this error
Software Version
MediaWiki 1.39.12 (7077e6f)
PHP 8.2.20 (fpm-fcgi)
MySQL 8.0.28
ICU 73.2
Network 3.0.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions