Support » Fixing WordPress » apply_filters crashes functionality

  • Hey!
    Lately i discovered, that my call to the_content function causes problems, as after that request no other functions are working properly, and inside the_contents calling function apply_filters… causes all that fuss.

    My code is :

    <?php get_header(); ?>
    <div id="content">
    <?php if (have_posts()) : while (have_posts()) : the_post(); ?>
    <h2><?php the_title(); ?></h2>
    <p class="timestamp"><?php the_category(', ') ?><?php edit_post_link('[e]',' | ',''); ?></p>
    <div class="contenttext">
    <?php the_content('<p>Skaityti toliau &raquo;</p>'); ?>
    <?php link_pages('<p><strong>Puslapiai:<strong> ', '</p>', 'skaičius'); ?>
    <p class="postnavleft"><?php previous_post_link('&laquo; %link') ?></p>
    <p class="postnavright">&nbsp;<?php next_post_link('%link &raquo;') ?></p>
    <?php comments_template(); ?>
    <?php endwhile; else: ?>
    <p>Inlägget kunde inte hittas.</p>
    <?php endif; ?>
    <?php get_sidebar(); ?>
    <?php get_footer(); ?>

    And if you take out the_content function out of the code, all later functions works just fine.

    Please help !! How could i fix this problem ?

  • The topic ‘apply_filters crashes functionality’ is closed to new replies.