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
We have the latest version installed and are still getting the Use of "preg_replace() /e modifier" error. A quick check of the sc-paypal-button-e.inc.php file on line 80 shows that the /e modifier still exists.
We are using PHP 7.
$code = preg_replace ("/(\<input)([^\>]+)(\>)/ie", "'\\1'.rtrim(stripslashes('\\2'),'/').' /\\3'", $code); // Use XHTML!
The text was updated successfully, but these errors were encountered:
(s2Member) PHP v7 Compat.: This release addresses one remaining issue with the preg_replace/e modifier as reported in this GitHub issue. Props @nerdworker for reporting. Thanks!
Work from this issue was pushed out with the release of s2Member v151218.
See: http://s2member.com/changelog/ for full details.
Future comments on this issue will now be blocked. If you have any trouble please open a new issue and report it. A big thanks to all of our great supporters. Happy Holidays :-) ❄️
We have the latest version installed and are still getting the Use of "preg_replace() /e modifier" error. A quick check of the sc-paypal-button-e.inc.php file on line 80 shows that the /e modifier still exists.
We are using PHP 7.
$code = preg_replace ("/(\<input)([^\>]+)(\>)/ie", "'\\1'.rtrim(stripslashes('\\2'),'/').' /\\3'", $code); // Use XHTML!
The text was updated successfully, but these errors were encountered: