Make WordPress Core

Opened 6 years ago

Closed 6 years ago

Last modified 2 years ago

#50939 closed defect (bug) (invalid)

Missing aysDeleteUninstall JS variable

Reported by: guihenriques's profile guihenriques Owned by: guihenriques-kelvin-mariano's profile <@…>
Milestone: Priority: normal
Severity: normal Version: 5.5
Component: Upgrade/Install Keywords:
Focuses: javascript, administration Cc:

Description

There is an "aysDeleteUninstall" error when you are going to delete a plugin that is no longer used, apparently this function no longer exists, or is being called incorrectly by the "updates [.min] .js" file;
https://i.imgur.com/LbfObFu.jpg

I tested using the same environment, but in an earlier version of WordPress, it worked perfectly, the error only started after upgrading to 5.5;

Desativar plugin -> Desinstalar plugin

https://i.imgur.com/D5Seahz.jpg

Change History (3)

#1 @guihenriques
6 years ago

  • Summary changed from Remover plugin to Remove plugin

#2 @swissspidy
6 years ago

  • Keywords close added
  • Severity changed from major to normal
  • Summary changed from Remove plugin to Missing aysDeleteUninstall JS variable

Hi there and welcome to Trac!

This JS variable does indeed not exist anymore, see [47884] and https://make.wordpress.org/core/2020/08/05/more-support-for-javascript-i18n-in-wordpress-5-5/ for details.

If you see that error, it means a plugin is trying to use that variable. Try deactivating all plugins to see if this still happens. Then you can identify the culprit by activating them one by one.

#3 @desrosj
6 years ago

  • Keywords close removed
  • Milestone Awaiting Review deleted
  • Resolution set to invalid
  • Status changed from assigned to closed

I'm going to close this out. I verified that there are no more instances in Core where this is referenced, so it's almost certainly a plugin or theme issue.

Please follow up with the plugin or theme author after identifying where the variable is being referenced. Good luck!

Note: See TracTickets for help on using tickets.