Make WordPress Core

Opened 15 years ago

Closed 15 years ago

Last modified 15 years ago

#10254 closed defect (bug) (fixed)

"An unidentified error has occurred." on Custom Field update

Reported by: adiant's profile adiant Owned by:
Milestone: 2.8.1 Priority: normal
Severity: normal Version: 2.8
Component: Editor Keywords: Custom Fields
Focuses: Cc:

Description

Whenever I click Update to update the contents of two different Custom Fields, I get "An unidentified error has occurred." in pink at the bottom of the Custom Fields area of Edit Page.

It appears to be related to the fact that the value of the two Custom Fields involved begin with a first line made up of only the two characters "?>". When I remove the first line, the error disappears.

Despite the error message, the Custom Fields do appear to be updated correctly.

I am using the Default Theme. This error occurs in the three browsers that I have tested: IE8, IE8 in Compatibility Mode, and Firefox 3.0.10.

Change History (6)

#1 @Denis-de-Bernardy
15 years ago

  • Milestone changed from Unassigned to 2.8.1

Probably a dup of #10167

#2 @ryan
15 years ago

I see this only when pressing Update without changing the value. We're currently issuing an error if the value hasn't changed. Fix for that on the way. Are you seeing this for other cases too?

#3 @ryan
15 years ago

(In [11644]) Don't show error message when updating a custom field without changing its value. see #10254

#4 @ryan
15 years ago

(In [11645]) Don't show error message when updating a custom field without changing its value. see #10254 for 2.8.1

#5 @ryan
15 years ago

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

I'll assume this is fixed. Reopen if that is not true.

#6 @adiant
15 years ago

You are right. I have only been able to recreate this problem (in 2.8) when no changes are made to a Custom Field.

Note: See TracTickets for help on using tickets.