All I can say is that the issue is within the archive.php file in your current theme’s folder.
Something went wrong, the software created a WP_Error Object to handle the problem, but then still tries to use the error object as if it were a string. I’d have to see the code to tell you what to do to fix it. Post the first 10 lines archive.php.
<?php get_header(); ?>
<div class="clear"></div>
<? if ( is_category() ){ ?>
<div class="subheader">
<h1><?php echo category_description($category); ?></h1>
</div>
<? } ?>
<div class="breadcrumbs">
This is it
Put print_r() around category_description() instead of echo. Replace this echo category_description($category); with this print_r(category_description($category));. This won’t exactly fix the problem. If that is where the error is the error will go away but you’ll get long string of error message instead.
Try:
<?php get_header(); ?>
<div class="clear"></div>
<? if ( is_category() ) {
$cat_id = get_query_var('cat');?>
<div class="subheader">
<h1><?php echo category_description($cat_id); ?></h1>
</div>
<? } ?>
<div class="breadcrumbs">
Oke its solved thanks to esmi.
thanks all for comment.
how about
<h2><span>“><?php echo get_option(‘portal_mid1’) ;?></span></h2>
whats wrong with it?
help?
<h2><span><a href="<?php echo get_category_link(get_cat_ID(get_option('portal_mid1'))); ?>"><?php echo get_option('portal_mid1') ;?></a></span></h2>
damn its not showing up
when I install it it says: `Warning: fopen(/home/marc83/public_html/cheapimpulse.com/wp-content/themes/tiny-news-single/style.css) [function.fopen]: failed to open stream: No such file or directory in /home/marc83/public_html/cheapimpulse.com/wp-includes/functions.php on line 4165
Warning: fread(): supplied argument is not a valid stream resource in /home/marc83/public_html/cheapimpulse.com/wp-includes/functions.php on line 4168
Warning: fclose(): supplied argument is not a valid stream resource in /home/marc83/public_html/cheapimpulse.com/wp-includes/functions.php on line 4171`