Support » Themes and Templates » getting a “fatal error” msg! Help

  • I’ve installed a new theme called Accountant which is available at

    Whenever I click on any page other than the homepage, it’s says:

    Fatal error: Call to undefined function get_the_tags() in /home2/eddy/public_html/wp-content/themes/accountant/functions.php on line 27

    Here is the coding for that section:

    // Category for the post queried
    foreach ( (array) get_the_category() as $cat )
    $c[] = ‘category-‘ . $cat->slug;

    // Tags for the post queried; if not tagged, use .untagged
    if ( get_the_tags() == null ) {
    $c[] = ‘untagged’;
    } else {
    foreach ( (array) get_the_tags() as $tag )
    $c[] = ‘tag-‘ . $tag->slug;

    I’m new to all this so I have no idea what to do. There is a tags.php as well but I have no idea what to look for in that file.

    Please help!

    Thank you!

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘getting a “fatal error” msg! Help’ is closed to new replies.