Extension talk:BannerAds
Add topicAppearance
Latest comment: 1 year ago by Makertrainer
Hello!
When I tried to install this extension, it worked at first, I pressed the New Campaign button, and then everything broke. I tried to update MW, but it didn't help. I'm on MW 1.37.1 Thanks in advance.
Here's the error I get:
MediaWiki internal error.
Original exception: [Y8V4svQZ6tvJ0GK1hVkBcgAAAI4] /wiki/Main_Page UnexpectedValueException: Invalid server index index #DB_SLAVE Backtrace: from /home/makertra/public_html/AAAA/includes/libs/rdbms/loadbalancer/LoadBalancer.php(517)
- 0 /home/makertra/public_html/AAAA/includes/libs/rdbms/loadbalancer/LoadBalancer.php(961): Wikimedia\Rdbms\LoadBalancer->getConnectionIndex(string, array, string)
- 1 /home/makertra/public_html/AAAA/includes/libs/rdbms/loadbalancer/LoadBalancer.php(1128): Wikimedia\Rdbms\LoadBalancer->getConnection(string, array, string, integer)
- 2 /home/makertra/public_html/AAAA/includes/GlobalFunctions.php(2229): Wikimedia\Rdbms\LoadBalancer->getMaintenanceConnectionRef(string, array, string)
- 3 /home/makertra/public_html/AAAA/extensions/BannerAds/BannerAdsProcessor.php(24): wfGetDB(string)
- 4 /home/makertra/public_html/AAAA/extensions/BannerAds/BannerAdsHooks.php(52): BannerAdsProcessor::getAd(integer)
- 5 /home/makertra/public_html/AAAA/includes/HookContainer/HookContainer.php(338): BannerAdsHooks::onBeforePageDisplay(OutputPage, Skins\Chameleon\Chameleon)
- 6 /home/makertra/public_html/AAAA/includes/HookContainer/HookContainer.php(137): MediaWiki\HookContainer\HookContainer->callLegacyHook(string, array, array, array)
- 7 /home/makertra/public_html/AAAA/includes/HookContainer/HookRunner.php(947): MediaWiki\HookContainer\HookContainer->run(string, array, array)
- 8 /home/makertra/public_html/AAAA/includes/OutputPage.php(2639): MediaWiki\HookContainer\HookRunner->onBeforePageDisplay(OutputPage, Skins\Chameleon\Chameleon)
- 9 /home/makertra/public_html/AAAA/includes/MediaWiki.php(944): OutputPage->output(boolean)
- 10 /home/makertra/public_html/AAAA/includes/MediaWiki.php(957): MediaWiki::{closure}()
- 11 /home/makertra/public_html/AAAA/includes/MediaWiki.php(564): MediaWiki->main()
- 12 /home/makertra/public_html/AAAA/index.php(53): MediaWiki->run()
- 13 /home/makertra/public_html/AAAA/index.php(46): wfIndexMain()
- 14 {main}
Exception caught inside exception handler: [Y8V4svQZ6tvJ0GK1hVkBcgAAAI4] /wiki/Main_Page UnexpectedValueException: Invalid server index index #DB_SLAVE Backtrace: from /home/makertra/public_html/AAAA/includes/libs/rdbms/loadbalancer/LoadBalancer.php(517)
- 0 /home/makertra/public_html/AAAA/includes/libs/rdbms/loadbalancer/LoadBalancer.php(961): Wikimedia\Rdbms\LoadBalancer->getConnectionIndex(string, array, string)
- 1 /home/makertra/public_html/AAAA/includes/libs/rdbms/loadbalancer/LoadBalancer.php(1128): Wikimedia\Rdbms\LoadBalancer->getConnection(string, array, string, integer)
- 2 /home/makertra/public_html/AAAA/includes/GlobalFunctions.php(2229): Wikimedia\Rdbms\LoadBalancer->getMaintenanceConnectionRef(string, array, string)
- 3 /home/makertra/public_html/AAAA/extensions/BannerAds/BannerAdsProcessor.php(24): wfGetDB(string)
- 4 /home/makertra/public_html/AAAA/extensions/BannerAds/BannerAdsHooks.php(52): BannerAdsProcessor::getAd(integer)
- 5 /home/makertra/public_html/AAAA/includes/HookContainer/HookContainer.php(338): BannerAdsHooks::onBeforePageDisplay(OutputPage, Skins\Chameleon\Chameleon)
- 6 /home/makertra/public_html/AAAA/includes/HookContainer/HookContainer.php(137): MediaWiki\HookContainer\HookContainer->callLegacyHook(string, array, array, array)
- 7 /home/makertra/public_html/AAAA/includes/HookContainer/HookRunner.php(947): MediaWiki\HookContainer\HookContainer->run(string, array, array)
- 8 /home/makertra/public_html/AAAA/includes/OutputPage.php(2639): MediaWiki\HookContainer\HookRunner->onBeforePageDisplay(OutputPage, Skins\Chameleon\Chameleon)
- 9 /home/makertra/public_html/AAAA/includes/exception/MWExceptionRenderer.php(158): OutputPage->output()
- 10 /home/makertra/public_html/AAAA/includes/exception/MWExceptionRenderer.php(77): MWExceptionRenderer::reportHTML(UnexpectedValueException)
- 11 /home/makertra/public_html/AAAA/includes/exception/MWExceptionHandler.php(107): MWExceptionRenderer::output(UnexpectedValueException, integer)
- 12 /home/makertra/public_html/AAAA/includes/exception/MWExceptionHandler.php(202): MWExceptionHandler::report(UnexpectedValueException)
- 13 /home/makertra/public_html/AAAA/includes/MediaWiki.php(583): MWExceptionHandler::handleException(UnexpectedValueException, string)
- 14 /home/makertra/public_html/AAAA/index.php(53): MediaWiki->run()
- 15 /home/makertra/public_html/AAAA/index.php(46): wfIndexMain()
- 16 {main}