Viewing 2 replies - 1 through 2 (of 2 total)
  • hi,
    please it’s urgent, do you have any fix for this?

    anyone having this issue when upgrading to php7
    THE SOLUTION is to replace
    line this
    $rewrite_rules = unserialize( preg_replace ( '!s:(\d+):"(.*?)";!se', "'s:'.strlen('$2').':\"$2\";'" , $rewrite_rules ) );

    with this
    $rewrite_rules = unserialize( preg_replace_callback('!s:(\d+):"(.*?)";!s' , function (array $m) { return sprintf('s:%d:"%s";', strlen($m[2]), $m[2]);} , $rewrite_rules));

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘php 7 support’ is closed to new replies.