Page MenuHomePhorge

PHP 8.1 "preg_match(null)" exception in javelin/markup.php when http_action not set
Closed, ResolvedPublic


Fedora 38 machine with PHP 8.2.5. Just pulled Phorge; trying to set up a local Phorge test installation.

Trying to go to a workboard URL of a non-existing workboard like http://phorge.localhost/project/board/9/ (the DB and thus projects were still around from an older local Phabricator installation and thus not created in Phorge itself), I get:

RuntimeException: preg_match(): Passing null to parameter #2 ($subject) of type string is deprecated

triggered by$80 containing
$is_absolute_uri = preg_match('#^(https?:|//)#', $http_action);