[Bug 262343] devel/phabricator: broken with php80

From: <bugzilla-noreply_at_freebsd.org>
Date: Fri, 04 Mar 2022 16:33:27 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=262343

            Bug ID: 262343
           Summary: devel/phabricator: broken with php80
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: grembo@FreeBSD.org
          Reporter: arrowd@FreeBSD.org
          Assignee: grembo@FreeBSD.org
             Flags: maintainer-feedback?(grembo@FreeBSD.org)

After upgrading phabricator-php74 to phabricator-php80 it becomes completely
unusable. The main page returns

>>> UNRECOVERABLE FATAL ERROR <<<

Uncaught Error: Call to undefined function get_magic_quotes_gpc() in
/usr/local/lib/php/phabricator/support/startup/PhabricatorStartup.php:521
Stack trace:
#0 /usr/local/lib/php/phabricator/support/startup/PhabricatorStartup.php(133):
PhabricatorStartup::verifyPHP()
#1 /usr/local/lib/php/phabricator/webroot/index.php(98):
PhabricatorStartup::didStartup(1646411032.6753)
#2 /usr/local/lib/php/phabricator/webroot/index.php(3): phabricator_startup()
#3 {main}
  thrown

/usr/local/lib/php/phabricator/support/startup/PhabricatorStartup.php:521


┻━┻ ︵ ¯\_(ツ)_/¯ ︵ ┻━┻


and starting phd results in

Starting phd.
[2022-03-04 19:26:53] EXCEPTION: (Exception) Error while loading file
"/usr/local/lib/php/phabricator/src/applications/base/PhabricatorApplication.php":
Private methods cannot be final as they are never overridden by other classes
at [<arcanist>/src/init/lib/PhutilBootloader.php:275]
arcanist(), phabricator()
  #0 PhutilBootloader::executeInclude(string) called at
[<arcanist>/src/init/lib/PhutilBootloader.php:207]
  #1 PhutilBootloader::loadLibrarySource(string, string) called at
[<arcanist>/src/symbols/PhutilSymbolLoader.php:422]
  #2 PhutilSymbolLoader::loadSymbol(array) called at
[<arcanist>/src/symbols/PhutilSymbolLoader.php:277]
  #3 PhutilSymbolLoader::selectAndLoadSymbols() called at
[<arcanist>/src/init/init-library.php:23]
  #4 __phutil_autoload(string) called at
[<phabricator>/src/infrastructure/events/PhabricatorEventEngine.php:30]
  #5 PhabricatorEventEngine::initialize() called at
[<phabricator>/src/infrastructure/env/PhabricatorEnv.php:133]
  #6 PhabricatorEnv::initializeCommonEnvironment(boolean) called at
[<phabricator>/src/infrastructure/env/PhabricatorEnv.php:75]
  #7 PhabricatorEnv::initializeScriptEnvironment(boolean) called at
[<phabricator>/scripts/init/lib.php:26]
  #8 init_phabricator_script(array) called at
[<phabricator>/scripts/init/init-script.php:9]
  #9 require_once(string) called at
[<phabricator>/scripts/__init_script__.php:3]
  #10 require_once(string) called at
[<phabricator>/scripts/daemon/manage_daemons.php:5]
/usr/local/etc/rc.d/phd: WARNING: failed to start phd

-- 
You are receiving this mail because:
You are the assignee for the bug.