01444: TrueLatex Cookbook

Summary: TrueLatex Cookbook
Created: 2019-11-12 10:41
Status: Closed - fixed
Category: Cookbook
From: lepalom?
Assigned:
Priority: 3
Version: 2.2.120
OS: 7.3

Description: I'm maintaining a simple pmwiki and now I'm trying to update it to a new server with PHP 7.3. I have migrated all the cookbook recipes but there's one that are breaking my pmwiki: TrueLatex.

The error is known:

Warning: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead in /var/www/sir/wikifarm/pmwiki.php on line 1845

ERROR: pat=/\(:latex(.*?):\)(.*?)\(:latexend:\)/esi preg_replace(): The /e
modifier is no longer supported, use preg_replace_callback instead

I have tried to contact with the author but no reply in one month. Please could you check it? lepalom? November 12, 2019, at 10:42 AM

I've uploaded a version that should work with PHP 5.5-7.4: Attach:Cookbook./TrueLatex-latest.zip. Please test it and report (only truelatex.php changed). --Petko November 12, 2019, at 05:07 PM

Good!!!

I can report that is working. Thanks.