Wordpress Themes - WP Forum at BFA
Click Here To DONATE! Support the theme development, get more attention and additional benefits based on your donation level. Your forum name will be highlighted.

Wordpress Themes - WP Forum at BFA » WordPress Themes » Atahualpa 3 Wordpress theme » Center area post/pages »

Notice: Undefined variable: odd_or_even in bfa://content_inside_loop on line 6


Build custom WP THEMES, without
coding.
Click here for THEMEFRAME

From the author of Atahualpa, the #1 most
downloaded (700,000+) theme @ wordpress.org
  #1  
Old Apr 7, 2011, 05:12 AM
tasha
 
2 posts · Apr 2011
I'm using Wordpress 3.1.1 and Atahualpa 3.6.4

I'm getting the following error appearing above with posts:

Notice: Undefined variable: odd_or_even in bfa://content_inside_loop on line 6
class="post-91 post type-post status-publish format-standard hentry category-uncategorized odd" id="post-91">

Here is the the php code for "the loop" which is the only place I've found the odd_or_even variable so far.

<?php /* For SINGLE post pages if activated at ATO -> Next/Previous Navigation: */
bfa_next_previous_post_links('Top'); ?>

<?php /* Post Container starts here */
if ( function_exists('post_class') ) { ?>
<div <?php if ( is_page() ) { post_class('post'); } else { post_class("$odd_or_even"); } ?> id="post-<?php the_ID(); ?>">
<?php } else { ?>
<div class="<?php echo ( is_page() ? 'page ' : '' ) . $odd_or_even . ' post" id="post-'; the_ID(); ?>">
<?php } ?>

<?php bfa_post_kicker('<div class="post-kicker">','</div>'); ?>

<?php bfa_post_headline('<div class="post-headline">','</div>'); ?>

<?php bfa_post_byline('<div class="post-byline">','</div>'); ?>

<?php bfa_post_bodycopy('<div class="post-bodycopy clearfix">','</div>'); ?>

<?php bfa_post_pagination('<p class="post-pagination"><strong>'.__('Pages:','atahualpa').'</strong>','</p>'); ?>

<?php bfa_post_footer('<div class="post-footer">','</div>'); ?>

</div><!-- / Post -->

any ideas as to why I'm getting this error message?
  #2  
Old Apr 7, 2011, 05:32 AM
juggledad's Avatar
juggledad
 
21,937 posts · Mar 2009
OSX 10.8.5 WP 3.8.x Atahualpa 3.7.x Safari 6.x Firefox 25 XP
probably the Suhosin Issue - see http://forum.bytesforall.com/showthread.php?t=12262
__________________
If you like my help, please consider donating. I am happy to provide greater detail on this and other topics if you hire me. Please send detailed support requests to me as a private message, thank you.
Juggledad | Forum Moderator/Support
  #3  
Old Apr 7, 2011, 01:57 PM
tasha
 
2 posts · Apr 2011
Thank you. I had checked with Dreamhost my hosting provider and the support person I was talking to said that since I was using PHP Version 5.2.15 that suhosin wasn't the problem. I'll go back to them.

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
C.prototype is undefined rfgoetz Atahualpa 3 Wordpress theme 0 Oct 16, 2010 03:45 PM
Variable listing? atrocity Center area post/pages 4 Sep 5, 2010 07:01 PM
[SOLVED] Image to Bottom of Page with Variable Height epsymp Atahualpa 3 Wordpress theme 4 Aug 13, 2010 10:16 AM


All times are GMT -6. The time now is 11:27 AM.


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