ErrorException [ Warning ]: getimagesize(https://yahlla.com/data/images/2019/01/19/thumbs/as1lcyj4bazvdb.jpeg): failed to open stream: HTTP request failed! HTTP/1.1 404 Not Found

APPPATH/views/site/news/showArticle.php [ 185 ]

180                         if ($file_headers[0] == 'HTTP/1.0 404 Not Found') {
181                             echo "The file does not exist";
182                         } else if ($file_headers[0] == 'HTTP/1.0 302 Found' && $file_headers[7] == 'HTTP/1.0 404 Not Found') {
183                             echo "The file does not exist, and I got redirected to a custom 404 page..";
184                         } else {
185                             list($widthimg, $heightimg) = getimagesize($Master_Base . $value->img_thumb);
186 
187                             $ratio = $widthimg / $heightimg;
188 
189                             if ($ratio > 1) {
190                                 $need_width = $max_width;
  1. {PHP internal call} » Kohana_Core::error_handler(arguments)