Jump to content

Topic on Extension talk:Nuke

Cocopuff2018 (talkcontribs)

how do i fix this error it happens when i try to block a user from the wiki?


[ZG6QLuX5ow6G@Z@RqZ-gqwAAAAI] /index.php/Special:Block/Wiskyonthebayou Error: Call to undefined method MediaWiki\Block\DatabaseBlock::getTarget()

Backtrace:

from /home/vol1000_8/epizy.com/epiz_34255819/htdocs/extensions/DiscordNotifications/DiscordNotificationsCore.php(410)

#0 /home/vol1000_8/epizy.com/epiz_34255819/htdocs/includes/HookContainer/HookContainer.php(338): DiscordNotificationsCore::onDiscordUserBlocked(MediaWiki\Block\DatabaseBlock, User, NULL)

#1 /home/vol1000_8/epizy.com/epiz_34255819/htdocs/includes/HookContainer/HookContainer.php(137): MediaWiki\HookContainer\HookContainer->callLegacyHook(string, array, array, array)

#2 /home/vol1000_8/epizy.com/epiz_34255819/htdocs/includes/HookContainer/HookRunner.php(1039): MediaWiki\HookContainer\HookContainer->run(string, array)

#3 /home/vol1000_8/epizy.com/epiz_34255819/htdocs/includes/block/BlockUser.php(604): MediaWiki\HookContainer\HookRunner->onBlockIpComplete(MediaWiki\Block\DatabaseBlock, User, NULL)

#4 /home/vol1000_8/epizy.com/epiz_34255819/htdocs/includes/block/BlockUser.php(532): MediaWiki\Block\BlockUser->placeBlockInternal(boolean)

#5 /home/vol1000_8/epizy.com/epiz_34255819/htdocs/includes/block/BlockUser.php(466): MediaWiki\Block\BlockUser->placeBlockUnsafe(boolean)

#6 /home/vol1000_8/epizy.com/epiz_34255819/htdocs/includes/specials/SpecialBlock.php(922): MediaWiki\Block\BlockUser->placeBlock(boolean)

#7 /home/vol1000_8/epizy.com/epiz_34255819/htdocs/includes/specials/SpecialBlock.php(1036): SpecialBlock::processFormInternal(array, User, MediaWiki\Block\UserBlockCommandFactory, MediaWiki\Block\BlockUtils)

#8 /home/vol1000_8/epizy.com/epiz_34255819/htdocs/includes/htmlform/HTMLForm.php(725): SpecialBlock->onSubmit(array, OOUIHTMLForm)

#9 /home/vol1000_8/epizy.com/epiz_34255819/htdocs/includes/htmlform/HTMLForm.php(615): HTMLForm->trySubmit()

#10 /home/vol1000_8/epizy.com/epiz_34255819/htdocs/includes/htmlform/HTMLForm.php(631): HTMLForm->tryAuthorizedSubmit()

#11 /home/vol1000_8/epizy.com/epiz_34255819/htdocs/includes/specialpage/FormSpecialPage.php(209): HTMLForm->show()

#12 /home/vol1000_8/epizy.com/epiz_34255819/htdocs/includes/specialpage/SpecialPage.php(701): FormSpecialPage->execute(string)

#13 /home/vol1000_8/epizy.com/epiz_34255819/htdocs/includes/specialpage/SpecialPageFactory.php(1428): SpecialPage->run(string)

#14 /home/vol1000_8/epizy.com/epiz_34255819/htdocs/includes/MediaWiki.php(316): MediaWiki\SpecialPage\SpecialPageFactory->executePath(string, RequestContext)

#15 /home/vol1000_8/epizy.com/epiz_34255819/htdocs/includes/MediaWiki.php(904): MediaWiki->performRequest()

#16 /home/vol1000_8/epizy.com/epiz_34255819/htdocs/includes/MediaWiki.php(562): MediaWiki->main()

#17 /home/vol1000_8/epizy.com/epiz_34255819/htdocs/index.php(50): MediaWiki->run()

#18 /home/vol1000_8/epizy.com/epiz_34255819/htdocs/index.php(46): wfIndexMain()

#19 {main}