Topic on Extension talk:StructuredDiscussions

the "mention" feature causes "Internal Database Error" for *some* users

19
Revansx (talkcontribs)

Hello, I am running a private enterprise SMW with Echo and Flow with VisualEditor and parsoid. The entire combination seems to work great except that for *some* users, using the mention feature results in the message "Internal Database Error" upon submitting the comment. However, the comment DID submit if the page is refreshed, and the mention link is intact, yet no notification is sent to the user mentioned. How can I debug this?

Product Version
MediaWiki 1.28.2
PHP 5.6.32 (apache2handler)
MariaDB 5.5.56-MariaDB
ICU 50.1.2
Flow 1.1 (6ecdef3)2017-04-16T23:46:13
Echo – (f55bdd9)2016-10-25T16:11:28
VisualEditor 0.1.0 (93528b7)2016-10-25T16:23:47
parsoid /0.7.1+git
Revansx (talkcontribs)
Revansx (talkcontribs)

To help troubleshoot the issue, I have promoted a few users to the exact same list of groups and rights as I have as sysop to no avail. I was thinking that it might just be a permissions error for the "added rights" introduced with the Flow extension, but based on the test with the promoted user that doesn't seem to be the case.

Revansx (talkcontribs)
Revansx (talkcontribs)

how does one determine if the issue is with Flow or Echo or VisualEditor or Parsoid?

MarkAHershberger (talkcontribs)

I have users complaining about a similar error, @Revansx (and, hey Echo/Flow, devs, shouldn't you promote users in the thread in the completion box for mentions?)

Let me see if it is coming from the same sort of db error.

MarkAHershberger (talkcontribs)

Ok, my first error is a content warning. Somehow "https:" is becoming "http:" somewhere along the way, so this doesn't look like your error (yet).

Did you try running update.php? What does the debug log say?

Revansx (talkcontribs)

(Somehow "https:" is becoming "http:" somewhere along the way) ... this could explain a lot of other quirky behavior I am experiencing.. yes, I have run the update script, however, I run it with the "--skip-external-dependencies" because of some reason I can't remember. It won't work without that.

Revansx (talkcontribs)

I'll check the debug.. sec..

MarkAHershberger (talkcontribs)
Revansx (talkcontribs)

Here's the debug log when the error happens (I had to alter and delate some of the particulars


IP: 
Start request POST /mywiki/api.php
HTTP HEADERS:
HOST: mywiki.xyzzyx.net
CONNECTION: keep-alive
CONTENT-LENGTH: 645
ACCEPT: application/json, text/javascript, */*; q=0.01
ORIGIN: https://mywiki.xyzzyx.net
X-REQUESTED-WITH: XMLHttpRequest
USER-AGENT: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/61.0.3163.100 Safari/537.36
CONTENT-TYPE: application/x-www-form-urlencoded; charset=UTF-8
REFERER: https://mywiki.xyzzyx.net/smw/Talk:That_Place_There_Wiki
ACCEPT-ENCODING: gzip, deflate, br
ACCEPT-LANGUAGE: en-US,en;q=0.8
COOKIE: __utma=126397915.1258367925.1465950146.1474043409.1474043409.1; __utma=259910805.1258367925.1465950146.1497547351.1497547351.8; __utmz=259910805.1497547351.8.7.utmcsr=google|utmccn=(organic)|utmcmd=organic|utmctr=(not%20provided); mywikitemplates-used-list=expanded; my_wikiUserName=MyWikiAdmin; mywikipreview-limit-report=expanded; mywikiUserName=Wikiadmin; mywiki29UserName=Wikiadmin; _ga=GA1.2.1258367925.1465950146; _gid=GA1.2.345984027.1510096102; Pulse-Launchpad-SessionId-API-.neacc.xyzzyx.net=N7n%3At%2C%3A59hwfe7jAGHZ%2C%3AcZrUpxk4_83an%60Q7HIR_oEqubADa%60; MediaWiki_Extensions_Auth_remoteuser_AuthRemoteuserSessionProvider_session=f2p79asaqhm635j8v7busupqu9v89r4i; MediaWiki_Extensions_Auth_remoteuser_AuthRemoteuserSessionProviderRemoteToken=rkevans; MediaWiki_Extensions_Auth_remoteuser_AuthRemoteuserSessionProviderUserID=5; MediaWiki_Extensions_Auth_remoteuser_AuthRemoteuserSessionProviderUserName=Rkevans; MediaWiki_Extensions_Auth_remoteuser_AuthRemoteuserSessionProviderToken=82fd518c1568ef5e583f8d7a27c32e07; VEE=wikitext; SMSESSION=9F5A3qm8t86FjsMtGrNMUAMcQP5sNK96yUJE2B2yqVxanKbYCuBl0xl+xEzFJ7v5WRlXQT2AujdMY2JcJ68Bp+7hPWn7fzR45+lCBHh3zQiaXu44f3haFYNYH+JCN1KWoz9GtV8NROAlqqkHaYHZhH1gUEiyuqQ/Gc97fP7sR65JjXbHA3B1C+LOOCmAE9JO8ZjM9rcLnZbDB8eWIi8g2fhL9Zl9KPDc2WSGVHcwBAGLISZAs+83DeLgVfXKAtRFNubhMH2DuTCQRTKqRA3mcP8aQCqdiMsShye7x24ecmBJbEwExh4FJy0yHf6TiZUpYtZMG703P1a8zYWWHvl+PGU7kd0FTLSNf6D2fgCkX5BhArPfaer8xI7wzpm2+eI2Xv7T/QviWXUJ9N/wmsJU297JDaBF4FRqMD6at7GyUyqEAnwhS73vjy6a2PUoT7Dq86+DXasILt7SvyOI7UnVn828gxhpRIUA5RWjJUHTa4VnmEXed6bl5RN/g2CQJ4KRIyxU6ADo6fl35h/lO623hwD7GF9O3U/5HJHdMMchABlxOt8GttQMoQXnV5G3XNaMO3ALeaogtLoZfFHM7gPVkQl1lGZUebQgAAPPhTcTc29gyb+ux8aNoQM2b3htYnj4SiDC/dzosCsGe34XdgqdEtTS6BIAMhF9xgRRXrhCRKFkRsRUdkdckXZ+z9PN5WtLbNhZq0YJGSBRPhl4REbtgTekrJP3u/ThFMG383i5xTFPMRIHZqVG5v3WMqEBBLkpk+08wV0pWRzm8LgJHEpmyYZfsSVsSzDrVBG8JIK5N+Frd9jVfbB7cEmmCsui4pA0kpVEj76ZasS3dyXhM3hejtZaJ70PgKrjYlBVdfbBcESesA0xSei01NwQYPROdZxZipRfv82PE/h8RGyvkn2pHX450U9BFbmvF0KdUNvQCxy8dxMOCq4Q/b00EiVdx4ELpP4UtV3L14t01ojclA4Zfedusb1DRv1sAtHMcnDbIvhkov2PIuXKdUt8CrFm9pRttnzS17OxV32JnpGBV82JftSOWjQUEBCNo9f0pfsvQAaTMZx8pi0BCQL5GAfzJ5weD9DWll7K3/4cxSO+T9Ky2SNEHHWvz0xNUkpdu7nJiuYgmI12uIqwt/BRc11J1kOk0EeUUX//kKVDePV6nUUaaL5DS0bFw5OBoK6t+gPLwbcF4vXlj80zOA4dAuU3VC+x
SM_TRANSACTIONID: 0000000000000000000000005e32588b-44a2-5a0383ae-b5e17880-4989606f6293
SM_SDOMAIN: .xyzzyx.net
SM_REALM: Landing
SM_REALMOID: 06-7c090d0c-6451-44a0-9fe9-0c3698ca8290
SM_AUTHTYPE: Form
SM_AUTHREASON: 0
SM_UNIVERSALID: 176593563
SM_AUTHDIROID: 0e-90ec6a8f-674e-4f70-8816-dcf7c3052065
SM_AUTHDIRSERVER: 
SM_AUTHDIRNAMESPACE: LDAP:
SM_USERDN: 
SM_SERVERSESSIONID: pXawMPEnUBEfOs49hMLjNInYxRw=
SM_SERVERSESSIONSPEC: EhGoXvl1ZZXqZEW2CmPjADfdXbBOwf9EArS4bsZ32tE36WdrzBInFt0Vw4vBrK9qUxc2GGsqX98Ycx9/rib5vhTuTvJk3KO+b9kozw9UrDhncVnpgXbsJupLdV3TZL+ONsfr4vjAtQyIanrzQsqC3YBRKU4mVLKxedmcGi77JolQl/u4Lu17BuaDDQrGcJPiWCfCl03++8E+U687wCGLxk78PLJxCi10L2wr5vfS06N65HBahm3HzIOnFLdZXd7Duv3GIGQrmu2CLY2MsIWKTsvGY6Fyy7/M7MQw+jXD33wecQ6WpO3WK0HzI1oHa+wg0+ZYdMtxG3IJE1plmRQ+wwV7sytCkAzo02cvIjEGwCOiMwcmGNDMcpFIdGsykbTvBK3myIOqj9inWuJAnPFfBYjrdCPM8rw18OImjVowBtUsRnsixJedS1UfUAV4CfO3CxbdXKK/JukBTmB+iWxAX4dQexGBBxEm+quhEivHrjQ=
SM_TIMETOEXPIRE: 27857
SM_SERVERIDENTITYSPEC: 
[caches] cluster: EmptyBagOStuff, WAN: mediawiki-main-default, stash: db-replicated, message: SqlBagOStuff, parser: SqlBagOStuff, session: SqlBagOStuff
[caches] LocalisationCache: using store LCStoreDB
[DBConnection] Connected to database 0 at 'localhost'.
[SQLBagOStuff] Connection 49170 will be used for SqlBagOStuff
[DBReplication] LBFactory::getChronologyProtector: using request info {
    "IPAddress": "139.88.115.249",
    "UserAgent": "Mozilla\/5.0 (Windows NT 6.1; WOW64) AppleWebKit\/537.36 (KHTML, like Gecko) Chrome\/61.0.3163.100 Safari\/537.36",
    "ChronologyProtection": false
}
[DBConnection] Connected to database 0 at 'localhost'.
[MessageCache] MessageCache::load: Loading en... local cache is empty, global cache is expired/volatile, loading from database
User: cache miss for user 5
User: loading options for user 5 from database.
[session] Setting up auto login session for remote user name 'rkevans' (mapped to MediaWiki user 'Rkevans', currently active as MediaWiki user 'Rkevans').
Unstubbing $wgPageFormsFormPrinter on call of $wgPageFormsFormPrinter::setInputTypeHook from SemanticFormsSelect::onExtensionFunction
Fully initialised
[cors] Non-whitelisted CORS request with session cookies
Title::getRestrictionTypes: applicable restrictions to [[Talk:That Place There Wiki]] are {edit,move}
[ContentHandler] Created handler for flow-board: Flow\Content\BoardContentHandler
Title::getRestrictionTypes: applicable restrictions to [[Talk:That Place There Wiki]] are {edit,move}
User::getBlockedStatus: checking...
IP: 
Start request GET /mywiki/api.php?format=json&action=templatedata&doNotIgnoreMissingTitles=1&titles=Template%3AFlowMention
HTTP HEADERS:
X-REQUEST-ID: null
USER-AGENT: Parsoid/0.7.1+git
CONNECTION: close
HOST: mywiki.xyzzyx.net
SM_TRANSACTIONID: 0000000000000000000000005e32588b-4a85-5a0383af-b5e17880-92397f83d838
SM_SDOMAIN: .xyzzyx.net
SM_REALM: Landing
SM_REALMOID: 06-7c090d0c-6451-44a0-9fe9-0c3698ca8290

SM_AUTHTYPE: Form
SM_AUTHREASON: 0
SM_UNIVERSALID: 176593563
SM_AUTHDIROID: 0e-90ec6a8f-674e-4f70-8816-dcf7c3052065
SM_SERVERSESSIONID: pXawMPEnUBEfOs49hMLjNInYxRw=
SM_SERVERSESSIONSPEC: 
SM_TIMETOEXPIRE: 27856
NICKNAME:
[caches] cluster: EmptyBagOStuff, WAN: mediawiki-main-default, stash: db-replicated, message: SqlBagOStuff, parser: SqlBagOStuff, session: SqlBagOStuff
[caches] LocalisationCache: using store LCStoreDB
[DBConnection] Connected to database 0 at 'localhost'.
[SQLBagOStuff] Connection 49172 will be used for SqlBagOStuff
[DBReplication] LBFactory::getChronologyProtector: using request info {
    "IPAddress": "..............",
    "UserAgent": "Parsoid\/0.7.1+git",
    "ChronologyProtection": false
}
[DBConnection] Connected to database 0 at 'localhost'.
[MessageCache] MessageCache::load: Loading en... local cache is empty, global cache is expired/volatile, loading from database
User: cache miss for user 5
User: loading options for user 5 from database.
[session] Setting up auto login session for remote user name 'rkevans' (mapped to MediaWiki user 'Rkevans', currently active as MediaWiki user 'Rkevans').
Unstubbing $wgPageFormsFormPrinter on call of $wgPageFormsFormPrinter::setInputTypeHook from SemanticFormsSelect::onExtensionFunction
Fully initialised
ApiMain::setCacheMode: setting cache mode private
MediaWiki::preOutputCommit: primary transaction round committed
MediaWiki::preOutputCommit: pre-send deferred updates completed
MediaWiki::preOutputCommit: LBFactory shutdown completed
Request ended normally
[session] Saving all sessions on shutdown
[DBConnection] Closing connection to database 'localhost'.
[DBConnection] Closing connection to database 'localhost'.
[ContentHandler] Created handler for wikitext: WikitextContentHandler
User: loading options for user 5 from override cache.
Unstubbing $wgParser on call of $wgParser::preSaveTransform from WikitextContent->preSaveTransform
Parser: using preprocessor: Preprocessor_DOM
User: loading options for user 5 from override cache.
User: loading options for user 5 from override cache.
IP: 
Start request POST /mywiki/api.php
HTTP HEADERS:
X-REQUEST-ID: null
USER-AGENT: Parsoid/0.7.1+git
CONNECTION: close
COOKIE: __utma=
HOST: mywiki.xyzzyx.net
CONTENT-TYPE: application/x-www-form-urlencoded
CONTENT-LENGTH: 167
SM_TRANSACTIONID: 0000000000000000000000005e32588b-4b10-5a0383af-b5e17880-6fc915e400e7
PAGER: 
NICKNAME:
[caches] cluster: EmptyBagOStuff, WAN: mediawiki-main-default, stash: db-replicated, message: SqlBagOStuff, parser: SqlBagOStuff, session: SqlBagOStuff
[caches] LocalisationCache: using store LCStoreDB
[DBConnection] Connected to database 0 at 'localhost'.
[SQLBagOStuff] Connection 49174 will be used for SqlBagOStuff
[DBReplication] LBFactory::getChronologyProtector: using request info {
    "IPAddress": "<myIPaddress>",
    "UserAgent": "Parsoid\/0.7.1+git",
    "ChronologyProtection": false
}
[DBConnection] Connected to database 0 at 'localhost'.
[MessageCache] MessageCache::load: Loading en... local cache is empty, global cache is expired/volatile, loading from database
User: cache miss for user 5
User: loading options for user 5 from database.
[session] Setting up auto login session for remote user name 'rkevans' (mapped to MediaWiki user 'Rkevans', currently active as MediaWiki user 'Rkevans').
Unstubbing $wgPageFormsFormPrinter on call of $wgPageFormsFormPrinter::setInputTypeHook from SemanticFormsSelect::onExtensionFunction
Fully initialised
ApiMain::setCacheMode: setting cache mode anon-public-user-private
User: loading options for user 5 from override cache.
Unstubbing $wgParser on call of $wgParser::startExternalParse from ApiExpandTemplates->execute
Parser: using preprocessor: Preprocessor_DOM
Unstubbing $wgLang on call of $wgLang::getMessageFromDB from ExtArrays::init
[ContentHandler] Created handler for flow-board: Flow\Content\BoardContentHandler
[ContentHandler] Created handler for wikitext: WikitextContentHandler
MediaWiki::preOutputCommit: primary transaction round committed
MediaWiki::preOutputCommit: pre-send deferred updates completed
MediaWiki::preOutputCommit: LBFactory shutdown completed
Request ended normally
[session] Saving all sessions on shutdown
[DBConnection] Closing connection to database 'localhost'.
[DBConnection] Closing connection to database 'localhost'.
Title::getRestrictionTypes: applicable restrictions to [[Talk:That Place There Wiki]] are {edit,move}
Title::getRestrictionTypes: applicable restrictions to [[Talk:That Place There Wiki]] are {edit,move}
Title::getRestrictionTypes: applicable restrictions to [[Talk:That Place There Wiki]] are {edit,move}
MediaWiki::preOutputCommit: primary transaction round committed
[squid] CdnCacheUpdate::purge: https://mywiki.xyzzyx.net/smw/Talk:That_Place_There_Wiki https://mywiki.xyzzyx.net/mywiki/index.php?title=Talk:That_Place_There_Wiki&action=history
MediaWiki::preOutputCommit: pre-send deferred updates completed
[cookie] setcookie: "cpPosTime", "1510179760.6347", "1510179820", "/", "", "1", "1"
[DBReplication] ChronologyProtector::shutdownLB: DB 'localhost' touched

MediaWiki::preOutputCommit: LBFactory shutdown completed
[cookie] setcookie: "UseDC", "master", "1510179770", "/", "", "1", "1"
[cookie] setcookie: "UseCDNCache", "false", "1510179770", "/", "", "1", "1"
GraphViz::onPageContentSave: entering
GraphViz::deleteArticleUploadedFiles: entering
GraphViz::deleteArticleFiles: deleting: /var/www/html/mywiki/images/graphviz/Topic_U1kewsfofd6hw1me*.*
User: loading options for user 27 from database.
[ContentHandler] Accessing flow-board content as text!
[smw] Event: cached.prefetcher.reset :: U1kewsfofd6hw1me#2600#
WikiPage::doEditUpdates: Using prepared edit...
Parser output was marked as uncacheable and has not been saved.
[smw] SMW\ParserData::updateStore from LinksUpdateConstructed: U1kewsfofd6hw1me#2600# (as DeferredCallableUpdate)
Title::getNsText: Unknown namespace ID: 2601
Title::getNsText: Unknown namespace ID: 2601
[smw] SMW\ParserData::updateStore from LinksUpdateConstructed: U1kewsfofd6hw1me#2600# doUpdate
Title::getRestrictionTypes: applicable restrictions to [[Topic:U1kewsfofd6hw1me]] are {edit,move}
[DBQuery] LinksUpdate::incrTableUpdate: committing on behalf of LinksUpdate::doUpdate.
[DBQuery] LinksUpdate::incrTableUpdate: committing on behalf of LinksUpdate::doUpdate.
Title::getRestrictionTypes: applicable restrictions to [[Topic:U1kewsfofd6hw1me]] are {edit,move}
[DBQuery] LinksUpdate::incrTableUpdate: committing on behalf of LinksUpdate::doUpdate.
BacklinkCache::queryLinks: got results from DB
Title::getRestrictionTypes: applicable restrictions to [[Topic:U1kewsfofd6hw1me]] are {edit,move}
[squid] CdnCacheUpdate::purge: https://mywiki.xyzzyx.net/smw/:U1kewsfofd6hw1me https://mywiki.xyzzyx.net/mywiki/index.php?title=:U1kewsfofd6hw1me&action=history
[squid] CdnCacheUpdate::purge: https://mywiki.xyzzyx.net/smw/Topic:U1kewsfofd6hw1me https://mywiki.xyzzyx.net/mywiki/index.php?title=Topic:U1kewsfofd6hw1me&action=history https://mywiki.xyzzyx.net/smw/Talk:That_Place_There_Wiki https://mywiki.xyzzyx.net/mywiki/index.php?title=Talk:That_Place_There_Wiki&action=history
[ContentHandler] Accessing flow-board content as text!
User: cache miss for user 27
User: loading options for user 27 from database.
[smw] SMW\ParserData::updateStore (Found rev:11699, skip update)
[DBPerformance] LBFactory::commitAndWaitForReplication: LinksUpdate::incrTableUpdate does not have outer scope.
#0 /var/www/html/mywiki/includes/deferred/LinksUpdate.php(420): LBFactory->commitAndWaitForReplication('LinksUpdate::in...', NULL, Array)
#1 /var/www/html/mywiki/includes/deferred/LinksUpdate.php(265): LinksUpdate->incrTableUpdate('page_props', 'pp', Array, Array)
#2 /var/www/html/mywiki/includes/deferred/LinksUpdate.php(177): LinksUpdate->doIncrementalUpdate()
#3 /var/www/html/mywiki/includes/deferred/DataUpdate.php(53): LinksUpdate->doUpdate()
#4 /var/www/html/mywiki/extensions/Flow/includes/LinksTableUpdater.php(39): DataUpdate::runUpdates(Array)
#5 /var/www/html/mywiki/extensions/Flow/includes/Data/Listener/ReferenceRecorder.php(92): Flow\LinksTableUpdater->doUpdate(Object(Flow\Model\Workflow))
#6 [internal function]: Flow\Data\Listener\ReferenceRecorder->Flow\Data\Listener\{closure}()
#7 /var/www/html/mywiki/includes/deferred/MWCallableUpdate.php(28): call_user_func(Object(Closure))
#8 /var/www/html/mywiki/includes/deferred/DeferredUpdates.php(263): MWCallableUpdate->doUpdate()
#9 /var/www/html/mywiki/includes/deferred/DeferredUpdates.php(225): DeferredUpdates::runUpdate(Object(MWCallableUpdate), Object(LBFactorySimple), 2)
#10 /var/www/html/mywiki/includes/deferred/DeferredUpdates.php(133): DeferredUpdates::execute(Array, 'enqueue', 2)
#11 /var/www/html/mywiki/includes/MediaWiki.php(891): DeferredUpdates::doUpdates('enqueue')
#12 /var/www/html/mywiki/includes/MediaWiki.php(720): MediaWiki->restInPeace('fast')
#13 /var/www/html/mywiki/includes/MediaWiki.php(739): MediaWiki->{closure}()
#14 /var/www/html/mywiki/api.php(118): MediaWiki->doPostOutputShutdown('fast')
#15 {main}
Title::getRestrictionTypes: applicable restrictions to [[Main Page]] are {edit,move}
Title::getRestrictionTypes: applicable restrictions to [[Main Page]] are {edit,move}
Title::getRestrictionTypes: applicable restrictions to [[Main Page]] are {edit,move}
User: cache miss for user 2
User: loading options for user 2 from database.
[objectcache] Rejected set() for global:user:id:mywiki:2 due to pending writes.
[DBConnection] Connected to database 0 at 'localhost'.
[error] [WgODrr21@lacG74H9ca8XQAAAAI] /mywiki/api.php   ErrorException from line 295 of /var/www/html/mywiki/includes/changes/RecentChange.php: PHP Notice: Undefined index: rc_new
#0 /var/www/html/mywiki/includes/changes/RecentChange.php(295): MWExceptionHandler::handleError(integer, string, string, integer, array)
#1 /var/www/html/mywiki/extensions/Flow/includes/Data/Listener/RecentChangesListener.php(114): RecentChange->save(boolean)
#2 /var/www/html/mywiki/extensions/Flow/includes/Data/Listener/DeferredInsertLifecycleHandler.php(36): Flow\Data\Listener\RecentChangesListener->onAfterInsert(Flow\Model\PostRevision, array, array)
#3 [internal function]: Flow\Data\Listener\DeferredInsertLifecycleHandler->Flow\Data\Listener\{closure}()
#4 /var/www/html/mywiki/includes/deferred/MWCallableUpdate.php(28): call_user_func(Closure)
#5 /var/www/html/mywiki/includes/deferred/DeferredUpdates.php(263): MWCallableUpdate->doUpdate()
#6 /var/www/html/mywiki/includes/deferred/DeferredUpdates.php(225): DeferredUpdates::runUpdate(MWCallableUpdate, LBFactorySimple, integer)
#7 /var/www/html/mywiki/includes/deferred/DeferredUpdates.php(133): DeferredUpdates::execute(array, string, integer)
#8 /var/www/html/mywiki/includes/MediaWiki.php(891): DeferredUpdates::doUpdates(string)
#9 /var/www/html/mywiki/includes/MediaWiki.php(720): MediaWiki->restInPeace(string)
#10 /var/www/html/mywiki/includes/MediaWiki.php(739): MediaWiki->{closure}()
#11 /var/www/html/mywiki/api.php(118): MediaWiki->doPostOutputShutdown(string)
#12 {main}
[smw] SMW\ParserData::updateStore (Found rev:11699, skip update)
Title::getRestrictionTypes: applicable restrictions to [[Main Page]] are {edit,move}
Title::getRestrictionTypes: applicable restrictions to [[Main Page]] are {edit,move}
User: cache miss for user 9
User: loading options for user 9 from database.
[objectcache] Rejected set() for global:user:id:mywiki:9 due to pending writes.
[fatal] [d89208cc] PHP Fatal Error: Cannot override final method EchoEventPresentationModel::getType()
#0 [internal function]: MWExceptionHandler::handleFatalError()
#1 {main}
[session] Saving all sessions on shutdown
[runJobs] EchoNotificationDeleteJob Talk:That_Place_There_Wiki userIds={"2":2} requestId=WgODrr21@lacG74H9ca8XQAAAAI (id=26919,timestamp=20171108222240) STARTING
[runJobs] EchoNotificationDeleteJob Talk:That_Place_There_Wiki userIds={"2":2} requestId=WgODrr21@lacG74H9ca8XQAAAAI (id=26919,timestamp=20171108222240) t=1 good
Revansx (talkcontribs)

@MarkAHershberger someday I hope to be able to look at the debug logs and make some meaningful observations, ha ha :-)

Ciencia Al Poder (talkcontribs)

I see 2 errors here:

  • [error] [WgODrr21@lacG74H9ca8XQAAAAI] /mywiki/api.php ErrorException from line 295 of /var/www/html/mywiki/includes/changes/RecentChange.php: PHP Notice: Undefined index: rc_new
    • This is just a PHP notice, not really an error, but probably worh reporting it
  • [fatal] [d89208cc] PHP Fatal Error: Cannot override final method EchoEventPresentationModel::getType()
    • This seems to be the real error here
Revansx (talkcontribs)

Thank you for looking at it. Does that mean I should look in the PHP logs for more clues?

Revansx (talkcontribs)

here are the corresponding PHP errors:

 
[09-Nov-2017 08:19:30 America/New_York] PHP Deprecated:  Use of WatchedItem::fromUserTitle was deprecated in MediaWiki 1.27. [Called from Flow\Data\Listener\ImmediateWatchTopicListener::onAfterInsertExpectedChange in /var/www/html/mywiki/extensions/Flow/includes/Data/Listener/WatchTopicListener.php at line 119] in /var/www/html/mywiki/includes/debug/MWDebug.php on line 311

[09-Nov-2017 08:19:30 America/New_York] PHP Deprecated:  Use of WatchedItem::addWatch was deprecated in MediaWiki 1.27. [Called from Flow\Data\Listener\ImmediateWatchTopicListener::onAfterInsertExpectedChange in /var/www/html/mywiki/extensions/Flow/includes/Data/Listener/WatchTopicListener.php at line 119] in /var/www/html/mywiki/includes/debug/MWDebug.php on line 311

[09-Nov-2017 08:19:30 America/New_York] PHP Fatal error:  Cannot override final method EchoEventPresentationModel::getType() in /var/www/html/mywiki/extensions/Flow/includes/Notifications/MentionPresentationModel.php on line 65
Revansx (talkcontribs)
MarkAHershberger (talkcontribs)

That is probably what is causing the problem. It looks like your Flow extension is from a different, incompatible point in time of your Echo extension.

How did you get both of those extensions?

Revansx (talkcontribs)

Ah! ("I see!" said the blind man :-) ) ... oh, I just installed them at different times from the download manager and manually imported them to my site, etc.. . Since I'm running MW 1.28.2 should I use composer to update them? If so, which versions would you recommend

Revansx (talkcontribs)

So the download manager skips MW 1.28 on both Echo and Flow.. I think I have the 1.27 version of each loaded.. is there something specifically tricky about getting them to work in a 1.28 MW core?

Reply to "the "mention" feature causes "Internal Database Error" for *some* users"