Title: Edit post error
Last modified: August 18, 2016

---

# Edit post error

 *  [Cena (a11n)](https://wordpress.org/support/users/cena/)
 * (@cena)
 * [23 years, 2 months ago](https://wordpress.org/support/topic/edit-post-error/)
 * When editing a post using CVS, I got the following error:
    Fatal error: Call 
   to undefined function: floatval() in /wordpress/wp-admin/b2edit.php on line 205
   I was trying to include images in the original post using the image quicktag,
   if that helps.

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Thread Starter [Cena (a11n)](https://wordpress.org/support/users/cena/)
 * (@cena)
 * [23 years, 2 months ago](https://wordpress.org/support/topic/edit-post-error/#post-23420)
 * Actually, it’s doing it with any entry I attempt to edit. I’m using a fresh install
   of today’s CVS.
 *  [Dougal Campbell](https://wordpress.org/support/users/dougal/)
 * (@dougal)
 * [23 years, 2 months ago](https://wordpress.org/support/topic/edit-post-error/#post-23424)
 * I just commited a change to b2-include/b2functions.php. See if it helps. It adds
   the following code near the top:
    if (!function_exists(‘floatval’)) { function
   floatval($string) { return ((float) $string); } } The floatval() function was
   added in PHP 4.2.0, so I’m guessing you have an older version of PHP.
 *  Thread Starter [Cena (a11n)](https://wordpress.org/support/users/cena/)
 * (@cena)
 * [23 years, 2 months ago](https://wordpress.org/support/topic/edit-post-error/#post-23425)
 * I’ll try that, thanks.
    And yes, I’m using Sourceforge, which is still on 4.1.2.

Viewing 3 replies - 1 through 3 (of 3 total)

 The topic ‘Edit post error’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 3 replies
 * 2 participants
 * Last reply from: [Cena (a11n)](https://wordpress.org/support/users/cena/)
 * Last activity: [23 years, 2 months ago](https://wordpress.org/support/topic/edit-post-error/#post-23425)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
