Make WordPress Core

Opened 9 months ago

Closed 9 months ago

#62832 closed defect (bug) (fixed)

Invalid Input, when im trying to add a new plugin

Reported by: skydrow's profile skydrow Owned by:
Milestone: WordPress.org Priority: normal
Severity: normal Version:
Component: Plugins Keywords:
Focuses: administration Cc:

Description

Hello guys, Im trying to add a new plugin to my wp site and i got this error:

https://i.ibb.co/S03xB6w/wordpress-add-new-plugin-issue.png

WordPress 6.7.1

Regards!

Change History (6)

#1 @dhruvang21
9 months ago

  • Keywords reporter-feedback needs-testing-info added

Hello @skydrow,

Welcome to WordPress Core Trac, and thank you for raising this ticket! Could you please provide more details about the issue, including the steps to reproduce it? Additionally, sharing your environment information would be helpful for troubleshooting.

#2 @abcd95
9 months ago

Hey @skydrow, Thanks for bringing this up.

The "Invalid Input" error you're seeing might be caused by server-side restrictions in your hosting environment. This usually relates to PHP upload limits, file permissions, or security measures blocking plugin uploads.
I recommend contacting your hosting provider to verify your server configuration meets WordPress 6.7.1 requirements and check for any upload restrictions. You can also try uploading a smaller plugin to test if the issue is size-related.

Let me know if it works for you.

#3 @dd32
9 months ago

This error is likely coming from api.wordpress.org, and is not related to the hosting environment, but rather caused by a conflict of another plugin installed on the site which is causing WordPress to make invalid requests to WordPress.org.

The string 'Invalid Input' doesn't exist within WordPress for this context, but the WordPress.org plugins API may respond with that to invalid inputs.

@skydrow Can you please let us know:

  • The search term you're using
  • What locale your WordPress site uses (it appears to be in English, but is that what the site is set to?)
  • Is it a fresh WordPress install, or an existing one?
  • Can you duplicate it without other plugins installed?

To get the locale of the site, you can look at the WPLANG constant in your wp-config.php, and also check in the WordPress section of Site Health debugger: wp-admin/site-health.php?tab=debug

#4 @dd32
9 months ago

  • Milestone changed from Awaiting Review to WordPress.org

Likely caused by https://meta.trac.wordpress.org/changeset/14344
Likely fixed by https://meta.trac.wordpress.org/changeset/14366

@skydrow Can you re-test and see if you run into the same issue?

#5 @skydrow
9 months ago

@dd32 now everything is working!! i did nothing.

@dhruvang21 i never entered any term at firs then i tried using a terms and i got the same result. Now everything is working again.

Thank you!

Last edited 9 months ago by skydrow (previous) (diff)

#6 @dd32
9 months ago

  • Keywords reporter-feedback needs-testing-info removed
  • Resolution set to fixed
  • Status changed from new to closed

Thanks for confirming @skydrow

Your site likely has an invalid Locale set, that's not common, but not uncommon.. so likely only affected a small number of sites, and only a small number of those would've attempted to install plugins in that time.

Marking this as resolved.

Note: See TracTickets for help on using tickets.