Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Undefined index: x_subscription_id #1231

Open
bcolflesh opened this issue Jan 24, 2023 · 0 comments
Open

Undefined index: x_subscription_id #1231

bcolflesh opened this issue Jan 24, 2023 · 0 comments

Comments

@bcolflesh
Copy link

EXPLANATION OF THE ISSUE

Version 221103 + s2Member Pro v220421

Trying to clear up PHP Warning, Notices, etc for server/package upgrades and I’ve got this one with s2Member - I see someone asked about this in 2019 in the Community Forum, but it apparently hasn’t been patched.

2023/01/14 23:12:35 [error] 1166#1166: *133947 FastCGI sent in stderr: “PHP message: PHP Notice: Undefined index: x_subscription_id in /my/path/public_html/wp-content/plugins/s2member-pro/src/includes/classes/gateways/authnet/authnet-notify-in.inc.php on line 70PHP message: PHP Notice: Undefined index: x_subscription_id in /my/path/public_html/wp-content/plugins/s2member-pro/src/includes/classes/gateways/authnet/authnet-notify-in.inc.php on line 122” while reading response header from upstream, client: 100.100.100.99, server: 99.99.99.100, request: “POST /?s2member_pro_authnet_notify=1 HTTP/1.1”, upstream: “fastcgi://unix:/var/run/php/php7.4-fpm.sock:”, host: “myhost.com

STEPS TO REPRODUCE THE ISSUE

BEHAVIOR THAT I EXPECTED

Declare x_subscription_id so it doesn't cause an Undefined index warning (and eventually error in newer versions of PHP)

BEHAVIOR THAT I OBSERVED

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant