StudioPress Community Forums
  StudioPress Community Forums > Forums > General Discussion
For help and support, access to your downloads, or to manage your account please log into My StudioPress.

These forums have been set to read-only so you can browse the existing topics for any questions you may have -- and this forum will be removed on July 1st, 2013.

For general discussion on WordPress, CSS and design (NOT for support) visit the new Community Forums.
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 06-11-2009, 11:39 PM
tokyoreporter tokyoreporter is offline
Registered User
 
Join Date: Mar 2009
Posts: 8
Default WP 2.8

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

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -5. The time now is 04:04 PM.

Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.