01339: /e modifier is deprecated- error in, probably from [[Cookbook/SortableTables|cookbook/sortable.php]]

Summary: /e modifier is deprecated- error in, probably from cookbook/sortable.php
Created: 2014-03-17 18:05
Status: Closed - recipe updated
Category: Cookbook
From: Peter
Assigned:
Priority:
Version: 2.2.62
OS: windows/apache/PHP 5.5.9

Description: My apologies if this is not the correct place for this question, but there is no maintainer listed for the sortable.php recipe. After downloading XAMMP 1.8.3 (with apache 2.4.7 win32 and PHP 5.5.9) to my windows-machine and copying my PMwiki site from my linux computer I get the following error: Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in pmwiki.php on line 1659. After disabling include_once ('cookbook/sortable.php') there is no error.

Regards Peter Peter March 17, 2014, at 06:05 PM

I updated the script's markup definition to be compatible with PHP 5.5, PmWiki 2.2.58+ as well as earlier versions. HansB March 28, 2014, at 04:01 AM