You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As discussed here, Parsedown-extra now uses uses DOMDocument::savehtml() with the $node parameter, and so we need PHP 5.3.6 (see savehtml()'s Changelog), testing with php 5.3.3 gives the following errors:
Warning: DOMDocument::saveHTML() expects exactly 0 parameters, 1 given in /var/home/XXX/www/picocms4/vendor/erusev/parsedown-extra/ParsedownExtra.php on line 492
Warning: DOMDocument::loadHTML(): Empty string supplied as input in /var/home/XXX/www/picocms4/vendor/erusev/parsedown-extra/ParsedownExtra.php on line 471
Catchable fatal error: Argument 1 passed to DOMNode::removeChild() must be an instance of DOMNode, null given, called in /var/home/XXX/www/picocms4/vendor/erusev/parsedown-extra/ParsedownExtra.php on line 496 and defined in /var/home/XXX/www/picocms4/vendor/erusev/parsedown-extra/ParsedownExtra.php on line 472
You should at least add this requirement in your composer.json as below
Fixeserusev#75, erusev#84
- ext-dom is required due to the use of the DOMDocument class
- ext-mbstring is required due to the use of the mb_convert_encoding() function
Pico doesn't require the PHP extensions itself, but erusev/parsedown-extra does. The explicit composer.json requirements are necessary until erusev/parsedown-extra#75 gets merged. Both extensions aren't part of Ubuntu's default LAMP setup anymore.
As discussed here, Parsedown-extra now uses uses DOMDocument::savehtml() with the $node parameter, and so we need PHP 5.3.6 (see savehtml()'s Changelog), testing with php 5.3.3 gives the following errors:
You should at least add this requirement in your composer.json as below
Issue related to #44, #57 and #58
The text was updated successfully, but these errors were encountered: