Topic on Extension talk:CategorySuggest/Archive 2

Bolando (talkcontribs)

Hello,

I have MediaWiki 1.35.0, PHP 7.3.21, CategorySuggest 1.9

This extension is not working, I get a console error related to URL index.php?action=ajax&rs=fnCategorySuggestAjax&rsargs%5B%5D=abc

and it tells:

Internal Error: Invalid server index index #DB_SLAVE

Any idea what cen be wrong?

134.28.147.28 (talkcontribs)

Without any warranty: I think changing <code>$dbr = wfGetDB( DB_SLAVE );</code> to <code>$dbr = wfGetDB( DB_REPLICA );</code> in CategorySuggest.php fixes this

Reply to "Not working"