Title: Function name problem
Last modified: August 20, 2016

---

# Function name problem

 *  Resolved [bonjurkes](https://wordpress.org/support/users/bonjurkes/)
 * (@bonjurkes)
 * [14 years, 8 months ago](https://wordpress.org/support/topic/function-name-problem/)
 * I am using WordPress with turkish language file. I was using a server with php
   5.3.2 and now i switched to a server with php 5.2.17. Everything was working 
   flawless before i move out.
 * When I type,
 * define(‘WPLANG’, ‘tr_TR’); into my wpconfig, my wordpress main page gives error:
   Call to undefined function get_the_Id() post-thumbnail-template.php on line 21
 * So the function on line 21 is
 * `$post_id = ( null === $post_id ) ? get_the_ID() : $post_id;`
 * So when i type wplang as tr_TR it mess up the function name as :
 * get_the_Id() instead of get_the_id(). It’s typical turkish character problem 
   because we have ı and I , and i and İ.
 * So we found the problem but dunno how to solve it.

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

 *  [Marventus](https://wordpress.org/support/users/marventus/)
 * (@marventus)
 * [14 years, 8 months ago](https://wordpress.org/support/topic/function-name-problem/#post-2201625)
 * Hi bonjurkes,
 * Maybe I’m missing something, but I don’t understand how the language definition
   could be affecting the processing of that php line by your server.
    What happens
   if you set the language to anything else other than Turkish? Do you still get
   an error message? I guess I’m kind of puzzled by your issue. A link to your site
   and the name of your theme would come in handy too.
 * Thanks!
 *  Thread Starter [bonjurkes](https://wordpress.org/support/users/bonjurkes/)
 * (@bonjurkes)
 * [14 years, 8 months ago](https://wordpress.org/support/topic/function-name-problem/#post-2201626)
 * Hey Marventus,
 * I solved the issue, I thought it’s about php’s non ascii characters bug issue
   but it turned out that Adrotator is causing that, even tho it was working fine
   on my old server, when I switched to new one it caused this error, just turned
   it off and it works like charm now
 *  [Marventus](https://wordpress.org/support/users/marventus/)
 * (@marventus)
 * [14 years, 8 months ago](https://wordpress.org/support/topic/function-name-problem/#post-2201627)
 * Hello again,
 * Glad you know you figured it out.
    Please don’t forget to mark this thread as‘
   solved.’
 * Cheers!
 *  [tkaprol](https://wordpress.org/support/users/tkaprol/)
 * (@tkaprol)
 * [14 years, 5 months ago](https://wordpress.org/support/topic/function-name-problem/#post-2201777)
 * Hello bonjurkes,
 * I had experienced exactly the same problem as like as you. I had temporary solved
   it via editing post-thumbnail-template.php in wp-includes but i’m aware that 
   it will overwritten in next update.
 * So how did you turned off non-ascii character support?
 * Thanks,

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

The topic ‘Function name problem’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 4 replies
 * 3 participants
 * Last reply from: [tkaprol](https://wordpress.org/support/users/tkaprol/)
 * Last activity: [14 years, 5 months ago](https://wordpress.org/support/topic/function-name-problem/#post-2201777)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
