Page MenuHomePhorge

PHP Fatal error in Figlet due to use of curly braces
Closed, ResolvedPublic

Description

Steps to reproduce:

  1. PHP 8.2.6; Phorge at 94d45de2f7dd6472486c20110f542a6e3e6a6565
  2. Go to an existing task
  3. In the comment field, paste:
figlet {{{
 hello!
 line2!
}}}

Actual outcome:

Nothing happens in the UI; PHP error log shows:

PHP Fatal error:  Array and string offset access syntax with curly braces is no longer supported in /var/www/html/phorge/phorge/externals/pear-figlet/Text/Figlet.php on line 234
>>> UNRECOVERABLE FATAL ERROR <<<

Array and string offset access syntax with curly braces is no longer supported

/var/www/html/phorge/phorge/externals/pear-figlet/Text/Figlet.php:234


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

After fixing that line, get:

PHP Fatal error:  Array and string offset access syntax with curly braces is no longer supported in /var/www/html/phorge/phorge/externals/pear-figlet/Text/Figlet.php on line 277
>>> UNRECOVERABLE FATAL ERROR <<<

Array and string offset access syntax with curly braces is no longer supported

/var/www/html/phorge/phorge/externals/pear-figlet/Text/Figlet.php:277


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

After fixing that, line renders.

Related Objects

View Standalone Graph
This task is connected to more than 200 other tasks. Only direct parents and subtasks are shown here. Use View Standalone Graph to show more of the graph.