Steps to replicate the issue (include links if applicable):
- Install the newest version of QuizGame from either Git or ExtensionDistributor
- Follows the usual installation steps and updates the database
- Go to Special:QuizGameHome and create a quiz question with at least 2 answers.
What happens?:
It redirects to a blank page with the exception code and the backtraces if $wgShowExceptionDetails = true;
What should have happened instead?:
Showing the newly created question and playing with it
Software version (on Special:Version page; skip for WMF-hosted wikis like Wikipedia):
MediaWiki 1.42.1
PHP 8.2.12 (apache2handler)
ICU 71.1
MariaDB 10.4.32-MariaDB
Lua 5.1.5
Pygments 2.17.2
Other information (browser name/version, screenshots, etc.):
Back traces from Citizen skin as follow:
Backtrace: from D:\XAMPP\htdocs\includes\page\WikiPageFactory.php(57) #0 D:\XAMPP\htdocs\extensions\VisualEditor\includes\Hooks.php(624): MediaWiki\Page\WikiPageFactory->newFromTitle(MediaWiki\Title\Title) #1 D:\XAMPP\htdocs\includes\HookContainer\HookContainer.php(159): MediaWiki\Extension\VisualEditor\Hooks->onSkinTemplateNavigation__Universal(MediaWiki\Skins\Citizen\SkinCitizen, array) #2 D:\XAMPP\htdocs\includes\HookContainer\HookRunner.php(3581): MediaWiki\HookContainer\HookContainer->run(string, array, array) #3 D:\XAMPP\htdocs\includes\skins\SkinTemplate.php(964): MediaWiki\HookContainer\HookRunner->onSkinTemplateNavigation__Universal(MediaWiki\Skins\Citizen\SkinCitizen, array) #4 D:\XAMPP\htdocs\skins\Citizen\includes\SkinCitizen.php(71): SkinTemplate->runOnSkinTemplateNavigationHooks(MediaWiki\Skins\Citizen\SkinCitizen, array) #5 D:\XAMPP\htdocs\includes\skins\SkinTemplate.php(1357): MediaWiki\Skins\Citizen\SkinCitizen->runOnSkinTemplateNavigationHooks(MediaWiki\Skins\Citizen\SkinCitizen, array) #6 D:\XAMPP\htdocs\includes\skins\SkinTemplate.php(607): SkinTemplate->buildContentNavigationUrlsInternal() #7 D:\XAMPP\htdocs\includes\skins\SkinTemplate.php(183): SkinTemplate->getPortletsTemplateData() #8 D:\XAMPP\htdocs\includes\skins\SkinMustache.php(139): SkinTemplate->getTemplateData() #9 D:\XAMPP\htdocs\skins\Citizen\includes\SkinCitizen.php(79): SkinMustache->getTemplateData() #10 D:\XAMPP\htdocs\includes\skins\SkinMustache.php(92): MediaWiki\Skins\Citizen\SkinCitizen->getTemplateData() #11 D:\XAMPP\htdocs\includes\skins\SkinTemplate.php(176): SkinMustache->generateHTML() #12 D:\XAMPP\htdocs\includes\Output\OutputPage.php(3004): SkinTemplate->outputPage() #13 D:\XAMPP\htdocs\includes\exception\MWExceptionRenderer.php(189): MediaWiki\Output\OutputPage->output() #14 D:\XAMPP\htdocs\includes\exception\MWExceptionRenderer.php(106): MWExceptionRenderer::reportHTML(MediaWiki\Page\PageAssertionException) #15 D:\XAMPP\htdocs\includes\exception\MWExceptionHandler.php(133): MWExceptionRenderer::output(MediaWiki\Page\PageAssertionException, integer) #16 D:\XAMPP\htdocs\includes\exception\MWExceptionHandler.php(237): MWExceptionHandler::report(MediaWiki\Page\PageAssertionException) #17 D:\XAMPP\htdocs\includes\MediaWikiEntryPoint.php(221): MWExceptionHandler::handleException(MediaWiki\Page\PageAssertionException, string) #18 D:\XAMPP\htdocs\includes\actions\ActionEntryPoint.php(82): MediaWiki\MediaWikiEntryPoint->handleTopLevelError(MediaWiki\Page\PageAssert