Dear Maintainer,
* What led up to the situation?
I installed `php-markdown` as part of the procedures in the
`README.markdown` from `https://github.com/skurfer/RenderMarkdown.git` for
installing the script that converts Markdown files to HTML
* What exactly did you do (or not do) that was effective (or
ineffective)?
Installed `php-markdown` but this was initially ineffective in
rendering the script functional. The Apache 2 `error.log` file shows errors
similar to the following:
[Tue Jul 23 10:31:59.279853 2024] [php:error] [pid 609550:tid 609550]
[client 127.0.0.1:60104] PHP Fatal error: Array and string offset access
syntax with curly braces is no longer supported in
/usr/share/php/Michelf/Markdown.php on line 955
I edited the curly braces ("{ }") to square brackets ("[ ]") in
/usr/share/php/Michelf/Markdown.php in the affected lines as given in the
Apache 2 error.log: lines 955, 1361, 1386, 1799, 1801.
* What was the outcome of this action?
Editing the `Markdown.php` file as described above apparently rendered
the script effective.
Maybe the same edits are also necessary to the `MarkdownExtra.php` file
that appears in the same directory as `Markdown.php`.
Thanks for your kind attention.
Best,
Justine Leon Uro
email: justineuro.d10@gamil.com