Title: Theme Problem with Posts
Last modified: August 21, 2016

---

# Theme Problem with Posts

 *  [rpbecker](https://wordpress.org/support/users/rpbecker/)
 * (@rpbecker)
 * [13 years, 5 months ago](https://wordpress.org/support/topic/theme-problem-with-posts/)
 * I’m using the Reaction theme from Theme Forest and get this error whenever I 
   add a post:
 * Catchable fatal error: Object of class WP_Error could not be converted to string
   in …/wp-content/themes/reaction-2.0/functions/image_resize.php on line 118
 * Posts display properly on the top level page, but linking from that or any other
   link to the post itself results in the above error message.
 * Here is the code in question:
 *  // no cache files – let’s finally resize it
    $new_img_path = image_resize( $
   file_path, $width, $height, $crop ); $new_img_size = getimagesize( $new_img_path);
   $new_img = str_replace( basename( $image_src[0] ), basename( $new_img_path ),
   $image_src[0] );
 * Any ideas how I can fix this?

Viewing 1 replies (of 1 total)

 *  [Michael](https://wordpress.org/support/users/alchymyth/)
 * (@alchymyth)
 * [13 years, 5 months ago](https://wordpress.org/support/topic/theme-problem-with-posts/#post-3744928)
 * please contact the theme’s developer for support.
 * commercial themes are not suported by this forum; [http://codex.wordpress.org/Forum_Welcome#Commercial_Products](http://codex.wordpress.org/Forum_Welcome#Commercial_Products)

Viewing 1 replies (of 1 total)

 The topic ‘Theme Problem with Posts’ is closed to new replies.

## Tags

 * [post](https://wordpress.org/support/topic-tag/post/)

 * 1 reply
 * 2 participants
 * Last reply from: [Michael](https://wordpress.org/support/users/alchymyth/)
 * Last activity: [13 years, 5 months ago](https://wordpress.org/support/topic/theme-problem-with-posts/#post-3744928)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
