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

Notice: undefined index #349

Closed
yakacj opened this issue Dec 20, 2023 · 1 comment
Closed

Notice: undefined index #349

yakacj opened this issue Dec 20, 2023 · 1 comment

Comments

@yakacj
Copy link

yakacj commented Dec 20, 2023

Hello,

I getting admin notice from Plugin Check ( PCP) version 0.2.2 : Notice: Undefined index: argv in …/plugins/plugin-check/inc/class-phpcs-runner.php on line 126.

$_SERVER[‘argv’]; I replaced with isset( $_SERVER[‘argv’] ) ? $_SERVER[‘argv’] : ”;

Now ok.

@mukeshpanchal27
Copy link
Member

Thank you for bringing up the concern. This issue has already been addressed and fixed, as reported in #338, with an associated PR #340. These changes are set to be included in the upcoming release.

cc. @bordoni

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

2 participants