![]() |
|
||||||
|
|
Thread Tools | Display Modes |
|
#1
|
|||
|
|||
|
I am using Revolution Magazine for this site: http://www.tokyoreporter.com/
Yesterday I upgraded to WP 2.8. Everything went down immediately. I thought the problem might have been the plugins. So I deactivated all of them. And the site looked somewhat normal. Posts looked about right. For example: http://www.tokyoreporter.com/2009/06/12 ... hitecture/ But the main page http://www.tokyoreporter.com/ cuts off about half through its loading. So I reverted back to 2.7.1. And the result is the same. My error log says: [11-Jun-2009 21:29:48] PHP Fatal error: Call to undefined function the_content_limit() in /var/www/vhosts/tokyoreporter.com/httpdocs/wp-content/themes/revolution_magazine-21/home.php on line 64 My home.php file for the area where it breaks looks like this <div class="thumb"> <h2>JASPO</h2> <?php $recent = new WP_Query("cat=342&showposts=7"); while($recent->have_posts()) : $recent->the_post();?> <div class="thumbleft"> [img]<?php echo get_post_meta($post->ID, [/img]" alt="<?php echo get_post_meta($post->ID, "Theme Name", true); ?> thumbnail" /> </div> <div class="thumbright"> <?php the_title(); ?> <?php the_content_limit(140, ""); ?> </div> <div style="clear:both;"></div> <?php endwhile; ?> </div> Is there anything I should change? Everything was working fine before I switched to 2.8. Now that I am back to 2.7.1 I am very confused as to why I am getting this error. Thank you very much for any help. |
| Thread Tools | |
| Display Modes | |
|
|
© Copyright 2012 Copyblogger Media LLC · StudioPress™ is a trademark of Copyblogger Media LLC
Privacy Policy | Refund Policy | Terms of Service | Affiliate Program | Contact Us