Hello Dominique, when using any of the arithmetic Markup Expressions from MarkupExprPlus https://www.pmwiki.org/wiki/Cookbook/MarkupExprPlus it is throwing error on PHP 7.2: "Deprecated: Function create_function() is deprecated in ...pmwiki.php on line 499"
I can see from the code in markupexprplus.php that the arithmetic MEs using PPRE() calls, which leads to PCCF() calls, which leads to the error. Is this fixable? The recipe is flagged to be PHP 7.2 compatible, but apparently it is not. For my very simple purposes I could substitute the arithmetic MEs with some very simple code: $MarkupExpr['add'] = '$args[0] + $args[1]'; $MarkupExpr['sub'] = '$args[0] - $args[1]'; $MarkupExpr['mul'] = '$args[0] * $args[1]'; $MarkupExpr['div'] = '$args[0] / $args[1]'; but the MarkupExprPlus MEs allowed for more complex expressions. Best regards, Hans _______________________________________________ pmwiki-users mailing list [email protected] http://www.pmichaud.com/mailman/listinfo/pmwiki-users
