if ($resource === false) {
› throw new NotReadableException(
› "Unable to init from given binary data."
}
{
› case $this->isBase64():
› return $this->initFromBinary(base64_decode($this->data));
›
}
{
› {
› return $this->decoder->init($data);
› }
}
{
› {
› return $this->createDriver()->init($data);
› }
}
{
› {
› return self::getManager()->make($data);
› }
}
{
› }\r
› $image = Image::make($srcPath);\r
› $image->fit($maxWidth, $maxHeight, static function ($constraint) {\r
}
{
› if (!file_exists($filepath)) {\r
› resizeImage($attachment_realpath, $filepath, $width, $height, $extension);\r
› // Bổ sung vào metadata để sau này khi user xóa ảnh thì xóa luôn cả ảnh resize\r
}
{
› {\r
› $defaultImage = getImageUrlById(getOption('hinh_anh_mac_dinh'), $width, $height);\r
› try {\r
}
{
› {\r
› echo getPostThumbnailUrl(get_the_ID(), $width, $height);\r
› }\r
}
{
› <a class="blog-item__more" href="<?=the_permalink()?>">\r
› \t<img class="" src="<?php thePostThumbnailUrl(400, 300) ?>">\r
› </a>\r
}
{
› } else {
› \trequire $_template_file;
› }
: {
"/home/vietnhat/domains/govietnhat.nrglobal.top/public_html/wp-content/themes/nrglobal/templates/template-product-listing.php"
}
}
{
› if ( $load && '' !== $located ) {
› \tload_template( $located, $require_once, $args );
› }
}
{
›
› if ( ! locate_template( $templates, true, false, $args ) ) {
› \treturn false;
}
{
› {\r
› get_template_part('templates/' . $name);\r
› }\r
}
{
› \t<!-- Product item template -->\r
› \t<?php template("template-product-listing"); ?>\r
› </div>\r
}
{
› if ( $template ) {
› \tinclude $template;
› } elseif ( current_user_can( 'switch_themes' ) ) {
: {
"/home/vietnhat/domains/govietnhat.nrglobal.top/public_html/wp-content/themes/nrglobal/archive-product.php"
}
}
{
› // Load the theme template.
› require_once ABSPATH . WPINC . '/template-loader.php';
›
: {
"/home/vietnhat/domains/govietnhat.nrglobal.top/public_html/wp-includes/template-loader.php"
}
}
{
› /** Loads the WordPress Environment and Template */
› require __DIR__ . '/wp-blog-header.php';
›
: {
"/home/vietnhat/domains/govietnhat.nrglobal.top/public_html/wp-blog-header.php"
}
}
}
}
NotReadableException {#10914 #message: "Image source not readable" #code: 0 #file: "/home/vietnhat/domains/govietnhat.nrglobal.top/public_html/wp-content/themes/nrglobal/vendor/intervention/image/src/Intervention/Image/AbstractDecoder.php" #line: 346 : { { ›http://govietnhat.nrglobal.top/wp-content/uploads/z2872505019039f9e00df09b76acb45fd5b80e0a591e78-400x300.webp">default:
›throw new NotReadableException("Image source not readable");
›}
} { ›{
›return $this->decoder->init($data);
›}
} { ›{
›return $this->createDriver()->init($data);
›}
} { ›{
›return self::getManager()->make($data);
›}
} { ›}\r
›$image = Image::make($srcPath);\r
›$image->fit($maxWidth, $maxHeight, static function ($constraint) {\r
} { ›if (!file_exists($filepath)) {\r
›resizeImage($attachment_realpath, $filepath, $width, $height, $extension);\r
›// Bổ sung vào metadata để sau này khi user xóa ảnh thì xóa luôn cả ảnh resize\r
} { ›\r
›return getImageUrlById($imageId, $width, $height);\r
›} catch (\Exception $ex) {\r
} { ›{\r
›echo getPostThumbnailUrl(get_the_ID(), $width, $height);\r
›}\r
} { ›<a class="blog-item__more" href="<?=the_permalink()?>">\r
›\t<img class="" src="<?php thePostThumbnailUrl(400, 300) ?>">\r
›</a>\r
} { ›} else {
›\trequire $_template_file;
›}
: { "/home/vietnhat/domains/govietnhat.nrglobal.top/public_html/wp-content/themes/nrglobal/templates/template-product-listing.php" } } { ›if ( $load && '' !== $located ) {
›\tload_template( $located, $require_once, $args );
›}
} { › ›if ( ! locate_template( $templates, true, false, $args ) ) {
›\treturn false;
} { ›{\r
›get_template_part('templates/' . $name);\r
›}\r
} { ›\t<!-- Product item template -->\r
›\t<?php template("template-product-listing"); ?>\r
›</div>\r
} { ›if ( $template ) {
›\tinclude $template;
›} elseif ( current_user_can( 'switch_themes' ) ) {
: { "/home/vietnhat/domains/govietnhat.nrglobal.top/public_html/wp-content/themes/nrglobal/archive-product.php" } } { ›// Load the theme template.
›require_once ABSPATH . WPINC . '/template-loader.php';
› : { "/home/vietnhat/domains/govietnhat.nrglobal.top/public_html/wp-includes/template-loader.php" } } { ›/** Loads the WordPress Environment and Template */
›require __DIR__ . '/wp-blog-header.php';
› : { "/home/vietnhat/domains/govietnhat.nrglobal.top/public_html/wp-blog-header.php" } } } }
if ($resource === false) {
› throw new NotReadableException(
› "Unable to init from given binary data."
}
{
› case $this->isBase64():
› return $this->initFromBinary(base64_decode($this->data));
›
}
{
› {
› return $this->decoder->init($data);
› }
}
{
› {
› return $this->createDriver()->init($data);
› }
}
{
› {
› return self::getManager()->make($data);
› }
}
{
› }\r
› $image = Image::make($srcPath);\r
› $image->fit($maxWidth, $maxHeight, static function ($constraint) {\r
}
{
› if (!file_exists($filepath)) {\r
› resizeImage($attachment_realpath, $filepath, $width, $height, $extension);\r
› // Bổ sung vào metadata để sau này khi user xóa ảnh thì xóa luôn cả ảnh resize\r
}
{
› {\r
› $defaultImage = getImageUrlById(getOption('hinh_anh_mac_dinh'), $width, $height);\r
› try {\r
}
{
› {\r
› echo getPostThumbnailUrl(get_the_ID(), $width, $height);\r
› }\r
}
{
› <a class="blog-item__more" href="<?=the_permalink()?>">\r
› \t<img class="" src="<?php thePostThumbnailUrl(400, 300) ?>">\r
› </a>\r
}
{
› } else {
› \trequire $_template_file;
› }
: {
"/home/vietnhat/domains/govietnhat.nrglobal.top/public_html/wp-content/themes/nrglobal/templates/template-product-listing.php"
}
}
{
› if ( $load && '' !== $located ) {
› \tload_template( $located, $require_once, $args );
› }
}
{
›
› if ( ! locate_template( $templates, true, false, $args ) ) {
› \treturn false;
}
{
› {\r
› get_template_part('templates/' . $name);\r
› }\r
}
{
› \t<!-- Product item template -->\r
› \t<?php template("template-product-listing"); ?>\r
› </div>\r
}
{
› if ( $template ) {
› \tinclude $template;
› } elseif ( current_user_can( 'switch_themes' ) ) {
: {
"/home/vietnhat/domains/govietnhat.nrglobal.top/public_html/wp-content/themes/nrglobal/archive-product.php"
}
}
{
› // Load the theme template.
› require_once ABSPATH . WPINC . '/template-loader.php';
›
: {
"/home/vietnhat/domains/govietnhat.nrglobal.top/public_html/wp-includes/template-loader.php"
}
}
{
› /** Loads the WordPress Environment and Template */
› require __DIR__ . '/wp-blog-header.php';
›
: {
"/home/vietnhat/domains/govietnhat.nrglobal.top/public_html/wp-blog-header.php"
}
}
}
}
NotReadableException {#10948 #message: "Image source not readable" #code: 0 #file: "/home/vietnhat/domains/govietnhat.nrglobal.top/public_html/wp-content/themes/nrglobal/vendor/intervention/image/src/Intervention/Image/AbstractDecoder.php" #line: 346 : { { ›http://govietnhat.nrglobal.top/wp-content/uploads/z28725242673678435d2a282c7fb8e5725a44fbb0976f5-400x300.webp">default:
›throw new NotReadableException("Image source not readable");
›}
} { ›{
›return $this->decoder->init($data);
›}
} { ›{
›return $this->createDriver()->init($data);
›}
} { ›{
›return self::getManager()->make($data);
›}
} { ›}\r
›$image = Image::make($srcPath);\r
›$image->fit($maxWidth, $maxHeight, static function ($constraint) {\r
} { ›if (!file_exists($filepath)) {\r
›resizeImage($attachment_realpath, $filepath, $width, $height, $extension);\r
›// Bổ sung vào metadata để sau này khi user xóa ảnh thì xóa luôn cả ảnh resize\r
} { ›\r
›return getImageUrlById($imageId, $width, $height);\r
›} catch (\Exception $ex) {\r
} { ›{\r
›echo getPostThumbnailUrl(get_the_ID(), $width, $height);\r
›}\r
} { ›<a class="blog-item__more" href="<?=the_permalink()?>">\r
›\t<img class="" src="<?php thePostThumbnailUrl(400, 300) ?>">\r
›</a>\r
} { ›} else {
›\trequire $_template_file;
›}
: { "/home/vietnhat/domains/govietnhat.nrglobal.top/public_html/wp-content/themes/nrglobal/templates/template-product-listing.php" } } { ›if ( $load && '' !== $located ) {
›\tload_template( $located, $require_once, $args );
›}
} { › ›if ( ! locate_template( $templates, true, false, $args ) ) {
›\treturn false;
} { ›{\r
›get_template_part('templates/' . $name);\r
›}\r
} { ›\t<!-- Product item template -->\r
›\t<?php template("template-product-listing"); ?>\r
›</div>\r
} { ›if ( $template ) {
›\tinclude $template;
›} elseif ( current_user_can( 'switch_themes' ) ) {
: { "/home/vietnhat/domains/govietnhat.nrglobal.top/public_html/wp-content/themes/nrglobal/archive-product.php" } } { ›// Load the theme template.
›require_once ABSPATH . WPINC . '/template-loader.php';
› : { "/home/vietnhat/domains/govietnhat.nrglobal.top/public_html/wp-includes/template-loader.php" } } { ›/** Loads the WordPress Environment and Template */
›require __DIR__ . '/wp-blog-header.php';
› : { "/home/vietnhat/domains/govietnhat.nrglobal.top/public_html/wp-blog-header.php" } } } }
if ($resource === false) {
› throw new NotReadableException(
› "Unable to init from given binary data."
}
{
› case $this->isBase64():
› return $this->initFromBinary(base64_decode($this->data));
›
}
{
› {
› return $this->decoder->init($data);
› }
}
{
› {
› return $this->createDriver()->init($data);
› }
}
{
› {
› return self::getManager()->make($data);
› }
}
{
› }\r
› $image = Image::make($srcPath);\r
› $image->fit($maxWidth, $maxHeight, static function ($constraint) {\r
}
{
› if (!file_exists($filepath)) {\r
› resizeImage($attachment_realpath, $filepath, $width, $height, $extension);\r
› // Bổ sung vào metadata để sau này khi user xóa ảnh thì xóa luôn cả ảnh resize\r
}
{
› {\r
› $defaultImage = getImageUrlById(getOption('hinh_anh_mac_dinh'), $width, $height);\r
› try {\r
}
{
› {\r
› echo getPostThumbnailUrl(get_the_ID(), $width, $height);\r
› }\r
}
{
› <a class="blog-item__more" href="<?=the_permalink()?>">\r
› \t<img class="" src="<?php thePostThumbnailUrl(400, 300) ?>">\r
› </a>\r
}
{
› } else {
› \trequire $_template_file;
› }
: {
"/home/vietnhat/domains/govietnhat.nrglobal.top/public_html/wp-content/themes/nrglobal/templates/template-product-listing.php"
}
}
{
› if ( $load && '' !== $located ) {
› \tload_template( $located, $require_once, $args );
› }
}
{
›
› if ( ! locate_template( $templates, true, false, $args ) ) {
› \treturn false;
}
{
› {\r
› get_template_part('templates/' . $name);\r
› }\r
}
{
› \t<!-- Product item template -->\r
› \t<?php template("template-product-listing"); ?>\r
› </div>\r
}
{
› if ( $template ) {
› \tinclude $template;
› } elseif ( current_user_can( 'switch_themes' ) ) {
: {
"/home/vietnhat/domains/govietnhat.nrglobal.top/public_html/wp-content/themes/nrglobal/archive-product.php"
}
}
{
› // Load the theme template.
› require_once ABSPATH . WPINC . '/template-loader.php';
›
: {
"/home/vietnhat/domains/govietnhat.nrglobal.top/public_html/wp-includes/template-loader.php"
}
}
{
› /** Loads the WordPress Environment and Template */
› require __DIR__ . '/wp-blog-header.php';
›
: {
"/home/vietnhat/domains/govietnhat.nrglobal.top/public_html/wp-blog-header.php"
}
}
}
}
NotReadableException {#10922 #message: "Image source not readable" #code: 0 #file: "/home/vietnhat/domains/govietnhat.nrglobal.top/public_html/wp-content/themes/nrglobal/vendor/intervention/image/src/Intervention/Image/AbstractDecoder.php" #line: 346 : { { ›http://govietnhat.nrglobal.top/wp-content/uploads/z287252425934226cd97ea16976613e727bee36789841e-400x300.webp">default:
›throw new NotReadableException("Image source not readable");
›}
} { ›{
›return $this->decoder->init($data);
›}
} { ›{
›return $this->createDriver()->init($data);
›}
} { ›{
›return self::getManager()->make($data);
›}
} { ›}\r
›$image = Image::make($srcPath);\r
›$image->fit($maxWidth, $maxHeight, static function ($constraint) {\r
} { ›if (!file_exists($filepath)) {\r
›resizeImage($attachment_realpath, $filepath, $width, $height, $extension);\r
›// Bổ sung vào metadata để sau này khi user xóa ảnh thì xóa luôn cả ảnh resize\r
} { ›\r
›return getImageUrlById($imageId, $width, $height);\r
›} catch (\Exception $ex) {\r
} { ›{\r
›echo getPostThumbnailUrl(get_the_ID(), $width, $height);\r
›}\r
} { ›<a class="blog-item__more" href="<?=the_permalink()?>">\r
›\t<img class="" src="<?php thePostThumbnailUrl(400, 300) ?>">\r
›</a>\r
} { ›} else {
›\trequire $_template_file;
›}
: { "/home/vietnhat/domains/govietnhat.nrglobal.top/public_html/wp-content/themes/nrglobal/templates/template-product-listing.php" } } { ›if ( $load && '' !== $located ) {
›\tload_template( $located, $require_once, $args );
›}
} { › ›if ( ! locate_template( $templates, true, false, $args ) ) {
›\treturn false;
} { ›{\r
›get_template_part('templates/' . $name);\r
›}\r
} { ›\t<!-- Product item template -->\r
›\t<?php template("template-product-listing"); ?>\r
›</div>\r
} { ›if ( $template ) {
›\tinclude $template;
›} elseif ( current_user_can( 'switch_themes' ) ) {
: { "/home/vietnhat/domains/govietnhat.nrglobal.top/public_html/wp-content/themes/nrglobal/archive-product.php" } } { ›// Load the theme template.
›require_once ABSPATH . WPINC . '/template-loader.php';
› : { "/home/vietnhat/domains/govietnhat.nrglobal.top/public_html/wp-includes/template-loader.php" } } { ›/** Loads the WordPress Environment and Template */
›require __DIR__ . '/wp-blog-header.php';
› : { "/home/vietnhat/domains/govietnhat.nrglobal.top/public_html/wp-blog-header.php" } } } }
if ($resource === false) {
› throw new NotReadableException(
› "Unable to init from given binary data."
}
{
› case $this->isBase64():
› return $this->initFromBinary(base64_decode($this->data));
›
}
{
› {
› return $this->decoder->init($data);
› }
}
{
› {
› return $this->createDriver()->init($data);
› }
}
{
› {
› return self::getManager()->make($data);
› }
}
{
› }\r
› $image = Image::make($srcPath);\r
› $image->fit($maxWidth, $maxHeight, static function ($constraint) {\r
}
{
› if (!file_exists($filepath)) {\r
› resizeImage($attachment_realpath, $filepath, $width, $height, $extension);\r
› // Bổ sung vào metadata để sau này khi user xóa ảnh thì xóa luôn cả ảnh resize\r
}
{
› {\r
› $defaultImage = getImageUrlById(getOption('hinh_anh_mac_dinh'), $width, $height);\r
› try {\r
}
{
› {\r
› echo getPostThumbnailUrl(get_the_ID(), $width, $height);\r
› }\r
}
{
› <a class="blog-item__more" href="<?=the_permalink()?>">\r
› \t<img class="" src="<?php thePostThumbnailUrl(400, 300) ?>">\r
› </a>\r
}
{
› } else {
› \trequire $_template_file;
› }
: {
"/home/vietnhat/domains/govietnhat.nrglobal.top/public_html/wp-content/themes/nrglobal/templates/template-product-listing.php"
}
}
{
› if ( $load && '' !== $located ) {
› \tload_template( $located, $require_once, $args );
› }
}
{
›
› if ( ! locate_template( $templates, true, false, $args ) ) {
› \treturn false;
}
{
› {\r
› get_template_part('templates/' . $name);\r
› }\r
}
{
› \t<!-- Product item template -->\r
› \t<?php template("template-product-listing"); ?>\r
› </div>\r
}
{
› if ( $template ) {
› \tinclude $template;
› } elseif ( current_user_can( 'switch_themes' ) ) {
: {
"/home/vietnhat/domains/govietnhat.nrglobal.top/public_html/wp-content/themes/nrglobal/archive-product.php"
}
}
{
› // Load the theme template.
› require_once ABSPATH . WPINC . '/template-loader.php';
›
: {
"/home/vietnhat/domains/govietnhat.nrglobal.top/public_html/wp-includes/template-loader.php"
}
}
{
› /** Loads the WordPress Environment and Template */
› require __DIR__ . '/wp-blog-header.php';
›
: {
"/home/vietnhat/domains/govietnhat.nrglobal.top/public_html/wp-blog-header.php"
}
}
}
}
NotReadableException {#10916 #message: "Image source not readable" #code: 0 #file: "/home/vietnhat/domains/govietnhat.nrglobal.top/public_html/wp-content/themes/nrglobal/vendor/intervention/image/src/Intervention/Image/AbstractDecoder.php" #line: 346 : { { ›http://govietnhat.nrglobal.top/wp-content/uploads/unnamed-1-400x300.webp">default:
›throw new NotReadableException("Image source not readable");
›}
} { ›{
›return $this->decoder->init($data);
›}
} { ›{
›return $this->createDriver()->init($data);
›}
} { ›{
›return self::getManager()->make($data);
›}
} { ›}\r
›$image = Image::make($srcPath);\r
›$image->fit($maxWidth, $maxHeight, static function ($constraint) {\r
} { ›if (!file_exists($filepath)) {\r
›resizeImage($attachment_realpath, $filepath, $width, $height, $extension);\r
›// Bổ sung vào metadata để sau này khi user xóa ảnh thì xóa luôn cả ảnh resize\r
} { ›\r
›return getImageUrlById($imageId, $width, $height);\r
›} catch (\Exception $ex) {\r
} { ›{\r
›echo getPostThumbnailUrl(get_the_ID(), $width, $height);\r
›}\r
} { ›<a class="blog-item__more" href="<?=the_permalink()?>">\r
›\t<img class="" src="<?php thePostThumbnailUrl(400, 300) ?>">\r
›</a>\r
} { ›} else {
›\trequire $_template_file;
›}
: { "/home/vietnhat/domains/govietnhat.nrglobal.top/public_html/wp-content/themes/nrglobal/templates/template-product-listing.php" } } { ›if ( $load && '' !== $located ) {
›\tload_template( $located, $require_once, $args );
›}
} { › ›if ( ! locate_template( $templates, true, false, $args ) ) {
›\treturn false;
} { ›{\r
›get_template_part('templates/' . $name);\r
›}\r
} { ›\t<!-- Product item template -->\r
›\t<?php template("template-product-listing"); ?>\r
›</div>\r
} { ›if ( $template ) {
›\tinclude $template;
›} elseif ( current_user_can( 'switch_themes' ) ) {
: { "/home/vietnhat/domains/govietnhat.nrglobal.top/public_html/wp-content/themes/nrglobal/archive-product.php" } } { ›// Load the theme template.
›require_once ABSPATH . WPINC . '/template-loader.php';
› : { "/home/vietnhat/domains/govietnhat.nrglobal.top/public_html/wp-includes/template-loader.php" } } { ›/** Loads the WordPress Environment and Template */
›require __DIR__ . '/wp-blog-header.php';
› : { "/home/vietnhat/domains/govietnhat.nrglobal.top/public_html/wp-blog-header.php" } } } }
if ($resource === false) {
› throw new NotReadableException(
› "Unable to init from given binary data."
}
{
› case $this->isBase64():
› return $this->initFromBinary(base64_decode($this->data));
›
}
{
› {
› return $this->decoder->init($data);
› }
}
{
› {
› return $this->createDriver()->init($data);
› }
}
{
› {
› return self::getManager()->make($data);
› }
}
{
› }\r
› $image = Image::make($srcPath);\r
› $image->fit($maxWidth, $maxHeight, static function ($constraint) {\r
}
{
› if (!file_exists($filepath)) {\r
› resizeImage($attachment_realpath, $filepath, $width, $height, $extension);\r
› // Bổ sung vào metadata để sau này khi user xóa ảnh thì xóa luôn cả ảnh resize\r
}
{
› {\r
› $defaultImage = getImageUrlById(getOption('hinh_anh_mac_dinh'), $width, $height);\r
› try {\r
}
{
› {\r
› echo getPostThumbnailUrl(get_the_ID(), $width, $height);\r
› }\r
}
{
› <a class="blog-item__more" href="<?=the_permalink()?>">\r
› \t<img class="" src="<?php thePostThumbnailUrl(400, 300) ?>">\r
› </a>\r
}
{
› } else {
› \trequire $_template_file;
› }
: {
"/home/vietnhat/domains/govietnhat.nrglobal.top/public_html/wp-content/themes/nrglobal/templates/template-product-listing.php"
}
}
{
› if ( $load && '' !== $located ) {
› \tload_template( $located, $require_once, $args );
› }
}
{
›
› if ( ! locate_template( $templates, true, false, $args ) ) {
› \treturn false;
}
{
› {\r
› get_template_part('templates/' . $name);\r
› }\r
}
{
› \t<!-- Product item template -->\r
› \t<?php template("template-product-listing"); ?>\r
› </div>\r
}
{
› if ( $template ) {
› \tinclude $template;
› } elseif ( current_user_can( 'switch_themes' ) ) {
: {
"/home/vietnhat/domains/govietnhat.nrglobal.top/public_html/wp-content/themes/nrglobal/archive-product.php"
}
}
{
› // Load the theme template.
› require_once ABSPATH . WPINC . '/template-loader.php';
›
: {
"/home/vietnhat/domains/govietnhat.nrglobal.top/public_html/wp-includes/template-loader.php"
}
}
{
› /** Loads the WordPress Environment and Template */
› require __DIR__ . '/wp-blog-header.php';
›
: {
"/home/vietnhat/domains/govietnhat.nrglobal.top/public_html/wp-blog-header.php"
}
}
}
}
NotReadableException {#10951 #message: "Image source not readable" #code: 0 #file: "/home/vietnhat/domains/govietnhat.nrglobal.top/public_html/wp-content/themes/nrglobal/vendor/intervention/image/src/Intervention/Image/AbstractDecoder.php" #line: 346 : { { ›http://govietnhat.nrglobal.top/wp-content/uploads/noi-that-truong-hoc-2-400x300.webp">default:
›throw new NotReadableException("Image source not readable");
›}
} { ›{
›return $this->decoder->init($data);
›}
} { ›{
›return $this->createDriver()->init($data);
›}
} { ›{
›return self::getManager()->make($data);
›}
} { ›}\r
›$image = Image::make($srcPath);\r
›$image->fit($maxWidth, $maxHeight, static function ($constraint) {\r
} { ›if (!file_exists($filepath)) {\r
›resizeImage($attachment_realpath, $filepath, $width, $height, $extension);\r
›// Bổ sung vào metadata để sau này khi user xóa ảnh thì xóa luôn cả ảnh resize\r
} { ›\r
›return getImageUrlById($imageId, $width, $height);\r
›} catch (\Exception $ex) {\r
} { ›{\r
›echo getPostThumbnailUrl(get_the_ID(), $width, $height);\r
›}\r
} { ›<a class="blog-item__more" href="<?=the_permalink()?>">\r
›\t<img class="" src="<?php thePostThumbnailUrl(400, 300) ?>">\r
›</a>\r
} { ›} else {
›\trequire $_template_file;
›}
: { "/home/vietnhat/domains/govietnhat.nrglobal.top/public_html/wp-content/themes/nrglobal/templates/template-product-listing.php" } } { ›if ( $load && '' !== $located ) {
›\tload_template( $located, $require_once, $args );
›}
} { › ›if ( ! locate_template( $templates, true, false, $args ) ) {
›\treturn false;
} { ›{\r
›get_template_part('templates/' . $name);\r
›}\r
} { ›\t<!-- Product item template -->\r
›\t<?php template("template-product-listing"); ?>\r
›</div>\r
} { ›if ( $template ) {
›\tinclude $template;
›} elseif ( current_user_can( 'switch_themes' ) ) {
: { "/home/vietnhat/domains/govietnhat.nrglobal.top/public_html/wp-content/themes/nrglobal/archive-product.php" } } { ›// Load the theme template.
›require_once ABSPATH . WPINC . '/template-loader.php';
› : { "/home/vietnhat/domains/govietnhat.nrglobal.top/public_html/wp-includes/template-loader.php" } } { ›/** Loads the WordPress Environment and Template */
›require __DIR__ . '/wp-blog-header.php';
› : { "/home/vietnhat/domains/govietnhat.nrglobal.top/public_html/wp-blog-header.php" } } } }
if ($resource === false) {
› throw new NotReadableException(
› "Unable to init from given binary data."
}
{
› case $this->isBase64():
› return $this->initFromBinary(base64_decode($this->data));
›
}
{
› {
› return $this->decoder->init($data);
› }
}
{
› {
› return $this->createDriver()->init($data);
› }
}
{
› {
› return self::getManager()->make($data);
› }
}
{
› }\r
› $image = Image::make($srcPath);\r
› $image->fit($maxWidth, $maxHeight, static function ($constraint) {\r
}
{
› if (!file_exists($filepath)) {\r
› resizeImage($attachment_realpath, $filepath, $width, $height, $extension);\r
› // Bổ sung vào metadata để sau này khi user xóa ảnh thì xóa luôn cả ảnh resize\r
}
{
› {\r
› $defaultImage = getImageUrlById(getOption('hinh_anh_mac_dinh'), $width, $height);\r
› try {\r
}
{
› {\r
› echo getPostThumbnailUrl(get_the_ID(), $width, $height);\r
› }\r
}
{
› <a class="blog-item__more" href="<?=the_permalink()?>">\r
› \t<img class="" src="<?php thePostThumbnailUrl(400, 300) ?>">\r
› </a>\r
}
{
› } else {
› \trequire $_template_file;
› }
: {
"/home/vietnhat/domains/govietnhat.nrglobal.top/public_html/wp-content/themes/nrglobal/templates/template-product-listing.php"
}
}
{
› if ( $load && '' !== $located ) {
› \tload_template( $located, $require_once, $args );
› }
}
{
›
› if ( ! locate_template( $templates, true, false, $args ) ) {
› \treturn false;
}
{
› {\r
› get_template_part('templates/' . $name);\r
› }\r
}
{
› \t<!-- Product item template -->\r
› \t<?php template("template-product-listing"); ?>\r
› </div>\r
}
{
› if ( $template ) {
› \tinclude $template;
› } elseif ( current_user_can( 'switch_themes' ) ) {
: {
"/home/vietnhat/domains/govietnhat.nrglobal.top/public_html/wp-content/themes/nrglobal/archive-product.php"
}
}
{
› // Load the theme template.
› require_once ABSPATH . WPINC . '/template-loader.php';
›
: {
"/home/vietnhat/domains/govietnhat.nrglobal.top/public_html/wp-includes/template-loader.php"
}
}
{
› /** Loads the WordPress Environment and Template */
› require __DIR__ . '/wp-blog-header.php';
›
: {
"/home/vietnhat/domains/govietnhat.nrglobal.top/public_html/wp-blog-header.php"
}
}
}
}
NotReadableException {#10916 #message: "Image source not readable" #code: 0 #file: "/home/vietnhat/domains/govietnhat.nrglobal.top/public_html/wp-content/themes/nrglobal/vendor/intervention/image/src/Intervention/Image/AbstractDecoder.php" #line: 346 : { { ›http://govietnhat.nrglobal.top/wp-content/uploads/88b83vw9-400x300.webp">default:
›throw new NotReadableException("Image source not readable");
›}
} { ›{
›return $this->decoder->init($data);
›}
} { ›{
›return $this->createDriver()->init($data);
›}
} { ›{
›return self::getManager()->make($data);
›}
} { ›}\r
›$image = Image::make($srcPath);\r
›$image->fit($maxWidth, $maxHeight, static function ($constraint) {\r
} { ›if (!file_exists($filepath)) {\r
›resizeImage($attachment_realpath, $filepath, $width, $height, $extension);\r
›// Bổ sung vào metadata để sau này khi user xóa ảnh thì xóa luôn cả ảnh resize\r
} { ›\r
›return getImageUrlById($imageId, $width, $height);\r
›} catch (\Exception $ex) {\r
} { ›{\r
›echo getPostThumbnailUrl(get_the_ID(), $width, $height);\r
›}\r
} { ›<a class="blog-item__more" href="<?=the_permalink()?>">\r
›\t<img class="" src="<?php thePostThumbnailUrl(400, 300) ?>">\r
›</a>\r
} { ›} else {
›\trequire $_template_file;
›}
: { "/home/vietnhat/domains/govietnhat.nrglobal.top/public_html/wp-content/themes/nrglobal/templates/template-product-listing.php" } } { ›if ( $load && '' !== $located ) {
›\tload_template( $located, $require_once, $args );
›}
} { › ›if ( ! locate_template( $templates, true, false, $args ) ) {
›\treturn false;
} { ›{\r
›get_template_part('templates/' . $name);\r
›}\r
} { ›\t<!-- Product item template -->\r
›\t<?php template("template-product-listing"); ?>\r
›</div>\r
} { ›if ( $template ) {
›\tinclude $template;
›} elseif ( current_user_can( 'switch_themes' ) ) {
: { "/home/vietnhat/domains/govietnhat.nrglobal.top/public_html/wp-content/themes/nrglobal/archive-product.php" } } { ›// Load the theme template.
›require_once ABSPATH . WPINC . '/template-loader.php';
› : { "/home/vietnhat/domains/govietnhat.nrglobal.top/public_html/wp-includes/template-loader.php" } } { ›/** Loads the WordPress Environment and Template */
›require __DIR__ . '/wp-blog-header.php';
› : { "/home/vietnhat/domains/govietnhat.nrglobal.top/public_html/wp-blog-header.php" } } } }
if ($resource === false) {
› throw new NotReadableException(
› "Unable to init from given binary data."
}
{
› case $this->isBase64():
› return $this->initFromBinary(base64_decode($this->data));
›
}
{
› {
› return $this->decoder->init($data);
› }
}
{
› {
› return $this->createDriver()->init($data);
› }
}
{
› {
› return self::getManager()->make($data);
› }
}
{
› }\r
› $image = Image::make($srcPath);\r
› $image->fit($maxWidth, $maxHeight, static function ($constraint) {\r
}
{
› if (!file_exists($filepath)) {\r
› resizeImage($attachment_realpath, $filepath, $width, $height, $extension);\r
› // Bổ sung vào metadata để sau này khi user xóa ảnh thì xóa luôn cả ảnh resize\r
}
{
› {\r
› $defaultImage = getImageUrlById(getOption('hinh_anh_mac_dinh'), $width, $height);\r
› try {\r
}
{
› {\r
› echo getPostThumbnailUrl(get_the_ID(), $width, $height);\r
› }\r
}
{
› <a class="blog-item__more" href="<?=the_permalink()?>">\r
› \t<img class="" src="<?php thePostThumbnailUrl(400, 300) ?>">\r
› </a>\r
}
{
› } else {
› \trequire $_template_file;
› }
: {
"/home/vietnhat/domains/govietnhat.nrglobal.top/public_html/wp-content/themes/nrglobal/templates/template-product-listing.php"
}
}
{
› if ( $load && '' !== $located ) {
› \tload_template( $located, $require_once, $args );
› }
}
{
›
› if ( ! locate_template( $templates, true, false, $args ) ) {
› \treturn false;
}
{
› {\r
› get_template_part('templates/' . $name);\r
› }\r
}
{
› \t<!-- Product item template -->\r
› \t<?php template("template-product-listing"); ?>\r
› </div>\r
}
{
› if ( $template ) {
› \tinclude $template;
› } elseif ( current_user_can( 'switch_themes' ) ) {
: {
"/home/vietnhat/domains/govietnhat.nrglobal.top/public_html/wp-content/themes/nrglobal/archive-product.php"
}
}
{
› // Load the theme template.
› require_once ABSPATH . WPINC . '/template-loader.php';
›
: {
"/home/vietnhat/domains/govietnhat.nrglobal.top/public_html/wp-includes/template-loader.php"
}
}
{
› /** Loads the WordPress Environment and Template */
› require __DIR__ . '/wp-blog-header.php';
›
: {
"/home/vietnhat/domains/govietnhat.nrglobal.top/public_html/wp-blog-header.php"
}
}
}
}
http://govietnhat.nrglobal.top/wp-content/uploads/z2542305995315e2a582ad68b71e4d1c8bff27e3a7d081-400x300.webp">
if ($resource === false) {
› throw new NotReadableException(
› "Unable to init from given binary data."
}
{
› case $this->isBase64():
› return $this->initFromBinary(base64_decode($this->data));
›
}
{
› {
› return $this->decoder->init($data);
› }
}
{
› {
› return $this->createDriver()->init($data);
› }
}
{
› {
› return self::getManager()->make($data);
› }
}
{
› }\r
› $image = Image::make($srcPath);\r
› $image->fit($maxWidth, $maxHeight, static function ($constraint) {\r
}
{
› if (!file_exists($filepath)) {\r
› resizeImage($attachment_realpath, $filepath, $width, $height, $extension);\r
› // Bổ sung vào metadata để sau này khi user xóa ảnh thì xóa luôn cả ảnh resize\r
}
{
› {\r
› $defaultImage = getImageUrlById(getOption('hinh_anh_mac_dinh'), $width, $height);\r
› try {\r
}
{
› {\r
› echo getPostThumbnailUrl(get_the_ID(), $width, $height);\r
› }\r
}
{
› <a class="blog-item__more" href="<?=the_permalink()?>">\r
› \t<img class="" src="<?php thePostThumbnailUrl(400, 300) ?>">\r
› </a>\r
}
{
› } else {
› \trequire $_template_file;
› }
: {
"/home/vietnhat/domains/govietnhat.nrglobal.top/public_html/wp-content/themes/nrglobal/templates/template-product-listing.php"
}
}
{
› if ( $load && '' !== $located ) {
› \tload_template( $located, $require_once, $args );
› }
}
{
›
› if ( ! locate_template( $templates, true, false, $args ) ) {
› \treturn false;
}
{
› {\r
› get_template_part('templates/' . $name);\r
› }\r
}
{
› \t<!-- Product item template -->\r
› \t<?php template("template-product-listing"); ?>\r
› </div>\r
}
{
› if ( $template ) {
› \tinclude $template;
› } elseif ( current_user_can( 'switch_themes' ) ) {
: {
"/home/vietnhat/domains/govietnhat.nrglobal.top/public_html/wp-content/themes/nrglobal/archive-product.php"
}
}
{
› // Load the theme template.
› require_once ABSPATH . WPINC . '/template-loader.php';
›
: {
"/home/vietnhat/domains/govietnhat.nrglobal.top/public_html/wp-includes/template-loader.php"
}
}
{
› /** Loads the WordPress Environment and Template */
› require __DIR__ . '/wp-blog-header.php';
›
: {
"/home/vietnhat/domains/govietnhat.nrglobal.top/public_html/wp-blog-header.php"
}
}
}
}
http://govietnhat.nrglobal.top/wp-content/uploads/z2542306193592b69877bee791fb7ae6d535173a1eed9e-400x300.webp">
if ($resource === false) {
› throw new NotReadableException(
› "Unable to init from given binary data."
}
{
› case $this->isBase64():
› return $this->initFromBinary(base64_decode($this->data));
›
}
{
› {
› return $this->decoder->init($data);
› }
}
{
› {
› return $this->createDriver()->init($data);
› }
}
{
› {
› return self::getManager()->make($data);
› }
}
{
› }\r
› $image = Image::make($srcPath);\r
› $image->fit($maxWidth, $maxHeight, static function ($constraint) {\r
}
{
› if (!file_exists($filepath)) {\r
› resizeImage($attachment_realpath, $filepath, $width, $height, $extension);\r
› // Bổ sung vào metadata để sau này khi user xóa ảnh thì xóa luôn cả ảnh resize\r
}
{
› {\r
› $defaultImage = getImageUrlById(getOption('hinh_anh_mac_dinh'), $width, $height);\r
› try {\r
}
{
› {\r
› echo getPostThumbnailUrl(get_the_ID(), $width, $height);\r
› }\r
}
{
› <a class="blog-item__more" href="<?=the_permalink()?>">\r
› \t<img class="" src="<?php thePostThumbnailUrl(400, 300) ?>">\r
› </a>\r
}
{
› } else {
› \trequire $_template_file;
› }
: {
"/home/vietnhat/domains/govietnhat.nrglobal.top/public_html/wp-content/themes/nrglobal/templates/template-product-listing.php"
}
}
{
› if ( $load && '' !== $located ) {
› \tload_template( $located, $require_once, $args );
› }
}
{
›
› if ( ! locate_template( $templates, true, false, $args ) ) {
› \treturn false;
}
{
› {\r
› get_template_part('templates/' . $name);\r
› }\r
}
{
› \t<!-- Product item template -->\r
› \t<?php template("template-product-listing"); ?>\r
› </div>\r
}
{
› if ( $template ) {
› \tinclude $template;
› } elseif ( current_user_can( 'switch_themes' ) ) {
: {
"/home/vietnhat/domains/govietnhat.nrglobal.top/public_html/wp-content/themes/nrglobal/archive-product.php"
}
}
{
› // Load the theme template.
› require_once ABSPATH . WPINC . '/template-loader.php';
›
: {
"/home/vietnhat/domains/govietnhat.nrglobal.top/public_html/wp-includes/template-loader.php"
}
}
{
› /** Loads the WordPress Environment and Template */
› require __DIR__ . '/wp-blog-header.php';
›
: {
"/home/vietnhat/domains/govietnhat.nrglobal.top/public_html/wp-blog-header.php"
}
}
}
}
http://govietnhat.nrglobal.top/wp-content/uploads/z2542305962353c912ce7002da089dde60a2cdbecf6295-400x300.webp">
if ($resource === false) {
› throw new NotReadableException(
› "Unable to init from given binary data."
}
{
› case $this->isBase64():
› return $this->initFromBinary(base64_decode($this->data));
›
}
{
› {
› return $this->decoder->init($data);
› }
}
{
› {
› return $this->createDriver()->init($data);
› }
}
{
› {
› return self::getManager()->make($data);
› }
}
{
› }\r
› $image = Image::make($srcPath);\r
› $image->fit($maxWidth, $maxHeight, static function ($constraint) {\r
}
{
› if (!file_exists($filepath)) {\r
› resizeImage($attachment_realpath, $filepath, $width, $height, $extension);\r
› // Bổ sung vào metadata để sau này khi user xóa ảnh thì xóa luôn cả ảnh resize\r
}
{
› {\r
› $defaultImage = getImageUrlById(getOption('hinh_anh_mac_dinh'), $width, $height);\r
› try {\r
}
{
› {\r
› echo getPostThumbnailUrl(get_the_ID(), $width, $height);\r
› }\r
}
{
› <a class="blog-item__more" href="<?=the_permalink()?>">\r
› \t<img class="" src="<?php thePostThumbnailUrl(400, 300) ?>">\r
› </a>\r
}
{
› } else {
› \trequire $_template_file;
› }
: {
"/home/vietnhat/domains/govietnhat.nrglobal.top/public_html/wp-content/themes/nrglobal/templates/template-product-listing.php"
}
}
{
› if ( $load && '' !== $located ) {
› \tload_template( $located, $require_once, $args );
› }
}
{
›
› if ( ! locate_template( $templates, true, false, $args ) ) {
› \treturn false;
}
{
› {\r
› get_template_part('templates/' . $name);\r
› }\r
}
{
› \t<!-- Product item template -->\r
› \t<?php template("template-product-listing"); ?>\r
› </div>\r
}
{
› if ( $template ) {
› \tinclude $template;
› } elseif ( current_user_can( 'switch_themes' ) ) {
: {
"/home/vietnhat/domains/govietnhat.nrglobal.top/public_html/wp-content/themes/nrglobal/archive-product.php"
}
}
{
› // Load the theme template.
› require_once ABSPATH . WPINC . '/template-loader.php';
›
: {
"/home/vietnhat/domains/govietnhat.nrglobal.top/public_html/wp-includes/template-loader.php"
}
}
{
› /** Loads the WordPress Environment and Template */
› require __DIR__ . '/wp-blog-header.php';
›
: {
"/home/vietnhat/domains/govietnhat.nrglobal.top/public_html/wp-blog-header.php"
}
}
}
}
NotReadableException {#11063 #message: "Image source not readable" #code: 0 #file: "/home/vietnhat/domains/govietnhat.nrglobal.top/public_html/wp-content/themes/nrglobal/vendor/intervention/image/src/Intervention/Image/AbstractDecoder.php" #line: 346 : { { ›http://govietnhat.nrglobal.top/wp-content/uploads/z287249428121366df94bfb93679b5dde74676b908d475-400x300.webp">default:
›throw new NotReadableException("Image source not readable");
›}
} { ›{
›return $this->decoder->init($data);
›}
} { ›{
›return $this->createDriver()->init($data);
›}
} { ›{
›return self::getManager()->make($data);
›}
} { ›}\r
›$image = Image::make($srcPath);\r
›$image->fit($maxWidth, $maxHeight, static function ($constraint) {\r
} { ›if (!file_exists($filepath)) {\r
›resizeImage($attachment_realpath, $filepath, $width, $height, $extension);\r
›// Bổ sung vào metadata để sau này khi user xóa ảnh thì xóa luôn cả ảnh resize\r
} { ›\r
›return getImageUrlById($imageId, $width, $height);\r
›} catch (\Exception $ex) {\r
} { ›{\r
›echo getPostThumbnailUrl(get_the_ID(), $width, $height);\r
›}\r
} { ›<a class="blog-item__more" href="<?=the_permalink()?>">\r
›\t<img class="" src="<?php thePostThumbnailUrl(400, 300) ?>">\r
›</a>\r
} { ›} else {
›\trequire $_template_file;
›}
: { "/home/vietnhat/domains/govietnhat.nrglobal.top/public_html/wp-content/themes/nrglobal/templates/template-product-listing.php" } } { ›if ( $load && '' !== $located ) {
›\tload_template( $located, $require_once, $args );
›}
} { › ›if ( ! locate_template( $templates, true, false, $args ) ) {
›\treturn false;
} { ›{\r
›get_template_part('templates/' . $name);\r
›}\r
} { ›\t<!-- Product item template -->\r
›\t<?php template("template-product-listing"); ?>\r
›</div>\r
} { ›if ( $template ) {
›\tinclude $template;
›} elseif ( current_user_can( 'switch_themes' ) ) {
: { "/home/vietnhat/domains/govietnhat.nrglobal.top/public_html/wp-content/themes/nrglobal/archive-product.php" } } { ›// Load the theme template.
›require_once ABSPATH . WPINC . '/template-loader.php';
› : { "/home/vietnhat/domains/govietnhat.nrglobal.top/public_html/wp-includes/template-loader.php" } } { ›/** Loads the WordPress Environment and Template */
›require __DIR__ . '/wp-blog-header.php';
› : { "/home/vietnhat/domains/govietnhat.nrglobal.top/public_html/wp-blog-header.php" } } } }
if ($resource === false) {
› throw new NotReadableException(
› "Unable to init from given binary data."
}
{
› case $this->isBase64():
› return $this->initFromBinary(base64_decode($this->data));
›
}
{
› {
› return $this->decoder->init($data);
› }
}
{
› {
› return $this->createDriver()->init($data);
› }
}
{
› {
› return self::getManager()->make($data);
› }
}
{
› }\r
› $image = Image::make($srcPath);\r
› $image->fit($maxWidth, $maxHeight, static function ($constraint) {\r
}
{
› if (!file_exists($filepath)) {\r
› resizeImage($attachment_realpath, $filepath, $width, $height, $extension);\r
› // Bổ sung vào metadata để sau này khi user xóa ảnh thì xóa luôn cả ảnh resize\r
}
{
› {\r
› $defaultImage = getImageUrlById(getOption('hinh_anh_mac_dinh'), $width, $height);\r
› try {\r
}
{
› {\r
› echo getPostThumbnailUrl(get_the_ID(), $width, $height);\r
› }\r
}
{
› <a class="blog-item__more" href="<?=the_permalink()?>">\r
› \t<img class="" src="<?php thePostThumbnailUrl(400, 300) ?>">\r
› </a>\r
}
{
› } else {
› \trequire $_template_file;
› }
: {
"/home/vietnhat/domains/govietnhat.nrglobal.top/public_html/wp-content/themes/nrglobal/templates/template-product-listing.php"
}
}
{
› if ( $load && '' !== $located ) {
› \tload_template( $located, $require_once, $args );
› }
}
{
›
› if ( ! locate_template( $templates, true, false, $args ) ) {
› \treturn false;
}
{
› {\r
› get_template_part('templates/' . $name);\r
› }\r
}
{
› \t<!-- Product item template -->\r
› \t<?php template("template-product-listing"); ?>\r
› </div>\r
}
{
› if ( $template ) {
› \tinclude $template;
› } elseif ( current_user_can( 'switch_themes' ) ) {
: {
"/home/vietnhat/domains/govietnhat.nrglobal.top/public_html/wp-content/themes/nrglobal/archive-product.php"
}
}
{
› // Load the theme template.
› require_once ABSPATH . WPINC . '/template-loader.php';
›
: {
"/home/vietnhat/domains/govietnhat.nrglobal.top/public_html/wp-includes/template-loader.php"
}
}
{
› /** Loads the WordPress Environment and Template */
› require __DIR__ . '/wp-blog-header.php';
›
: {
"/home/vietnhat/domains/govietnhat.nrglobal.top/public_html/wp-blog-header.php"
}
}
}
}
NotReadableException {#10917 #message: "Image source not readable" #code: 0 #file: "/home/vietnhat/domains/govietnhat.nrglobal.top/public_html/wp-content/themes/nrglobal/vendor/intervention/image/src/Intervention/Image/AbstractDecoder.php" #line: 346 : { { ›http://govietnhat.nrglobal.top/wp-content/uploads/z2872494506463fef9d901b9538b9049b00db56d123b16-400x300.webp">default:
›throw new NotReadableException("Image source not readable");
›}
} { ›{
›return $this->decoder->init($data);
›}
} { ›{
›return $this->createDriver()->init($data);
›}
} { ›{
›return self::getManager()->make($data);
›}
} { ›}\r
›$image = Image::make($srcPath);\r
›$image->fit($maxWidth, $maxHeight, static function ($constraint) {\r
} { ›if (!file_exists($filepath)) {\r
›resizeImage($attachment_realpath, $filepath, $width, $height, $extension);\r
›// Bổ sung vào metadata để sau này khi user xóa ảnh thì xóa luôn cả ảnh resize\r
} { ›\r
›return getImageUrlById($imageId, $width, $height);\r
›} catch (\Exception $ex) {\r
} { ›{\r
›echo getPostThumbnailUrl(get_the_ID(), $width, $height);\r
›}\r
} { ›<a class="blog-item__more" href="<?=the_permalink()?>">\r
›\t<img class="" src="<?php thePostThumbnailUrl(400, 300) ?>">\r
›</a>\r
} { ›} else {
›\trequire $_template_file;
›}
: { "/home/vietnhat/domains/govietnhat.nrglobal.top/public_html/wp-content/themes/nrglobal/templates/template-product-listing.php" } } { ›if ( $load && '' !== $located ) {
›\tload_template( $located, $require_once, $args );
›}
} { › ›if ( ! locate_template( $templates, true, false, $args ) ) {
›\treturn false;
} { ›{\r
›get_template_part('templates/' . $name);\r
›}\r
} { ›\t<!-- Product item template -->\r
›\t<?php template("template-product-listing"); ?>\r
›</div>\r
} { ›if ( $template ) {
›\tinclude $template;
›} elseif ( current_user_can( 'switch_themes' ) ) {
: { "/home/vietnhat/domains/govietnhat.nrglobal.top/public_html/wp-content/themes/nrglobal/archive-product.php" } } { ›// Load the theme template.
›require_once ABSPATH . WPINC . '/template-loader.php';
› : { "/home/vietnhat/domains/govietnhat.nrglobal.top/public_html/wp-includes/template-loader.php" } } { ›/** Loads the WordPress Environment and Template */
›require __DIR__ . '/wp-blog-header.php';
› : { "/home/vietnhat/domains/govietnhat.nrglobal.top/public_html/wp-blog-header.php" } } } }
if ($resource === false) {
› throw new NotReadableException(
› "Unable to init from given binary data."
}
{
› case $this->isBase64():
› return $this->initFromBinary(base64_decode($this->data));
›
}
{
› {
› return $this->decoder->init($data);
› }
}
{
› {
› return $this->createDriver()->init($data);
› }
}
{
› {
› return self::getManager()->make($data);
› }
}
{
› }\r
› $image = Image::make($srcPath);\r
› $image->fit($maxWidth, $maxHeight, static function ($constraint) {\r
}
{
› if (!file_exists($filepath)) {\r
› resizeImage($attachment_realpath, $filepath, $width, $height, $extension);\r
› // Bổ sung vào metadata để sau này khi user xóa ảnh thì xóa luôn cả ảnh resize\r
}
{
› {\r
› $defaultImage = getImageUrlById(getOption('hinh_anh_mac_dinh'), $width, $height);\r
› try {\r
}
{
› {\r
› echo getPostThumbnailUrl(get_the_ID(), $width, $height);\r
› }\r
}
{
› <a class="blog-item__more" href="<?=the_permalink()?>">\r
› \t<img class="" src="<?php thePostThumbnailUrl(400, 300) ?>">\r
› </a>\r
}
{
› } else {
› \trequire $_template_file;
› }
: {
"/home/vietnhat/domains/govietnhat.nrglobal.top/public_html/wp-content/themes/nrglobal/templates/template-product-listing.php"
}
}
{
› if ( $load && '' !== $located ) {
› \tload_template( $located, $require_once, $args );
› }
}
{
›
› if ( ! locate_template( $templates, true, false, $args ) ) {
› \treturn false;
}
{
› {\r
› get_template_part('templates/' . $name);\r
› }\r
}
{
› \t<!-- Product item template -->\r
› \t<?php template("template-product-listing"); ?>\r
› </div>\r
}
{
› if ( $template ) {
› \tinclude $template;
› } elseif ( current_user_can( 'switch_themes' ) ) {
: {
"/home/vietnhat/domains/govietnhat.nrglobal.top/public_html/wp-content/themes/nrglobal/archive-product.php"
}
}
{
› // Load the theme template.
› require_once ABSPATH . WPINC . '/template-loader.php';
›
: {
"/home/vietnhat/domains/govietnhat.nrglobal.top/public_html/wp-includes/template-loader.php"
}
}
{
› /** Loads the WordPress Environment and Template */
› require __DIR__ . '/wp-blog-header.php';
›
: {
"/home/vietnhat/domains/govietnhat.nrglobal.top/public_html/wp-blog-header.php"
}
}
}
}
NotReadableException {#10915 #message: "Image source not readable" #code: 0 #file: "/home/vietnhat/domains/govietnhat.nrglobal.top/public_html/wp-content/themes/nrglobal/vendor/intervention/image/src/Intervention/Image/AbstractDecoder.php" #line: 346 : { { ›http://govietnhat.nrglobal.top/wp-content/uploads/z2872505054122b2bef946cef75bdab813f9abf6f38602-400x300.webp">default:
›throw new NotReadableException("Image source not readable");
›}
} { ›{
›return $this->decoder->init($data);
›}
} { ›{
›return $this->createDriver()->init($data);
›}
} { ›{
›return self::getManager()->make($data);
›}
} { ›}\r
›$image = Image::make($srcPath);\r
›$image->fit($maxWidth, $maxHeight, static function ($constraint) {\r
} { ›if (!file_exists($filepath)) {\r
›resizeImage($attachment_realpath, $filepath, $width, $height, $extension);\r
›// Bổ sung vào metadata để sau này khi user xóa ảnh thì xóa luôn cả ảnh resize\r
} { ›\r
›return getImageUrlById($imageId, $width, $height);\r
›} catch (\Exception $ex) {\r
} { ›{\r
›echo getPostThumbnailUrl(get_the_ID(), $width, $height);\r
›}\r
} { ›<a class="blog-item__more" href="<?=the_permalink()?>">\r
›\t<img class="" src="<?php thePostThumbnailUrl(400, 300) ?>">\r
›</a>\r
} { ›} else {
›\trequire $_template_file;
›}
: { "/home/vietnhat/domains/govietnhat.nrglobal.top/public_html/wp-content/themes/nrglobal/templates/template-product-listing.php" } } { ›if ( $load && '' !== $located ) {
›\tload_template( $located, $require_once, $args );
›}
} { › ›if ( ! locate_template( $templates, true, false, $args ) ) {
›\treturn false;
} { ›{\r
›get_template_part('templates/' . $name);\r
›}\r
} { ›\t<!-- Product item template -->\r
›\t<?php template("template-product-listing"); ?>\r
›</div>\r
} { ›if ( $template ) {
›\tinclude $template;
›} elseif ( current_user_can( 'switch_themes' ) ) {
: { "/home/vietnhat/domains/govietnhat.nrglobal.top/public_html/wp-content/themes/nrglobal/archive-product.php" } } { ›// Load the theme template.
›require_once ABSPATH . WPINC . '/template-loader.php';
› : { "/home/vietnhat/domains/govietnhat.nrglobal.top/public_html/wp-includes/template-loader.php" } } { ›/** Loads the WordPress Environment and Template */
›require __DIR__ . '/wp-blog-header.php';
› : { "/home/vietnhat/domains/govietnhat.nrglobal.top/public_html/wp-blog-header.php" } } } }
if ($resource === false) {
› throw new NotReadableException(
› "Unable to init from given binary data."
}
{
› case $this->isBase64():
› return $this->initFromBinary(base64_decode($this->data));
›
}
{
› {
› return $this->decoder->init($data);
› }
}
{
› {
› return $this->createDriver()->init($data);
› }
}
{
› {
› return self::getManager()->make($data);
› }
}
{
› }\r
› $image = Image::make($srcPath);\r
› $image->fit($maxWidth, $maxHeight, static function ($constraint) {\r
}
{
› if (!file_exists($filepath)) {\r
› resizeImage($attachment_realpath, $filepath, $width, $height, $extension);\r
› // Bổ sung vào metadata để sau này khi user xóa ảnh thì xóa luôn cả ảnh resize\r
}
{
› {\r
› $defaultImage = getImageUrlById(getOption('hinh_anh_mac_dinh'), $width, $height);\r
› try {\r
}
{
› {\r
› echo getPostThumbnailUrl(get_the_ID(), $width, $height);\r
› }\r
}
{
› <a class="blog-item__more" href="<?=the_permalink()?>">\r
› \t<img class="" src="<?php thePostThumbnailUrl(400, 300) ?>">\r
› </a>\r
}
{
› } else {
› \trequire $_template_file;
› }
: {
"/home/vietnhat/domains/govietnhat.nrglobal.top/public_html/wp-content/themes/nrglobal/templates/template-product-listing.php"
}
}
{
› if ( $load && '' !== $located ) {
› \tload_template( $located, $require_once, $args );
› }
}
{
›
› if ( ! locate_template( $templates, true, false, $args ) ) {
› \treturn false;
}
{
› {\r
› get_template_part('templates/' . $name);\r
› }\r
}
{
› \t<!-- Product item template -->\r
› \t<?php template("template-product-listing"); ?>\r
› </div>\r
}
{
› if ( $template ) {
› \tinclude $template;
› } elseif ( current_user_can( 'switch_themes' ) ) {
: {
"/home/vietnhat/domains/govietnhat.nrglobal.top/public_html/wp-content/themes/nrglobal/archive-product.php"
}
}
{
› // Load the theme template.
› require_once ABSPATH . WPINC . '/template-loader.php';
›
: {
"/home/vietnhat/domains/govietnhat.nrglobal.top/public_html/wp-includes/template-loader.php"
}
}
{
› /** Loads the WordPress Environment and Template */
› require __DIR__ . '/wp-blog-header.php';
›
: {
"/home/vietnhat/domains/govietnhat.nrglobal.top/public_html/wp-blog-header.php"
}
}
}
}
http://govietnhat.nrglobal.top/wp-content/uploads/z254230599535548d44c45a443ee48edff86731c375d2f-400x300.webp">
if ($resource === false) {
› throw new NotReadableException(
› "Unable to init from given binary data."
}
{
› case $this->isBase64():
› return $this->initFromBinary(base64_decode($this->data));
›
}
{
› {
› return $this->decoder->init($data);
› }
}
{
› {
› return $this->createDriver()->init($data);
› }
}
{
› {
› return self::getManager()->make($data);
› }
}
{
› }\r
› $image = Image::make($srcPath);\r
› $image->fit($maxWidth, $maxHeight, static function ($constraint) {\r
}
{
› if (!file_exists($filepath)) {\r
› resizeImage($attachment_realpath, $filepath, $width, $height, $extension);\r
› // Bổ sung vào metadata để sau này khi user xóa ảnh thì xóa luôn cả ảnh resize\r
}
{
› {\r
› $defaultImage = getImageUrlById(getOption('hinh_anh_mac_dinh'), $width, $height);\r
› try {\r
}
{
› {\r
› echo getPostThumbnailUrl(get_the_ID(), $width, $height);\r
› }\r
}
{
› <a class="blog-item__more" href="<?=the_permalink()?>">\r
› \t<img class="" src="<?php thePostThumbnailUrl(400, 300) ?>">\r
› </a>\r
}
{
› } else {
› \trequire $_template_file;
› }
: {
"/home/vietnhat/domains/govietnhat.nrglobal.top/public_html/wp-content/themes/nrglobal/templates/template-product-listing.php"
}
}
{
› if ( $load && '' !== $located ) {
› \tload_template( $located, $require_once, $args );
› }
}
{
›
› if ( ! locate_template( $templates, true, false, $args ) ) {
› \treturn false;
}
{
› {\r
› get_template_part('templates/' . $name);\r
› }\r
}
{
› \t<!-- Product item template -->\r
› \t<?php template("template-product-listing"); ?>\r
› </div>\r
}
{
› if ( $template ) {
› \tinclude $template;
› } elseif ( current_user_can( 'switch_themes' ) ) {
: {
"/home/vietnhat/domains/govietnhat.nrglobal.top/public_html/wp-content/themes/nrglobal/archive-product.php"
}
}
{
› // Load the theme template.
› require_once ABSPATH . WPINC . '/template-loader.php';
›
: {
"/home/vietnhat/domains/govietnhat.nrglobal.top/public_html/wp-includes/template-loader.php"
}
}
{
› /** Loads the WordPress Environment and Template */
› require __DIR__ . '/wp-blog-header.php';
›
: {
"/home/vietnhat/domains/govietnhat.nrglobal.top/public_html/wp-blog-header.php"
}
}
}
}
NotReadableException {#10915 #message: "Image source not readable" #code: 0 #file: "/home/vietnhat/domains/govietnhat.nrglobal.top/public_html/wp-content/themes/nrglobal/vendor/intervention/image/src/Intervention/Image/AbstractDecoder.php" #line: 346 : { { ›http://govietnhat.nrglobal.top/wp-content/uploads/z287252436218867748556ff1dd28989fb980988b3e789-400x300.webp">default:
›throw new NotReadableException("Image source not readable");
›}
} { ›{
›return $this->decoder->init($data);
›}
} { ›{
›return $this->createDriver()->init($data);
›}
} { ›{
›return self::getManager()->make($data);
›}
} { ›}\r
›$image = Image::make($srcPath);\r
›$image->fit($maxWidth, $maxHeight, static function ($constraint) {\r
} { ›if (!file_exists($filepath)) {\r
›resizeImage($attachment_realpath, $filepath, $width, $height, $extension);\r
›// Bổ sung vào metadata để sau này khi user xóa ảnh thì xóa luôn cả ảnh resize\r
} { ›\r
›return getImageUrlById($imageId, $width, $height);\r
›} catch (\Exception $ex) {\r
} { ›{\r
›echo getPostThumbnailUrl(get_the_ID(), $width, $height);\r
›}\r
} { ›<a class="blog-item__more" href="<?=the_permalink()?>">\r
›\t<img class="" src="<?php thePostThumbnailUrl(400, 300) ?>">\r
›</a>\r
} { ›} else {
›\trequire $_template_file;
›}
: { "/home/vietnhat/domains/govietnhat.nrglobal.top/public_html/wp-content/themes/nrglobal/templates/template-product-listing.php" } } { ›if ( $load && '' !== $located ) {
›\tload_template( $located, $require_once, $args );
›}
} { › ›if ( ! locate_template( $templates, true, false, $args ) ) {
›\treturn false;
} { ›{\r
›get_template_part('templates/' . $name);\r
›}\r
} { ›\t<!-- Product item template -->\r
›\t<?php template("template-product-listing"); ?>\r
›</div>\r
} { ›if ( $template ) {
›\tinclude $template;
›} elseif ( current_user_can( 'switch_themes' ) ) {
: { "/home/vietnhat/domains/govietnhat.nrglobal.top/public_html/wp-content/themes/nrglobal/archive-product.php" } } { ›// Load the theme template.
›require_once ABSPATH . WPINC . '/template-loader.php';
› : { "/home/vietnhat/domains/govietnhat.nrglobal.top/public_html/wp-includes/template-loader.php" } } { ›/** Loads the WordPress Environment and Template */
›require __DIR__ . '/wp-blog-header.php';
› : { "/home/vietnhat/domains/govietnhat.nrglobal.top/public_html/wp-blog-header.php" } } } }
Đang online: 0 |
Tổng: 150750