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

Are there required dependencies that need to be enabled? #516

Closed
bhadaway opened this issue Jul 10, 2024 · 7 comments
Closed

Are there required dependencies that need to be enabled? #516

bhadaway opened this issue Jul 10, 2024 · 7 comments
Labels
Needs Testing Anything that needs testing from a developer perspective

Comments

@bhadaway
Copy link

bhadaway commented Jul 10, 2024

When checking a plugin with Plugin Check (1.0.2 — installed as-is from https://wordpress.org/plugins/plugin-check/) in my own testing environment, it only shows a handful of errors.

However, when checking the same plugin via https://playground.wordpress.net/, it's showing hundreds of errors.

Is there a specific PHP version (I'm on 8.1.2) or PHP mods I need to enable in order for this to work properly?

@ernilambar
Copy link
Member

@bhadaway Can you please share what errors you are getting?

@bhadaway
Copy link
Author

Sorry, I'm not referring to errors with Plugin Check itself, but rather the errors it's able to sniff out in the plugins it's scanning. There seems to be something missing that's limiting Plugin Check in my testing environment. It's LAMP, but I suspect there are some specific PHP mods that the plugin relies on to fully function?

@swissspidy
Copy link
Member

Can you please share the plugin you‘re testing and some examples of the differences you‘re seeing?

@bhadaway
Copy link
Author

Sure, let's use https://wordpress.org/plugins/stop-spammer-registrations-plugin/ as an example.

Testing in my test environment, it only is able to find like 3 issues, and those are only basic issues about the readme and license.

Using https://playground.wordpress.net/, it is actually able to scan all the code and find hundreds of issues.

If there aren't any special PHP mods that need to be enabled, perhaps there are known server or WordPress security settings that can interfere with Plugin Check?

@swissspidy
Copy link
Member

No there aren't any special requirements or known incompatibilities.

With the latest version of Plugin Check (1.0.2 at the time of writing) and all checkboxes ticked, I get hundreds of errors for that plugin.

If you don't get the same results, try disabling all other plugins and share your Site Health information so we can try to help debug the issue.

@swissspidy swissspidy added the Needs Testing Anything that needs testing from a developer perspective label Jul 10, 2024
@bhadaway
Copy link
Author

Okay, I'll spend more time debugging and if I ever figure it out, I'll report back. Thanks.

@swissspidy
Copy link
Member

Sounds good 👍 In the meantime I'm closing this, but if you find anything we can reopen.

@swissspidy swissspidy closed this as not planned Won't fix, can't repro, duplicate, stale Jul 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Needs Testing Anything that needs testing from a developer perspective
3 participants