Support » Fixing WordPress » Most commented hack Fatal Error

  • I am trying to install the Most Commented hack and am getting the following error.
    Fatal Error: Call to undefined function: get_most_commented()
    I have two other functions defined in my-hacks.php and they both work fine.
    1) Recent Posts
    2) phpGiggle
    Anyone else had this problem and know a fix for it or common reasons for this error?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Like the error message says, check if the function get_most_commented(); is defined in the my-hacks file. Check for “;” a the end of lines, etc…
    Or you could save your my-hacks.php as my-hacks.txt or my-hacks.phps somewhere on your server, so people who want to help can see the code in it.

    Ah! The “;” at the end of each line!!!
    Its fixed now!
    Thanks 2fargon.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Most commented hack Fatal Error’ is closed to new replies.