Title: Undefined function wp_cookie() after latest CVS update
Last modified: August 18, 2016

---

# Undefined function wp_cookie() after latest CVS update

 *  [xyretp21](https://wordpress.org/support/users/xyretp21/)
 * (@xyretp21)
 * [21 years, 3 months ago](https://wordpress.org/support/topic/undefined-function-wp_cookie-after-latest-cvs-update/)
 * Jan 24, 6:00am PST
 * After performing a cvs update (cvs -z3 -d:pserver:anonymous@cvs.sf.net:/cvsroot/
   cafelog co wordpress)
 * and running the …/wp-admin/upgrade.php script, I am getting the following error
   when attempting to log in.
 * Fatal error: Call to undefined function: wp_setcookie() in …/wp2/wp-login.php
   on line 136

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

 *  [Ryan Boren](https://wordpress.org/support/users/ryan/)
 * (@ryan)
 * [21 years, 3 months ago](https://wordpress.org/support/topic/undefined-function-wp_cookie-after-latest-cvs-update/#post-135187)
 * Make sure functions.php was updated. It contains wp_setcookie().
 *  Thread Starter [xyretp21](https://wordpress.org/support/users/xyretp21/)
 * (@xyretp21)
 * [21 years, 3 months ago](https://wordpress.org/support/topic/undefined-function-wp_cookie-after-latest-cvs-update/#post-135267)
 * Thanks…..

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

The topic ‘Undefined function wp_cookie() after latest CVS update’ is closed to 
new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 2 replies
 * 2 participants
 * Last reply from: [xyretp21](https://wordpress.org/support/users/xyretp21/)
 * Last activity: [21 years, 3 months ago](https://wordpress.org/support/topic/undefined-function-wp_cookie-after-latest-cvs-update/#post-135267)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
