WordPress.org

Make WordPress Core

Opened 3 years ago

Closed 3 years ago

#15713 closed defect (bug) (invalid)

Error in deleting...

Reported by: emiluzelac Owned by:
Milestone: Priority: normal
Severity: normal Version: 3.0.2
Component: Warnings/Notices Keywords: reporter-feedback
Focuses: Cc:

Description

Few moments ago I tried to delete multiple pages at once and when I clicked on delete, there comes the error:

Error in deleting...

The XML in view source:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<!-- Ticket #11289, IE bug fix: always pad the error page with enough characters such that it is greater than 512 bytes, even after gzip compression abcdefghijklmnopqrstuvwxyz1234567890aabbccddeeffgghhiijjkkllmmnnooppqqrrssttuuvvwwxxyyzz11223344556677889900abacbcbdcdcededfefegfgfhghgihihjijikjkjlklkmlmlnmnmononpopoqpqprqrqsrsrtstsubcbcdcdedefefgfabcadefbghicjkldmnoepqrfstugvwxhyz1i234j567k890laabmbccnddeoeffpgghqhiirjjksklltmmnunoovppqwqrrxsstytuuzvvw0wxx1yyz2z113223434455666777889890091abc2def3ghi4jkl5mno6pqr7stu8vwx9yz11aab2bcc3dd4ee5ff6gg7hh8ii9j0jk1kl2lmm3nnoo4p5pq6qrr7ss8tt9uuvv0wwx1x2yyzz13aba4cbcb5dcdc6dedfef8egf9gfh0ghg1ihi2hji3jik4jkj5lkl6kml7mln8mnm9ono -->
<html xmlns="http://www.w3.org/1999/xhtml" dir="ltr" lang="en-US">
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<title>WordPress &rsaquo; Error</title>
	<link rel="stylesheet" href="http://wp2.me/wp-admin/css/install.css" type="text/css" />
</head>
<body id="error-page">
	<p>Error in deleting...</p></body>
</html>
<!--  -->

Not sure if this is related to #11289.

Thanks,
Emil
PS Hopefully the code above will display properly and that I am using this the right way, if not please let me know.

Attachments (1)

error-in-deleting.png (3.8 KB) - added by emiluzelac 3 years ago.
Screenshot

Download all attachments as: .zip

Change History (6)

emiluzelac3 years ago

Screenshot

comment:1 emiluzelac3 years ago

NB When I returned back to pages, all that I wanted to delete was actually deleted, not sure if this helps in any way.

comment:2 nacin3 years ago

That error message occurs when wp_delete_post() fails. It's a sanity check and not much else. We would need to know why it is failing. Is this reproducible?

comment:3 emiluzelac3 years ago

I'll be more than happy to check, give me few moments to import dozen of pages and I'll try to delete them again :-)

comment:4 emiluzelac3 years ago

This time I got nothing /wp-admin/edit.php?post_status=trash&post_type=page&deleted=6 6 pages permanently deleted and no errors of any kind. Weird.

comment:5 scribu3 years ago

  • Milestone Awaiting Review deleted
  • Resolution set to invalid
  • Status changed from new to closed

This was most likely a db error, which we couldn't do much about anyway.

Note: See TracTickets for help on using tickets.