PHP | Deprecated: Parsedown::blockSetextHeader()

Following the xibo update to v.4.3.0, I noticed these errors in my development environment. This does not prevent Xibo from functioning. Can be included the update of parsedown (Composer Update) in the new version of release 4.3 ?

The errors displayed:

Deprecated: Parsedown::blockSetextHeader(): Implicitly marking parameter $Block as nullable is deprecated, the explicit nullable type must be used instead in /var/www/cms/vendor/erusev/parsedown/Parsedown.php on line 715

Deprecated: Parsedown::blockTable(): Implicitly marking parameter $Block as nullable is deprecated, the explicit nullable type must be used instead in /var/www/cms/vendor/erusev/parsedown/Parsedown.php on line 853

Hi @ibra.dia
Appreciate the report. This looks like a deprecation notice triggered by PHP 8.4’s changes around nullable parameters in the Parsedown library. It doesn’t impact functionality, but I’ll raise it internally so the team can review updating Parsedown in a future release.

Thanks again for reporting this. I’ve opened a GitHub issue so we can update the Parsedown library once a compatible version becomes available. Since it’s only a PHP 8.4 deprecation warning and doesn’t affect functionality, the update will likely be included in a future release rather than a patch.

1 Like