MediaWiki | 1.39.4 |
PHP | 8.0.28 (cgi-fcgi) |
MySQL | 8.0.28-0ubuntu0.20.04.3 |
CommentStreams | 8.0-dev (6b3a3ed) |
When doing dumpBackup.php with CommentStreams enabled, I get the exception:
2023-07-30 18:56:12 vps###### my_site_: [7bb73dbe9364462616363b12] [no req] TypeError: XmlDumpWriter::canonicalTitle(): Argument #1 ($title) must be of type Title, null given, called in /home/my_user/mysite.com/w/extensions/CommentStreams/includes/MainHooks.php on line 417 #0 /home/my_user/mysite.com/w/extensions/CommentStreams/includes/MainHooks.php(417): XmlDumpWriter::canonicalTitle(NULL) #1 /home/my_user/mysite.com/w/includes/HookContainer/HookContainer.php(160): MediaWiki\Extension\CommentStreams\MainHooks->onXmlDumpWriterOpenPage(XmlDumpWriter, string, stdClass, Title) #2 /home/my_user/mysite.com/w/includes/HookContainer/HookRunner.php(4518): MediaWiki\HookContainer\HookContainer->run(string, array) #3 /home/my_user/mysite.com/w/includes/export/XmlDumpWriter.php(267): MediaWiki\HookContainer\HookRunner->onXmlDumpWriterOpenPage(XmlDumpWriter, string, stdClass, Title) #4 /home/my_user/mysite.com/w/includes/export/WikiExporter.php(551): XmlDumpWriter->openPage(stdClass) #5 /home/my_user/mysite.com/w/includes/export/WikiExporter.php(493): WikiExporter->outputPageStreamBatch(Wikimedia\Rdbms\MysqliResultWrapper, stdClass) #6 /home/my_user/mysite.com/w/includes/export/WikiExporter.php(315): WikiExporter->dumpPages(string, boolean) #7 /home/my_user/mysite.com/w/includes/export/WikiExporter.php(175): WikiExporter->dumpFrom(string) #8 /home/my_user/mysite.com/w/maintenance/includes/BackupDumper.php(363): WikiExporter->allPages() #9 /home/my_user/mysite.com/w/maintenance/dumpBackup.php(82): BackupDumper->dump(integer, integer) #10 /home/my_user/mysite.com/w/maintenance/includes/MaintenanceRunner.php(309): DumpBackup->execute() #11 /home/my_user/mysite.com/w/maintenance/doMaintenance.php(85): MediaWiki\Maintenance\MaintenanceRunner->run() #12 /home/my_user/mysite.com/w/maintenance/dumpBackup.php(144): require_once(string) #13 {main}