file_get_contents error 500
-
Hi,
You’ve got 2 errors (500) with this plugin on:
– admin/meta-data/recipe-ratings.php (line 48)
echo file_get_contents( BLOSSOM_RECIPE_MAKER_URL . '/public/images/star-empty.svg' );
– includes/class-blossom-recipe-hook-functions.php (lines 57 & 64)
echo file_get_contents( BLOSSOM_RECIPE_MAKER_URL . '/public/images/star-full.svg' );
echo file_get_contents( BLOSSOM_RECIPE_MAKER_URL . '/public/images/star-empty.svg' );
Error:
file_get_contents(): SSL operation failed with code 1You can simply avoid that by replacing from ob_start() to ob_end_clean() by this kind of line:
$star_icon = '<img src="'.BLOSSOM_RECIPE_MAKER_URL.'/public/images/star-empty.svg" alt=""/>';
I’ve made this modification online in my own installation. Hope you’ll make available in the next update ??
Regards,
- The topic ‘file_get_contents error 500’ is closed to new replies.