Title: Call to undefined function mysql2date() error help
Last modified: August 21, 2016

---

# Call to undefined function mysql2date() error help

 *  Resolved [taramcnulty](https://wordpress.org/support/users/taramcnulty/)
 * (@taramcnulty)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/call-to-undefined-function-mysql2date-error-help/)
 * This is the error message that I’m getting:
 * Fatal error: Call to undefined function mysql2date() in /home/therapy/www/www/
   wordpress/wp-includes/link-template.php on line 1225
 * And this is a pdf of the link-template code:
    [http://www.taramcnulty.com/link_template.pdf](http://www.taramcnulty.com/link_template.pdf)
   I hope this is helpful, wasn’t sure of the best way to show it.
 * Thanks in advance for any help! I need to get this up asap. I worked hard on 
   it, so I hope I can fix it.

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

 *  [paulmudo](https://wordpress.org/support/users/paulmudo/)
 * (@paulmudo)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/call-to-undefined-function-mysql2date-error-help/#post-4520096)
 * Open your **wp-load.php** (located in root directory) and check, is there such
   a row?
 * `require_once( ABSPATH . WPINC . '/functions.php' );`
 *  Thread Starter [taramcnulty](https://wordpress.org/support/users/taramcnulty/)
 * (@taramcnulty)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/call-to-undefined-function-mysql2date-error-help/#post-4520103)
 * thank you for responding Paul
    yes, that line is in there.
 *  [paulmudo](https://wordpress.org/support/users/paulmudo/)
 * (@paulmudo)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/call-to-undefined-function-mysql2date-error-help/#post-4520105)
 * I don’t see any reason.
    Have you tried remove all WordPress files (excerpt /
   wp-content/ folder and wp-config.php) and upload again the same version’s files?
 *  Thread Starter [taramcnulty](https://wordpress.org/support/users/taramcnulty/)
 * (@taramcnulty)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/call-to-undefined-function-mysql2date-error-help/#post-4520108)
 * I have not.
    I guess I can try that but nervous to mess it up even more.
 * I was trying to change a url by following instructions online and that’s how 
   this all started. But I took out the 2 lines of code I added and it just messed
   everything up.
 * Could you look at this other file and see if there is anything in there that 
   looks screwy to you?
 * [http://www.taramcnulty.com/functions.pdf](http://www.taramcnulty.com/functions.pdf)
 *  [paulmudo](https://wordpress.org/support/users/paulmudo/)
 * (@paulmudo)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/call-to-undefined-function-mysql2date-error-help/#post-4520109)
 * Also, is your wordpress really located in /www/ folder, which is in the same /
   home/therapy/www/ directory? I mean /www/www/ looks not good for me.
 *  [paulmudo](https://wordpress.org/support/users/paulmudo/)
 * (@paulmudo)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/call-to-undefined-function-mysql2date-error-help/#post-4520110)
 * > I was trying to change a url by following instructions online and that’s how
   > this all started.
 * What URL and where have you changed?
 *  Thread Starter [taramcnulty](https://wordpress.org/support/users/taramcnulty/)
 * (@taramcnulty)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/call-to-undefined-function-mysql2date-error-help/#post-4520112)
 * I don’t know why it is displaying that way. I have a wordpress folder in my www
   folder. It’s not a www folder in a www folder. Nor is there a therapy folder.
   I used to have a therapy folder many many years ago., so I don’t know what that
   is about.
 * Originally I had my wordpress url as taramnculty.com/wordpress
    I was just trying
   to change it to be taramcnulty.com
 * This is my www folder screenshot. There is a wordpress folder in there but that
   is for another site.
    [http://www.taramcnulty.com/Screen%20shot%202014-01-19%20at%209.55.10%20AM.png](http://www.taramcnulty.com/Screen%20shot%202014-01-19%20at%209.55.10%20AM.png)
 * In that www folder contains the wordpress folder for the site im trying to fix,
   it looks like this. I don’t remember creating those www folders so I don’t know
   how they got there. There is nothing in the www folder inside the original www
   folder. I wonder if I should delete that.
 * [http://www.taramcnulty.com/Screen%20shot%202014-01-19%20at%209.54.59%20AM.png](http://www.taramcnulty.com/Screen%20shot%202014-01-19%20at%209.54.59%20AM.png)
 *  Thread Starter [taramcnulty](https://wordpress.org/support/users/taramcnulty/)
 * (@taramcnulty)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/call-to-undefined-function-mysql2date-error-help/#post-4520113)
 * sorry there is a www folder in my www folder but it’s so weird. but the url is
   not www/www it’s just [http://www.taramcnulty.com/wordpress](http://www.taramcnulty.com/wordpress)
 *  [paulmudo](https://wordpress.org/support/users/paulmudo/)
 * (@paulmudo)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/call-to-undefined-function-mysql2date-error-help/#post-4520115)
 * hmm, all correct with directories, this is just a hosting user directory-ING.
 * What exactly have you done with this wordpress? Where you changed URL? Have you
   activated all plugins and themes in Dashboard > Plugins and Dashboard > Themes
   admin pages?
 *  Thread Starter [taramcnulty](https://wordpress.org/support/users/taramcnulty/)
 * (@taramcnulty)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/call-to-undefined-function-mysql2date-error-help/#post-4520116)
 * it’s fixed! All I did was install the update and it is back up and running. Thanks
   for your help Paul. Have a great Sunday.
 *  [paulmudo](https://wordpress.org/support/users/paulmudo/)
 * (@paulmudo)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/call-to-undefined-function-mysql2date-error-help/#post-4520117)
 * Great!

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

The topic ‘Call to undefined function mysql2date() error help’ is closed to new 
replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 11 replies
 * 2 participants
 * Last reply from: [paulmudo](https://wordpress.org/support/users/paulmudo/)
 * Last activity: [12 years, 3 months ago](https://wordpress.org/support/topic/call-to-undefined-function-mysql2date-error-help/#post-4520117)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
