• I just upgraded a client’s website to WP 5.7, and since doing so, I can no longer successfully perform plugin updates on the /wp-admin/plugins.php screen. Every time I do, either by clicking the Update link on the plugin, or selecting one more plugins to update and using the Update action, it hits a JS error in updates.min.js:

    updates.min.js:1 Uncaught TypeError: Cannot read property 'pluginUpdatingLabel' of undefined
        at Object.p.updates.updatePlugin (updates.min.js:1)
        at HTMLAnchorElement.<anonymous> (updates.min.js:1)
        at HTMLFormElement.dispatch (load-scripts.php?c=0&load[chunk_0]=jquery-core,jquery-migrate,utils,moxiejs,plupload&ver=5.7:2)
        at HTMLFormElement.v.handle (load-scripts.php?c=0&load[chunk_0]=jquery-core,jquery-migrate,utils,moxiejs,plupload&ver=5.7:2)
    

    For some reason, p.updates.l10n is undefined, so it crashes.

    I don’t know what p.updates.l10n represents other than localized strings, but no idea where it comes from since the code is obfuscated. The spinner does start spinning, suggesting something might be happening, but then nothing ever does, presumably due to this error.

    Any hot tips? Thanks in advance.

    • This topic was modified 3 years, 11 months ago by farmer paul.
Viewing 2 replies - 1 through 2 (of 2 total)
  • Moderator t-p

    (@t-p)

    Thread Starter farmer paul

    (@vtowel)

    Thanks, @t-p, I am aware I can do that. I should have been clearer. I’m more curious whether anyone else has come across this issue, or if there’s any record of this being a known bug/conflict, or how I might go about debugging it myself. For example, this appears to be core code that’s been obfuscated – I’m curious what the original code looks like so I can dig into what the root cause may be. Probably I just need to dig a bit deeper into WP’s build system to locate that original JS file…

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Cannot update plugins since updating to 5.7’ is closed to new replies.