Skip to content

Fatal error: Uncaught Error: Undefined constant "SBL_PROP_PARENTPAGE" #82

@JanBoehme

Description

@JanBoehme

Setup and configuration

* PHP | 8.3.24 (fpm-fcgi)

* MariaDB | 10.11.12-MariaDB-ubu2204

* MediaWiki | 1.43.3 (82648f1) 16:08, 13. Aug. 2025

* Semantic MediaWiki | 6.0.0

* Semantic Breadcrumb Links | 2.1.0-alpha

Issue

Fatal error: Uncaught Error: Undefined constant "SBL_PROP_PARENTPAGE" in /../LocalSettings.php:358 Stack trace: #0 /../includes/Setup.php(222): require_once() #1 /../includes/WebStart.php(85): require_once('...') #2 /../index.php(50): require('...') #3 {main} thrown in /../LocalSettings.php on line 358

The issue from #56 seems to be back, this time as Fatal error.

Steps to reproduce

Semantic Breadcrumb Links

wfLoadExtension( 'SemanticBreadcrumbLinks' );

$GLOBALS['egSBLTryToFindClosestDescendant'] = false;
$GLOBALS['egSBLPropertySearchPatternByNamespace'] = [
DEMO => [
SBL_PROP_PARENTPAGE,
SBL_PROP_PARENTPAGE,
SBL_PROP_PARENTPAGE
]
];

Workaround

For now I manually required

require('extensions/SemanticBreadcrumbLinks/SemanticBreadcrumbLinks.php');

in LocalSettings.php

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions