You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While updating meza to MediaWiki 1.39 WatchAnalytics fails due to fetchRow() member function being deprecated as of MW 1.37 and removed in MW 1.39. Error from meza deploy monolith deployed via https://github.com/djflux/meza/tree/39.x-dev:
While updating meza to MediaWiki 1.39 WatchAnalytics fails due to fetchRow() member function being deprecated as of MW 1.37 and removed in MW 1.39. Error from
meza deploy monolith
deployed via https://github.com/djflux/meza/tree/39.x-dev:Original exception: [Y9BakrdH2Erz0KYQ1OOnTAAAAMI] /demo/index.php?title=Main_Page&requestDebug=1 Error: Call to undefined method Wikimedia\Rdbms\DatabaseMysqli::fetchRow()
Backtrace:
from /opt/htdocs/mediawiki/includes/libs/rdbms/database/DBConnRef.php(103)
#0 /opt/htdocs/mediawiki/extensions/WatchAnalytics/includes/UserWatchesQuery.php(122): Wikimedia\Rdbms\DBConnRef->__call(string, array)
#1 /opt/htdocs/mediawiki/extensions/WatchAnalytics/Hooks.php(94): UserWatchesQuery->getUserWatchStats(User)
#2 /opt/htdocs/mediawiki/includes/HookContainer/HookContainer.php(338): WatchAnalyticsHooks::onBeforePageDisplay(OutputPage, MediaWiki\Skins\Vector\SkinVectorLegacy)
#3 /opt/htdocs/mediawiki/includes/HookContainer/HookContainer.php(137): MediaWiki\HookContainer\HookContainer->callLegacyHook(string, array, array, array)
#4 /opt/htdocs/mediawiki/includes/HookContainer/HookRunner.php(945): MediaWiki\HookContainer\HookContainer->run(string, array, array)
Code should use IResultWrapper::fetchRow() according to:
https://doc.wikimedia.org/mediawiki-core/REL1_38/php/classWikimedia_1_1Rdbms_1_1DBConnRef.html#a6619bdfd939800bedbb0c16c584b30ca
Working on fix.
The text was updated successfully, but these errors were encountered: