Seen on Special:InvestigateBlock when loaded with no "subpage"
( ! ) Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /var/www/wiki/mediawiki/core/includes/WebRequest.php on line 539 Call Stack # Time Memory Function Location 1 0.0000 543704 {main}( ) .../index.php:0 2 0.0611 5181488 wfIndexMain( ) .../index.php:46 3 0.0611 5181584 MediaWiki->run( ) .../index.php:50 4 0.0611 5181584 MediaWiki->main( ) .../MediaWiki.php:571 5 0.0618 5277584 MediaWiki->performRequest( ) .../MediaWiki.php:916 6 0.0649 5342280 MediaWiki\SpecialPage\SpecialPageFactory->executePath( $path = class Title { private $mTextform = 'InvestigateBlock'; private $mUrlform = 'InvestigateBlock'; private $mDbkeyform = 'InvestigateBlock'; private $mNamespace = -1; private $mInterwiki = ''; private $mLocalInterwiki = FALSE; private $mFragment = ''; public $mArticleID = 0; protected $mLatestID = FALSE; private $mContentModel = FALSE; private $mForcedContentModel = FALSE; private $mEstimateRevisions = NULL; public $prefixedText = NULL; protected $mLength = -1; public $mRedirect = NULL; private $mHasSubpages = NULL; private $mPageLanguage = NULL; private $mDbPageLanguage = FALSE; private $mTitleValue = NULL; private $mIsBigDeletion = NULL; private $mIsValid = TRUE; private $mInstanceCacheKey = NULL; protected $deprecatedPublicProperties = ['mTextform' => [...], 'mUrlform' => [...], 'mDbkeyform' => [...], 'mNamespace' => [...], 'mInterwiki' => [...], 'mFragment' => [...]]; private $dynamicPropertiesAccessDeprecated = FALSE }, $context = class RequestContext { private $request = class WebRequest { protected $data = [...]; protected $queryAndPathParams = [...]; protected $queryParams = [...]; protected $headers = [...]; private $response = class WebResponse { ... }; private $ip = '10.13.37.22'; protected $requestTime = 1673546533.813; protected $protocol = 'https'; protected $sessionId = class MediaWiki\Session\SessionId { ... }; protected $markedAsSafe = FALSE }; private $title = class Title { private $mTextform = 'InvestigateBlock'; private $mUrlform = 'InvestigateBlock'; private $mDbkeyform = 'InvestigateBlock'; private $mNamespace = -1; private $mInterwiki = ''; private $mLocalInterwiki = FALSE; private $mFragment = ''; public $mArticleID = 0; protected $mLatestID = FALSE; private $mContentModel = FALSE; private $mForcedContentModel = FALSE; private $mEstimateRevisions = NULL; public $prefixedText = 'Special:InvestigateBlock'; protected $mLength = -1; public $mRedirect = NULL; private $mHasSubpages = NULL; private $mPageLanguage = NULL; private $mDbPageLanguage = FALSE; private $mTitleValue = NULL; private $mIsBigDeletion = NULL; private $mIsValid = NULL; private $mInstanceCacheKey = NULL; protected $deprecatedPublicProperties = [...]; private $dynamicPropertiesAccessDeprecated = FALSE }; private $wikipage = NULL; private $action = NULL; private $output = class OutputPage { private ${ContextSource}context = ...; protected $mMetatags = [...]; protected $mLinktags = [...]; protected $mCanonicalUrl = FALSE; private $mPageTitle = 'Block users'; private $displayTitle = NULL; private $cacheIsFinal = FALSE; public $mBodytext = ''; private $mHTMLtitle = 'Block users - ReedyDevWiki'; private $mIsArticle = FALSE; private $mIsArticleRelated = FALSE; private $mHasCopyright = FALSE; private $mPrintable = FALSE; private $mSections = [...]; private $mSubtitle = [...]; public $mRedirect = ''; protected $mStatusCode = NULL; protected $mLastModified = ''; protected $mCategoryLinks = [...]; protected $mCategories = [...]; protected $mIndicators = [...]; private $mLanguageLinks = [...]; private $mScripts = ''; protected $mInlineStyles = ''; public $mPageLinkTitle = ''; protected $mAdditionalHtmlClasses = [...]; protected $mHeadItems = [...]; protected $mAdditionalBodyClasses = [...]; protected $mModules = [...]; protected $mModuleStyles = [...]; protected $mResourceLoader = NULL; private $rlClient = NULL; private $rlClientContext = NULL; private $rlExemptStyleModules = NULL; protected $mJsConfigVars = [...]; protected $mTemplateIds = [...]; protected $mImageTimeKeys = [...]; public $mRedirectCode = ''; protected $mFeedLinksAppendQuery = NULL; protected $mAllowedModules = [...]; protected $mDoNothing = FALSE; protected $mParserOptions = NULL; private $mFeedLinks = [...]; protected $mEnableClientCache = TRUE; private $mArticleBodyOnly = FALSE; protected $mNewSectionLink = FALSE; protected $mHideNewSectionLink = FALSE; public $mNoGallery = FALSE; protected $mCdnMaxage = 0; protected $mCdnMaxageLimit = INF; protected $mPreventClickjacking = TRUE; private $mRevisionId = NULL; private $mRevisionIsCurrent = NULL; private $mRevisionTimestamp = NULL; protected $mFileVersion = NULL; protected $styles = [...]; private $mIndexPolicy = 'noindex'; private $mFollowPolicy = 'nofollow'; private $mRobotsOptions = [...]; private $mVaryHeader = [...]; private $mRedirectedFrom = NULL; private $mProperties = [...]; private $mTarget = NULL; private $mEnableTOC = FALSE; private $copyrightUrl = NULL; private $limitReportJSData = [...]; private $contentOverrides = [...]; private $contentOverrideCallbacks = [...]; private $mLinkHeader = [...]; private $CSP = class ContentSecurityPolicy { ... } }; private $user = class User { public $mId = 1; public $mName = 'Reedy'; public $mActorId = 1; public $mRealName = 'Sam'; public $mEmail = 'your_email+wiki@gmail.com'; public $mTouched = '20230103221437'; protected $mQuickTouched = NULL; protected $mToken = 'a47668ca62955a1c7c36284542d16f8d'; public $mEmailAuthenticated = NULL; protected $mEmailToken = NULL; protected $mEmailTokenExpires = NULL; protected $mRegistration = '20110131194049'; protected $mLoadedItems = TRUE; public $mFrom = 'session'; protected $mDatePreference = NULL; private $mBlockedby = ''; protected $mHash = FALSE; protected $mBlockreason = ''; protected $mGlobalBlock = NULL; protected $mLocked = NULL; private $mHideName = FALSE; private $mRequest = class WebRequest { ... }; private $mBlock = NULL; private $mBlockedFromCreateAccount = FALSE; protected $queryFlagsUsed = 0; private $mThisAsAuthority = class MediaWiki\Permissions\UserAuthority { ... }; private $isTemp = NULL }; private $authority = NULL; private $lang = class Language { public $mCode = 'en-gb'; public $mMagicExtensions = [...]; private $mHtmlCode = NULL; public $dateFormatStrings = [...]; public $mExtendedSpecialPageAliases = [...]; protected $namespaceNames = [...]; protected $mNamespaceIds = NULL; protected $namespaceAliases = NULL; private $transformData = class Wikimedia\DebugInfo\Placeholder { ... }; private $namespaceInfo = class Wikimedia\DebugInfo\Placeholder { ... }; private $localisationCache = class Wikimedia\DebugInfo\Placeholder { ... }; private $langNameUtils = class Wikimedia\DebugInfo\Placeholder { ... }; private $langFallback = class Wikimedia\DebugInfo\Placeholder { ... }; private $grammarTransformCache = NULL; private $converterFactory = class Wikimedia\DebugInfo\Placeholder { ... }; private $hookContainer = class Wikimedia\DebugInfo\Placeholder { ... }; private $hookRunner = class Wikimedia\DebugInfo\Placeholder { ... }; private $config = class Wikimedia\DebugInfo\Placeholder { ... }; private $overrideUcfirstCharacters = NULL }; private $skin = class MediaWiki\Skins\Vector\SkinVectorLegacy { private ${ContextSource}context = ...; private ${Skin}defaultLinkOptions = [...]; protected $skinname = 'vector'; protected $options = [...]; protected $mRelevantTitle = NULL; private ${Skin}mRelevantUser = FALSE; private ${Skin}languageLinks = NULL; private ${Skin}sidebar = NULL; private ${Skin}componentRegistry = class MediaWiki\Skin\SkinComponentRegistry { ... }; public $template = NULL; public $thispage = NULL; public $titletxt = NULL; public $userpage = NULL; public $thisquery = NULL; public $loggedin = NULL; public $username = NULL; public $userpageUrlDetails = NULL; private ${SkinTemplate}isTempUser = NULL; private ${SkinTemplate}isNamedUser = NULL; private ${SkinTemplate}templateContextSet = FALSE; private ${SkinTemplate}contentNavigationCached = NULL; private ${SkinMustache}templateParser = NULL; private ${MediaWiki\Skins\Vector\SkinVector}languages = NULL }; private $timing = NULL; private $config = class GlobalVarConfig { private $prefix = 'wg' }; private $languageRecursion = FALSE }, $including = ???, $linkRenderer = ??? ) .../MediaWiki.php:322 7 0.0650 5345200 SpecialPage->run( $subPage = NULL ) .../SpecialPageFactory.php:1458 8 0.0731 5643888 FormSpecialPage->execute( $par = NULL ) .../SpecialPage.php:700 9 0.1451 7319448 HTMLForm->show( ) .../FormSpecialPage.php:211 10 0.1451 7319448 HTMLForm->prepareForm( ) .../HTMLForm.php:636 11 0.1451 7319448 HTMLForm->loadFieldData( ) .../HTMLForm.php:584 12 0.1451 7319448 HTMLUsersMultiselectField->loadDataFromRequest( $request = class WebRequest { protected $data = ['title' => 'Special:InvestigateBlock']; protected $queryAndPathParams = ['title' => 'Special:InvestigateBlock']; protected $queryParams = []; protected $headers = ['HOST' => '10.13.37.190', 'USER-AGENT' => 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:108.0) Gecko/20100101 Firefox/108.0', 'ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,*/*;q=0.8', 'ACCEPT-LANGUAGE' => 'en-GB,en;q=0.5', 'ACCEPT-ENCODING' => 'gzip, deflate, br', 'CONNECTION' => 'keep-alive', 'REFERER' => 'https://10.13.37.190/wiki/Special:SpecialPages', 'COOKIE' => 'wikidb_mw_UserName=Reedy; loginnotify_prevlogins=2022-1y78ml9-blo7szdg37wmyis136hq1etpeuk04fp; wikidb_mw_UserID=1; wikidb_mw_Token=a47668ca62955a1c7c36284542d16f8d; VEE=visualeditor; mw_installer_session=4neem68t7r2r992m7sek7ic2ek; wikidb_mw_mwuser-sessionId=38bb3511f8c6fb9c2054; mf_testcookie=test_value; wikidb_mw_-mw-tour=%7B%22version%22%3A1%2C%22tours%22%3A%7B%22placeholder%22%3A%7B%22startTime%22%3A1657147842254%2C%22step%22%3A%22showChanges%22%7D%7D%7D; wikidb_mw__session=rjb2pekv9l2t92i0ttga34p310l7i'..., 'UPGRADE-INSECURE-REQUESTS' => '1', 'SEC-FETCH-DEST' => 'document', 'SEC-FETCH-MODE' => 'navigate', 'SEC-FETCH-SITE' => 'same-origin', 'SEC-FETCH-USER' => '?1', 'DNT' => '1', 'SEC-GPC' => '1']; private $response = class WebResponse { }; private $ip = '10.13.37.22'; protected $requestTime = 1673546533.813; protected $protocol = 'https'; protected $sessionId = class MediaWiki\Session\SessionId { private $id = 'rjb2pekv9l2t92i0ttga34p310l7i45n' }; protected $markedAsSafe = FALSE } ) .../HTMLForm.php:2077 13 0.1451 7319448 WebRequest->getText( $name = 'wpTargets', $default = NULL ) .../HTMLUsersMultiselectField.php:23 14 0.1451 7319448 str_replace( $search = '\r\n', $replace = '\n', $subject = NULL ) .../WebRequest.php:539