[go: up one dir, main page]

Page MenuHomePhabricator

InvalidArgumentException: Data for ftr_namespace and ftr_title must be non-empty
Closed, ResolvedPublicPRODUCTION ERROR

Description

Error
labels.normalized_message
[{reqId}] {exception_url}   InvalidArgumentException: Data for ftr_namespace and ftr_title must be non-empty
error.stack_trace
from /srv/mediawiki/php-1.41.0-wmf.9/includes/libs/rdbms/platform/SQLPlatform.php(298)
#0 /srv/mediawiki/php-1.41.0-wmf.9/includes/libs/rdbms/database/Database.php(3474): Wikimedia\Rdbms\Platform\SQLPlatform->makeWhereFrom2d(array, string, string)
#1 /srv/mediawiki/php-1.41.0-wmf.9/includes/libs/rdbms/database/DBConnRef.php(119): Wikimedia\Rdbms\Database->makeWhereFrom2d(array, string, string)
#2 /srv/mediawiki/php-1.41.0-wmf.9/includes/libs/rdbms/database/DBConnRef.php(415): Wikimedia\Rdbms\DBConnRef->__call(string, array)
#3 /srv/mediawiki/php-1.41.0-wmf.9/includes/cache/LinkBatch.php(377): Wikimedia\Rdbms\DBConnRef->makeWhereFrom2d(array, string, string)
#4 /srv/mediawiki/php-1.41.0-wmf.9/extensions/FlaggedRevs/backend/FRDependencyUpdate.php(173): LinkBatch->constructSet(string, Wikimedia\Rdbms\DBConnRef)
#5 /srv/mediawiki/php-1.41.0-wmf.9/extensions/FlaggedRevs/backend/FRDependencyUpdate.php(156): FRDependencyUpdate->makeWhereFrom2d(array, Wikimedia\Rdbms\DBConnRef)
#6 /srv/mediawiki/php-1.41.0-wmf.9/extensions/FlaggedRevs/backend/FRDependencyUpdate.php(83): FRDependencyUpdate->getDepDeletions(array, array)
#7 /srv/mediawiki/php-1.41.0-wmf.9/extensions/FlaggedRevs/backend/FRExtraCacheUpdateJob.php(68): FRDependencyUpdate->doUpdate(integer)
#8 /srv/mediawiki/php-1.41.0-wmf.9/extensions/FlaggedRevs/backend/FRExtraCacheUpdateJob.php(29): FRExtraCacheUpdateJob->doUpdateLinks()
#9 /srv/mediawiki/php-1.41.0-wmf.9/extensions/EventBus/includes/JobExecutor.php(79): FRExtraCacheUpdateJob->run()
#10 /srv/mediawiki/rpc/RunSingleJob.php(77): MediaWiki\Extension\EventBus\JobExecutor->execute(array)
#11 {main}
Impact

Unknown.

Notes

These are happening every few minutes with T330215: 1.41.0-wmf.9 deployment blockers at group2. Similar error message to T336964: InvalidArgumentException: Data for lt_namespace and lt_title must be non-empty.

Event Timeline

I would expect that both errors are the same root cause and the same fix.
But this new stack trace shows the new code line the function has after d48115b2bfc80dcd19dd12ceb26d055c984aa5e1, so still an issue.

Change 921108 had a related patch set uploaded (by Umherirrender; author: Umherirrender):

[mediawiki/extensions/FlaggedRevs@master] Avoid empty LinkBatch from FRDependencyUpdate::getDepDeletions

https://gerrit.wikimedia.org/r/921108

Change 921108 merged by jenkins-bot:

[mediawiki/extensions/FlaggedRevs@master] Avoid empty LinkBatch from FRDependencyUpdate::getDepDeletions

https://gerrit.wikimedia.org/r/921108

Is this worth backporting? Meanwhile I have added a filter to remove it from the MediaWiki New Errors dashboard.

Change 921450 had a related patch set uploaded (by Krinkle; author: Krinkle):

[mediawiki/core@master] LinkBatch: Re-apply makeWhereFrom2d/constructSet exception

https://gerrit.wikimedia.org/r/921450

Ping! Just want to make sure this doesn't get overlooked. These errors are flowing at a steady rate.

Ping! Just want to make sure this doesn't get overlooked. These errors are flowing at a steady rate.

The error should have stopped with the deployment of wmf.10 (T330216).
There is some more code clean up ongoing, but no exception should be there.

Ping! Just want to make sure this doesn't get overlooked. These errors are flowing at a steady rate.

The error should have stopped with the deployment of wmf.10 (T330216).
There is some more code clean up ongoing, but no exception should be there.

Confirmed. Thank you!

Change 921450 merged by jenkins-bot:

[mediawiki/core@master] LinkBatch: Re-apply makeWhereFrom2d/constructSet exception

https://gerrit.wikimedia.org/r/921450