Error
- mwversion: 1.44.0-wmf.14
- reqId: 04d8da2b-8202-4823-bd1d-6cff30b4bb44
- Find reqId in Logstash
[{reqId}] {exception_url} PHP Deprecated: preg_match(): Passing null to parameter #2 ($subject) of type string is deprecated| Frame | Location | Call |
|---|---|---|
| from | /srv/mediawiki/php-1.44.0-wmf.14/includes/language/Language.php(1839) | |
| #0 | [internal function] | MWExceptionHandler::handleError(int, string, string, int) |
| #1 | /srv/mediawiki/php-1.44.0-wmf.14/includes/language/Language.php(1839) | preg_match(string, null, null) |
| #2 | /srv/mediawiki/php-1.44.0-wmf.14/includes/language/Language.php(3992) | MediaWiki\Language\Language::strongDirFromContent(null) |
| #3 | /srv/mediawiki/php-1.44.0-wmf.14/extensions/Flow/includes/Notifications/FlowPresentationModel.php(142) | MediaWiki\Language\Language->embedBidi(null) |
| #4 | /srv/mediawiki/php-1.44.0-wmf.14/extensions/Flow/includes/Notifications/FlowPresentationModel.php(133) | Flow\Notifications\FlowPresentationModel->truncateTopicTitle(null) |
| #5 | /srv/mediawiki/php-1.44.0-wmf.14/extensions/Flow/includes/Notifications/FlowPresentationModel.php(171) | Flow\Notifications\FlowPresentationModel->getTopicTitle() |
| #6 | /srv/mediawiki/php-1.44.0-wmf.14/extensions/Flow/includes/Notifications/TopicRenamedPresentationModel.php(42) | Flow\Notifications\FlowPresentationModel->getFlowUnwatchDynamicActionLink(bool) |
| #7 | /srv/mediawiki/php-1.44.0-wmf.14/extensions/Echo/includes/Formatters/EchoEventPresentationModel.php(561) | Flow\Notifications\TopicRenamedPresentationModel->getSecondaryLinks() |
| #8 | /srv/mediawiki/php-1.44.0-wmf.14/extensions/Echo/includes/Formatters/EchoModelFormatter.php(15) | MediaWiki\Extension\Notifications\Formatters\EchoEventPresentationModel->jsonSerialize() |
| #9 | /srv/mediawiki/php-1.44.0-wmf.14/extensions/Echo/includes/Formatters/EchoEventFormatter.php(77) | MediaWiki\Extension\Notifications\Formatters\EchoModelFormatter->formatModel(Flow\Notifications\TopicRenamedPresentationModel) |
| #10 | /srv/mediawiki/php-1.44.0-wmf.14/extensions/Echo/includes/DataOutputFormatter.php(205) | MediaWiki\Extension\Notifications\Formatters\EchoEventFormatter->format(MediaWiki\Extension\Notifications\Model\Event) |
| #11 | /srv/mediawiki/php-1.44.0-wmf.14/extensions/Echo/includes/DataOutputFormatter.php(164) | MediaWiki\Extension\Notifications\DataOutputFormatter::formatNotification(MediaWiki\Extension\Notifications\Model\Event, MediaWiki\User\User, string, MediaWiki\Language\Language) |
| #12 | /srv/mediawiki/php-1.44.0-wmf.14/extensions/Echo/includes/Api/ApiEchoNotifications.php(324) | MediaWiki\Extension\Notifications\DataOutputFormatter::formatOutput(MediaWiki\Extension\Notifications\Model\Notification, string, MediaWiki\User\User, MediaWiki\Language\Language) |
| #13 | /srv/mediawiki/php-1.44.0-wmf.14/extensions/Echo/includes/Api/ApiEchoNotifications.php(137) | MediaWiki\Extension\Notifications\Api\ApiEchoNotifications->getPropList(MediaWiki\User\User, array, array, int, null, string, null, bool, bool) |
| #14 | /srv/mediawiki/php-1.44.0-wmf.14/extensions/Echo/includes/Api/ApiEchoNotifications.php(67) | MediaWiki\Extension\Notifications\Api\ApiEchoNotifications->getLocalNotifications(array) |
| #15 | /srv/mediawiki/php-1.44.0-wmf.14/includes/api/ApiQuery.php(727) | MediaWiki\Extension\Notifications\Api\ApiEchoNotifications->execute() |
| #16 | /srv/mediawiki/php-1.44.0-wmf.14/includes/api/ApiMain.php(1973) | MediaWiki\Api\ApiQuery->execute() |
| #17 | /srv/mediawiki/php-1.44.0-wmf.14/includes/api/ApiMain.php(941) | MediaWiki\Api\ApiMain->executeAction() |
| #18 | /srv/mediawiki/php-1.44.0-wmf.14/includes/api/ApiMain.php(912) | MediaWiki\Api\ApiMain->executeActionWithErrorHandling() |
| #19 | /srv/mediawiki/php-1.44.0-wmf.14/includes/api/ApiEntryPoint.php(152) | MediaWiki\Api\ApiMain->execute() |
| #20 | /srv/mediawiki/php-1.44.0-wmf.14/includes/MediaWikiEntryPoint.php(202) | MediaWiki\Api\ApiEntryPoint->execute() |
| #21 | /srv/mediawiki/php-1.44.0-wmf.14/api.php(44) | MediaWiki\MediaWikiEntryPoint->run() |
| #22 | /srv/mediawiki/w/api.php(3) | require(string) |
| #23 | {main} | |
Impact
Notes
See also: T385331: PHP Deprecated: mb_strlen(): Passing null to parameter #1 ($string) of type string is deprecated (common stack trace for most of it)