Skip to content

Undefined array key "-" #939

@krabina

Description

@krabina
Software Version
MediaWiki 1.39.12
PHP 8.1.32 (fpm-fcgi)
MariaDB 10.3.39-MariaDB-0ubuntu0.20.04.2
ICU 66.1
Elasticsearch 7.17.24
MediaWikii 1.39.12
Semantic MediaWiki 4.2.0 (0a8af75) 15:31, 18. Jul. 2024
Semantic Result Formats 5.0.0 (df64395) 14:11, 15. Mai 2025

I get this warning on running runJobs.php

PHP Warning:  Undefined array key "-" in extensions/SemanticResultFormats/src/ResourceFormatter.php on line 115
PHP Warning:  Undefined array key "-" in extensions/SemanticResultFormats/src/ResourceFormatter.php on line 116

$ask['printouts'][$key] .= '=' . $mapLabels[$match[1]];

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions