Error
PHP Deprecated: strtolower(): Passing null to parameter #1 ($string) of type string is deprecated #0 [internal function]: MWExceptionHandler::handleError() #1 /var/www/html/w/extensions/Flow/includes/Actions/FlowAction.php(129): strtolower() #2 /var/www/html/w/extensions/Flow/includes/Actions/FlowAction.php(85): Flow\Actions\FlowAction->getRedirectUrl() #3 /var/www/html/w/extensions/Flow/includes/Actions/ViewAction.php(26): Flow\Actions\FlowAction->showForAction() #4 /var/www/html/w/extensions/Flow/includes/Actions/FlowAction.php(49): Flow\Actions\ViewAction->showForAction() #5 /var/www/html/w/includes/MediaWiki.php(551): Flow\Actions\FlowAction->show() #6 /var/www/html/w/includes/MediaWiki.php(328): MediaWiki->performAction() #7 /var/www/html/w/includes/MediaWiki.php(916): MediaWiki->performRequest() #8 /var/www/html/w/includes/MediaWiki.php(571): MediaWiki->main()
Steps
- Install Flow (incl. Echo dependency) on plain MediaWiki (mediawiki-docker-dev).
- Enable using $wgNamespaceContentModels[NS_USER_TALK] = 'flow-board';
- Visit any User_talk page.
The above error is emitted unconditionally.
Other info
Deprecated since PHP 8.1. https://3v4l.org/X0WM5