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)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Function name problem’ is closed to new replies.