H. Sa Thầy, T. Kon Tum
Tx. Điện Bàn, T. Quảng Nam
Q. Hải Châu, TP. Đà Nẵng
Q. Ngũ Hành Sơn, TP. Đà Nẵng
TP. Hội An, T. Quảng Nam
Q. Liên Chiểu, TP. Đà Nẵng
Đại lộ Hùng Vương, TP. Tuy Hòa, Phú Yên
Tx. Sông Cầu, T. Phú Yên
NotReadableException {#6227 #message: "Image source not readable" #code: 0 #file: "/home/datxanhmt/domains/datxanhnammientrung.nrglobal.asia/public_html/wp-content/themes/DuyAn/vendor/intervention/image/src/Intervention/Image/AbstractDecoder.php" #line: 346 trace: { /home/datxanhmt/domains/datxanhnammientrung.nrglobal.asia/public_html/wp-content/themes/DuyAn/vendor/intervention/image/src/Intervention/Image/AbstractDecoder.php:346 { › default: › throw new NotReadableException("Image source not readable"); › } } /home/datxanhmt/domains/datxanhnammientrung.nrglobal.asia/public_html/wp-content/themes/DuyAn/vendor/intervention/image/src/Intervention/Image/AbstractDriver.php:66 { › { › return $this->decoder->init($data); › } } /home/datxanhmt/domains/datxanhnammientrung.nrglobal.asia/public_html/wp-content/themes/DuyAn/vendor/intervention/image/src/Intervention/Image/ImageManager.php:54 { › { › return $this->createDriver()->init($data); › } } /home/datxanhmt/domains/datxanhnammientrung.nrglobal.asia/public_html/wp-content/themes/DuyAn/vendor/intervention/image/src/Intervention/Image/ImageManagerStatic.php:58 { › { › return self::getManager()->make($data); › } } /home/datxanhmt/domains/datxanhnammientrung.nrglobal.asia/public_html/wp-content/themes/DuyAn/framework/helpers/functions.php:153 { › } › $image = Image::make($srcPath); › if ($maxWidth !== 0 || $maxHeight !== 0) { } /home/datxanhmt/domains/datxanhnammientrung.nrglobal.asia/public_html/wp-content/themes/DuyAn/framework/helpers/functions.php:484 { › if (!file_exists($filepath)) { › \tresizeImage($attachment_realpath, $filepath, $width, $height, $extension); › \t// Bổ sung vào metadata để sau này khi user xóa ảnh thì xóa luôn cả ảnh resize } /home/datxanhmt/domains/datxanhnammientrung.nrglobal.asia/public_html/wp-content/themes/DuyAn/framework/helpers/template_tags.php:52 { › › return getImageUrlById($imageId, $width, $height); › } catch (\Exception $ex) { } /home/datxanhmt/domains/datxanhnammientrung.nrglobal.asia/public_html/wp-content/themes/DuyAn/framework/helpers/template_tags.php:129 { › { › echo getPostThumbnailUrl(get_the_ID(), $width, $height); › } } /home/datxanhmt/domains/datxanhnammientrung.nrglobal.asia/public_html/wp-content/themes/DuyAn/archive-du-an.php:38 { › <div class="c-news wow fade-in-bottom"> › <a class="d-block waves-effect waves-light" href="<?php echo get_permalink()?>"><img class="news__img" src="<?php thePostThumbnailUrl( 470, 330) ?>" alt=""></a> › <h4 class="news__title font-weight-normal m-b-10"><a href="<?php echo get_permalink()?>"><?php echo get_the_title()?></a></h4> } /home/datxanhmt/domains/datxanhnammientrung.nrglobal.asia/public_html/wp-includes/template-loader.php:106 { › if ( $template ) { › \tinclude $template; › } elseif ( current_user_can( 'switch_themes' ) ) { arguments: { "/home/datxanhmt/domains/datxanhnammientrung.nrglobal.asia/public_html/wp-content/themes/DuyAn/archive-du-an.php" } } /home/datxanhmt/domains/datxanhnammientrung.nrglobal.asia/public_html/wp-blog-header.php:19 { › // Load the theme template. › require_once ABSPATH . WPINC . '/template-loader.php'; › arguments: { "/home/datxanhmt/domains/datxanhnammientrung.nrglobal.asia/public_html/wp-includes/template-loader.php" } } /home/datxanhmt/domains/datxanhnammientrung.nrglobal.asia/public_html/index.php:17 { › /** Loads the WordPress Environment and Template */ › require __DIR__ . '/wp-blog-header.php'; › arguments: { "/home/datxanhmt/domains/datxanhnammientrung.nrglobal.asia/public_html/wp-blog-header.php" } } } }
default:
throw new NotReadableException("Image source not readable");
}
{
return $this->decoder->init($data);
return $this->createDriver()->init($data);
return self::getManager()->make($data);
$image = Image::make($srcPath);
if ($maxWidth !== 0 || $maxHeight !== 0) {
if (!file_exists($filepath)) {
\tresizeImage($attachment_realpath, $filepath, $width, $height, $extension);
\t// Bổ sung vào metadata để sau này khi user xóa ảnh thì xóa luôn cả ảnh resize
return getImageUrlById($imageId, $width, $height);
} catch (\Exception $ex) {
echo getPostThumbnailUrl(get_the_ID(), $width, $height);
<div class="c-news wow fade-in-bottom">
<a class="d-block waves-effect waves-light" href="<?php echo get_permalink()?>"><img class="news__img" src="<?php thePostThumbnailUrl( 470, 330) ?>" alt=""></a>
<h4 class="news__title font-weight-normal m-b-10"><a href="<?php echo get_permalink()?>"><?php echo get_the_title()?></a></h4>
if ( $template ) {
\tinclude $template;
} elseif ( current_user_can( 'switch_themes' ) ) {
// Load the theme template.
require_once ABSPATH . WPINC . '/template-loader.php';
/** Loads the WordPress Environment and Template */
require __DIR__ . '/wp-blog-header.php';
TX. An Nhơn, T. Bình Định