WordPress.org

Make WordPress Core

Opened 4 years ago

Last modified 3 years ago

#37927 reopened defect (bug)

Errors occurring after upgrading to WordPress 4.6

Reported by: Pulsar_Media Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version: 4.6
Component: Upgrade/Install Keywords:
Focuses: Cc:

Description

Hi,

I am facing several errors in the backend after upgrading to WordPress version 4.6

For example when i try to delete a theme i get the following error outlined in a red notification box:

Deletion failed: undefined

When i try to update a plugin i get the following error:

Update Failed: Internal Server Error

Is there a quick fix for this?

Change History (12)

#1 @SergeyBiryukov
4 years ago

  • Component changed from General to Upgrade/Install

#2 @hardeepasrani
4 years ago

  • Resolution set to invalid
  • Status changed from new to closed

Hi,

It appears to be an issue with your WordPress installation or your server, not an issue with WordPress. With that being said, it should be a support ticket and you should open one here with all the details: https://wordpress.org/support/

#3 @Pulsar_Media
4 years ago

Looks like an issue with WordPress to me - everything was working perfectly fine until i upgraded to 4.6 and did the database upgrade. I upgraded 7 sites and they are all giving me these errors. I reinstalled WordPress on one of the sites and its working fine now - its definitely an issue with WordPress - or the database upgrade process.

#4 @hardeepasrani
4 years ago

Are all the sites on the same server? :)

#5 @swissspidy
4 years ago

With a topic in the support forums we could more easily help you and open a trac ticket if necessary.

When you open the developer console in your browser (F12), you should be able to see the Ajax requests triggered when deleting or installing a plugin/theme. If you could share the responses of those, this would be helpful.

I assume there are some PHP notices or errors being thrown which cause the process to fail.

#6 follow-up: @Pulsar_Media
4 years ago

Ok here's one example - i just tried to delete one of my child themes and here is the WordPress error i got along with the ajax return message in the web console:

WordPress error:

Deletion failed: The requested theme does not exist.

Ajax message:

{"success":false,"data":{"delete":"theme","slug":"hope-charity-theme-child","errorMessage":"The requested
 theme does not exist."}}

The theme is installed and i can verify its installed through FTP - but for some reason WordPress thinks it doesn't exist.

Last edited 4 years ago by Pulsar_Media (previous) (diff)

#7 in reply to: ↑ 6 @SergeyBiryukov
4 years ago

Replying to Pulsar_Media:

The theme is installed and i can verify its installed through FTP - but for some reason WordPress thinks it doesn't exist.

Might be related to #37924.

#8 @Pulsar_Media
4 years ago

If i understand correctly that article mentions that the error is related to uppercase characters in the directory name? My theme does not contain uppercase characters in the main theme folder which is labelled "hope-charity-theme-child"

Sorry but i don't believe that article resolves anything.

#9 @swissspidy
4 years ago

  • Resolution invalid deleted
  • Status changed from closed to reopened

#10 @swissspidy
4 years ago

#38058 was marked as a duplicate.

#11 @charlesrodmell
3 years ago

In case it helps anyone, I got the "Deletion failed: undefined" when trying to delete a theme. My host tweaked the firewall a bit and I was able to delete it. Not sure of the details.

#12 @thesolver.us
3 years ago

I ran into this error. For me, the solution was upping the PHP memory from the provider's default 64M:

memory_limit = 128M
Last edited 3 years ago by thesolver.us (previous) (diff)
Note: See TracTickets for help on using tickets.