Title: Catchable fatal error
Last modified: August 19, 2016

---

# Catchable fatal error

 *  Resolved [insaneflame](https://wordpress.org/support/users/insaneflame/)
 * (@insaneflame)
 * [16 years, 4 months ago](https://wordpress.org/support/topic/catchable-fatal-error-4/)
 * He i got this error:
 * `Catchable fatal error: Object of class WP_Error could not be converted to string
   in /home/ruben/domains/insaneflame.nl/public_html/wp-content/themes/bizexpress/
   archive.php on line 6`
 * and i don’t know how to fix it.
    can someone help me?
 * Greets
    InsaneFlame

Viewing 10 replies - 1 through 10 (of 10 total)

 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [16 years, 4 months ago](https://wordpress.org/support/topic/catchable-fatal-error-4/#post-1352009)
 * All I can say is that the issue is within the archive.php file in your current
   theme’s folder.
 *  [s_ha_dum](https://wordpress.org/support/users/apljdi/)
 * (@apljdi)
 * [16 years, 4 months ago](https://wordpress.org/support/topic/catchable-fatal-error-4/#post-1352017)
 * 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.
 *  Thread Starter [insaneflame](https://wordpress.org/support/users/insaneflame/)
 * (@insaneflame)
 * [16 years, 4 months ago](https://wordpress.org/support/topic/catchable-fatal-error-4/#post-1352022)
 *     ```
       <?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
 *  [s_ha_dum](https://wordpress.org/support/users/apljdi/)
 * (@apljdi)
 * [16 years, 4 months ago](https://wordpress.org/support/topic/catchable-fatal-error-4/#post-1352034)
 * 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.
 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [16 years, 4 months ago](https://wordpress.org/support/topic/catchable-fatal-error-4/#post-1352036)
 * 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">
       ```
   
 *  Thread Starter [insaneflame](https://wordpress.org/support/users/insaneflame/)
 * (@insaneflame)
 * [16 years, 4 months ago](https://wordpress.org/support/topic/catchable-fatal-error-4/#post-1352066)
 * Oke its solved thanks to esmi.
 * thanks all for comment.
 *  [marc83](https://wordpress.org/support/users/marc83/)
 * (@marc83)
 * [15 years, 11 months ago](https://wordpress.org/support/topic/catchable-fatal-error-4/#post-1352515)
 * how about
 * </span></h2>
 * whats wrong with it?
 * help?
 *  [marc83](https://wordpress.org/support/users/marc83/)
 * (@marc83)
 * [15 years, 11 months ago](https://wordpress.org/support/topic/catchable-fatal-error-4/#post-1352516)
 * </span></h2>
 *  [marc83](https://wordpress.org/support/users/marc83/)
 * (@marc83)
 * [15 years, 11 months ago](https://wordpress.org/support/topic/catchable-fatal-error-4/#post-1352517)
 * `<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
 *  [marc83](https://wordpress.org/support/users/marc83/)
 * (@marc83)
 * [15 years, 11 months ago](https://wordpress.org/support/topic/catchable-fatal-error-4/#post-1352518)
 * 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`

Viewing 10 replies - 1 through 10 (of 10 total)

The topic ‘Catchable fatal error’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 10 replies
 * 4 participants
 * Last reply from: [marc83](https://wordpress.org/support/users/marc83/)
 * Last activity: [15 years, 11 months ago](https://wordpress.org/support/topic/catchable-fatal-error-4/#post-1352518)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
