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
The following was reported in the community forum:
mod_fcgid: stderr: PHP Warning: preg_match(): Compilation failed: missing ) at offset 309 in /AppBuzzinga.com/httpdocs/wp-content/plugins/s2member/src/includes/classes/custom-reg-fields.inc.php on line 696, referer: https://appbuzzinga.com/?s2member_profile=1
The "Compilation failed: missing ) at offset" warning is likely being thrown because of special characters in $input[$_field_var] that are not being escaped properly. I think we should be using preg_quote() there.
@jaswsinc Can you confirm?
The text was updated successfully, but these errors were encountered:
@jaswsinc Ah, cool. Thank you. I didn't realize that was the same issue. I'll update the changelog for the next release to mention this issue and mark this as closed.
The following was reported in the community forum:
Here's that line in the source code:
https://github.com/websharks/s2member/blob/161129/src/includes/classes/custom-reg-fields.inc.php#L696
It looks like this is what's causing the problem:
The "Compilation failed: missing ) at offset" warning is likely being thrown because of special characters in
$input[$_field_var]
that are not being escaped properly. I think we should be usingpreg_quote()
there.@jaswsinc Can you confirm?
The text was updated successfully, but these errors were encountered: