• I’ve run across a very strange issue. I have a WordPress site which works fine, except that when I attempt to Add a Plugin on the back-end no plugins display and I get the error “Invalid Input” with a “Try Again” button. No text is in the the search box and if add valid text in search I get the same error. I can download and install plugins manually without issue.

    I’ve tried this on different servers and hosting platforms.

    1. Create a fresh WP install, Add plugins works fine.
    2. Restore my site backup, Add Plugins is broken.
    3. Disable all plugins and revert to WP 2024 Theme or 2025 Theme does not fix it either.
    4. Enable Debug mode, nothing gets recorded or displayed.
    5. wpconfig is basic, nothing but bare bones entries.

    I can only assume this is some sort of corrupted data since it works until I restore the site. I’ve even gone as far as removing all plugins with no luck as well as WP Safe mode. I’m thinking maybe something in the wp_options table, however, I’m not sure where plugin-install.php is getting this invalid data.

    If anyone has any ideas I sure would appreciate it.

    Michael

Viewing 10 replies - 1 through 10 (of 10 total)
  • How do you create a backup and how do you restore it? I assume this is what you mean by “restore”, so an exact description of the process would be important.

    Thread Starter tmgreen

    (@tmgreen)

    I use All in One WP Migration Premium. However, the issue already exists on the host site. My point about restoring the site was that everything works fine on a brand new site, then restoring the backup breaks it.

    One additional note I just discovered.

    1. I also get the same error “Invalid Input” when I click on “View Details” for any installed plugin.

    It appears to be some piece of data referenced by the plugin-install.php as well as View Details function.

    • Post here all the plugins installed on your site;
    • Do you have ftp access to your site? If so, via ftp try to rename the plugins directory to _plugins, then create a directory called plugins (empty) at the same location. Now, test your access out and verify whether the issue persist yet.
    Thread Starter tmgreen

    (@tmgreen)

    Hi,

    I’ve already ruled out all plugins and theme doing exactly as you suggest. As I said, the site is fully functional aside from not being able to pull up the WP Plugins Directory or the recently discovered “View Details” on existing plugins, everything else works fine. I can download plugins manually from WP and install them using the regular “Upload Plugin” button with no issue. Wpconfig has been ruled out, tried error logging, but no error is thrown. Tried freshly built VPS and even a shared hosting account I still have. It just displays that stupid button that says “Invalid Input” Try Again. Clicking the button doesn’t change anything. Really strange.

    Open to any other ideas.

    Just one more thing, could you post your site’s link for verifying? Of course, if you not mind.

    I have the same problem with 3 new sites. I’d discoverd this before adding any content and just deleted all sites from hosting and installed it again. And it didn’t help. All work stuck

    Also when I tried to upload plugin as zip-file directly I recieve error: The uploaded file exceeds the upload_max_filesize directive in php.ini.

    Jorge Luiz

    (@jluizsouzadev)

    @vla234, I dunno what the kinda hosting you’re using. But I wonder do you have access to php.ini file? You must set one up for solving your issue.

    Change the vaule of the upload_max_filesize directive to desired value in the php.ini file.

    Futher information:

    1. File Uploads
    2. The uploaded file exceeds the upload_max_filesize directive in php.ini error while uploading plugin
    3. upload_max_filesize Error: How to Fix the File Size Limit in WordPress
    4. How to fix “the uploaded file exceeds the upload_max_filesize directive in php.ini.” error
    • This reply was modified 2 months, 1 week ago by Jorge Luiz.

    @jluizsouzadev I’ve contacted hosting support and they changed the vaule of the?upload_max_filesize. Now I can upload plugin from zip files directly. But still see the same error when go to Add new plugins “Invalid input”.

    Now they answered that I have to wait WordPress update.

Viewing 10 replies - 1 through 10 (of 10 total)
  • You must be logged in to reply to this topic.