Support » Fixing WordPress » Catchable Fatal Error –> Specific to special boxes offered in theme

  • Resolved marvelinthesky

    (@marvelinthesky)


    I am using the ReciPress theme… had it all mod’d out but then I went to change one of the special graphics it allows you to customize in Theme Options (notice the three graphics boxes on the top in the demo http://wordpress.org/extend/themes/recipress) and it gave me a “Catchable Fatal Error”

    Catchable fatal error: Object of class WP_Error could not be converted to string in …/wp-content/themes/recipress/home_content.php on line 11

    So I go into “home_content.php” to see what is on line 11 (I do not know php btw) and this it what is has starting from line 1:

    <div class=”cat_blocks”>

    <?php if(get_option(‘wpt_cat1_name’) != “”) { ?>
    <div class=”catblock”>
    <div class=”block_top”>
    <div class=”cat_img”>
    <?php if(get_option(‘wpt_cat1_image’) != ”) {
    $image = get_option(‘wpt_cat1_image’);
    } else {
    $image = get_bloginfo(‘stylesheet_directory’).”/images/default_image.jpg”;
    } ?>“><img src=”<?php echo $image; ?>” alt=”” /></div>
    <div class=”cat_name”>“><?php echo get_option(‘wpt_cat1_name’) ?></div>
    <div class=”cat_more”>“>More <img src=”<?php bloginfo(‘stylesheet_directory’); ?>/images/cat_more.jpg” alt=”” /></div>
    <div style=”clear:both;”></div>
    </div>
    <div class=”cat_desc” id=”block1″><?php echo get_option(‘wpt_cat1_desc’) ?></div>
    </div>

    What do I do! I have looked at the WP forum and found others with this error… but someone always seems to offer what the php should be for that specific instance/error… Help me too please!

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Catchable Fatal Error –> Specific to special boxes offered in theme’ is closed to new replies.