Fatal error: Cannot declare class SemanticMediaWiki
- PHP Fatal error: Cannot declare class SemanticMediaWiki."1
This issue appears if you run
composer install --no-dev from within Semantic MediaWiki's extension directory instead of the from the base directory2 of your MediaWiki installation.
Please follow the installation instructions as outlined to mitigate the issue.
- Semantic MediaWiki: GitHub issue gh:smw:3984
- This is the directory which contains the "LocalSettings.php" file.