• I have this error message and I dont know way. How I can fix the problem?
    <a href=”edit.php?author=
    Fatal error: Call to undefined function the_author_id() in /home/white/public_html/green/wp-admin/edit-post-rows.php on line 138

Viewing 8 replies - 1 through 8 (of 8 total)
  • Moderator Samuel Wood (Otto)

    (@otto42)

    ww.wp.xz.cn Admin

    Are you missing any files from your install? wp-includes/author-template.php, perhaps?

    Thread Starter whitemanagement

    (@whitemanagement)

    No. I have all the install files. I Reinstaled for 3 times wordpress from scrach and the same error…

    Moderator Samuel Wood (Otto)

    (@otto42)

    ww.wp.xz.cn Admin

    Check again. Specifically, check for the file I told you about. I don’t just want an off-the-cuff “yes”, I actually want you to go and look for that file and make sure that it is there. See? Telling me that you reinstalled doesn’t mean that you checked the file I asked you to check, does it?

    Also, check the permissions on all those files. WordPress needs to be able to load/read all those files, so bad permissions can be the same as a missing file.

    Thread Starter whitemanagement

    (@whitemanagement)

    I check. The file is there. I changed the attributes for all the files in wp-includes to 777 and still nothing. The error is still there.

    Moderator Samuel Wood (Otto)

    (@otto42)

    ww.wp.xz.cn Admin

    Well, that file is what has the_author_id function in it. So if you’re getting a message telling you the function isn’t found, then something is clearly wrong on your installation, yesno?

    This is not a WordPress bug. We don’t get that error on normal installs. So something is wrong with your installation in specific.

    Thread Starter whitemanagement

    (@whitemanagement)

    i know that. i dont know WHAT is wrong…

    Seemingly the “wrong” thing is that the file where the function the_author_id() is defined – is either missing or is corrupted.

    Had the same problem. Reloaded the author-template.php file and the problem was solved. In my experience most of the problems that occur in WordPress have to do with some files being corrupted while transfered.

    Thanks, Berend

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

The topic ‘Call to undefined function the_author_id()’ is closed to new replies.