[wp-trac] [WordPress Trac] #60066: Cannot upload plugin

WordPress Trac noreply at wordpress.org
Tue Feb 13 11:56:36 UTC 2024


#60066: Cannot upload plugin
-------------------------------+----------------------
 Reporter:  sanny1129          |       Owner:  (none)
     Type:  defect (bug)       |      Status:  closed
 Priority:  normal             |   Milestone:
Component:  Plugins            |     Version:  6.4.2
 Severity:  normal             |  Resolution:  invalid
 Keywords:  changes-requested  |     Focuses:
-------------------------------+----------------------

Comment (by kwawujuxaxis1980):

 If you're experiencing difficulties uploading plugins after updating
 WordPress, there are several steps you can take to troubleshoot and
 resolve the issue:

 1. **Clear Browser Cache**: Sometimes, browser cache and cookies can cause
 issues with WordPress admin functionalities. Try clearing your browser
 cache and cookies, then attempt to upload the plugin again.

 2. **Try a Different Browser**: If the issue persists, try using a
 different web browser to see if the problem is specific to the browser
 you're using.

 3. **Check File Permissions**: Ensure that the directory where WordPress
 is installed has the correct file permissions. Typically, folders should
 have permissions set to 755 and files to 644. Incorrect permissions may
 prevent plugin uploads.

 4. **Disable Plugins**: Temporary disable all your plugins and try to
 upload a plugin again. If it works, re-enable each plugin one by one to
 identify which plugin may be causing the issue.

 5. **Switch to Default Theme**: Temporarily switch to a default WordPress
 theme (such as Twenty Twenty-One) to rule out any theme-related conflicts.

 6. **Check Server Error Logs**: Review your server error logs to see if
 there are any PHP errors or other issues that may be related to the plugin
 upload problem.

 7. **Increase PHP Memory Limit**: Sometimes, insufficient PHP memory can
 prevent plugin uploads. Try increasing the PHP memory limit by editing the
 `wp-config.php` file or contacting your hosting provider for assistance.

 8. **Reinstall WordPress Core**: If none of the above steps resolve the
 issue, consider reinstalling WordPress core files. Make sure to back up
 your website before doing so to avoid any data loss.

 If you're still unable to upload plugins after trying these steps, it may
 be helpful to reach out to your hosting provider or WordPress support
 forums for further assistance. They may be able to provide additional
 guidance tailored to your specific setup and configuration.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/60066#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list