Trying to debug the situation. Getting close, but will need a little help!!
Here is the error:
Catchable fatal error: Object of class WP_Error could not be converted to string in /home/website/public_html/wp-content/themes/Alexia/lib/functions/common.php on line 97
And my code from the error:
// no cache files - let's finally resize it
$new_img_path = image_resize( $file_path, $width, $height, $crop );
line 97--> $new_img_size = getimagesize( $new_img_path );
$new_img = str_replace( basename( $image_src[0] ), basename( $new_img_path ), $image_src[0] );
// resized output
$vt_image = array (
'url' => $new_img,
'width' => $new_img_size[0],
'height' => $new_img_size[1]
);
return $vt_image;
}
// default output - without resizing
Thanks in advance NINJAS!!