Wordpress Themes - WP Forum at BFA

Wordpress Themes - WP Forum at BFA (http://forum.bytesforall.com/index.php)
-   Atahualpa 3 Wordpress theme (http://forum.bytesforall.com/forumdisplay.php?f=2)
-   -   What does this error message mean? (http://forum.bytesforall.com/showthread.php?t=1025)

chiaxiong Mar 30, 2009 11:37 PM

What does this error message mean?
 
Hi all. I am kind of new to this, but after uploading the files to my host, I am receiving this error message. What does it mean?


Fatal error: Call to undefined function is_tag() in /www/sqweebs.com/l/i/f/lifebloom/htdocs/Wordpress/wp-content/themes/atahualpa331/functions.php on line 881

And how do I go about resolving it?

-CHIA-

Flynn Mar 31, 2009 01:05 AM

Looks like you're running WP 2.2, where is_tag is not available? In functions.php replace

PHP Code:

    if ( is_tag() ) {
        
$body_classes .= " body-tag";
    } 

with
PHP Code:

    if ( functions_exists('is_tag') ) {
    if ( 
is_tag() ) {
        
$body_classes .= " body-tag";
    }
    } 

I am adding this fix to the next version.


All times are GMT -6. The time now is 04:37 AM.

Powered by vBulletin® Copyright ©2000 - 2022, Jelsoft Enterprises Ltd.