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
}
{
›
› include $action_args['located'];
›
: {
"/home/vietnhat/domains/govietnhat.nrglobal.top/public_html/wp-content/themes/nrglobal/archive-product.php"
}
}
{
›
› wc_get_template( 'archive-product.php' );
›
}
{
› if ( $template ) {
› \tinclude $template;
› } elseif ( current_user_can( 'switch_themes' ) ) {
: {
"/home/vietnhat/domains/govietnhat.nrglobal.top/public_html/wp-content/plugins/woocommerce/templates/taxonomy-product-cat.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 {#10970 #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/z2928571502956aa3edccd57b736dceb514ead127e073c-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
} { › ›include $action_args['located'];
› : { "/home/vietnhat/domains/govietnhat.nrglobal.top/public_html/wp-content/themes/nrglobal/archive-product.php" } } { › ›wc_get_template( 'archive-product.php' );
› } { ›if ( $template ) {
›\tinclude $template;
›} elseif ( current_user_can( 'switch_themes' ) ) {
: { "/home/vietnhat/domains/govietnhat.nrglobal.top/public_html/wp-content/plugins/woocommerce/templates/taxonomy-product-cat.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
}
{
›
› include $action_args['located'];
›
: {
"/home/vietnhat/domains/govietnhat.nrglobal.top/public_html/wp-content/themes/nrglobal/archive-product.php"
}
}
{
›
› wc_get_template( 'archive-product.php' );
›
}
{
› if ( $template ) {
› \tinclude $template;
› } elseif ( current_user_can( 'switch_themes' ) ) {
: {
"/home/vietnhat/domains/govietnhat.nrglobal.top/public_html/wp-content/plugins/woocommerce/templates/taxonomy-product-cat.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 {#11007 #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/z29285715132893cdc5d99383d6a3f173b1f5c2b662157-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
} { › ›include $action_args['located'];
› : { "/home/vietnhat/domains/govietnhat.nrglobal.top/public_html/wp-content/themes/nrglobal/archive-product.php" } } { › ›wc_get_template( 'archive-product.php' );
› } { ›if ( $template ) {
›\tinclude $template;
›} elseif ( current_user_can( 'switch_themes' ) ) {
: { "/home/vietnhat/domains/govietnhat.nrglobal.top/public_html/wp-content/plugins/woocommerce/templates/taxonomy-product-cat.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
}
{
›
› include $action_args['located'];
›
: {
"/home/vietnhat/domains/govietnhat.nrglobal.top/public_html/wp-content/themes/nrglobal/archive-product.php"
}
}
{
›
› wc_get_template( 'archive-product.php' );
›
}
{
› if ( $template ) {
› \tinclude $template;
› } elseif ( current_user_can( 'switch_themes' ) ) {
: {
"/home/vietnhat/domains/govietnhat.nrglobal.top/public_html/wp-content/plugins/woocommerce/templates/taxonomy-product-cat.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 {#10977 #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/z29101423726375e5196aaca27ef4dbf2518587dbbc54e-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
} { › ›include $action_args['located'];
› : { "/home/vietnhat/domains/govietnhat.nrglobal.top/public_html/wp-content/themes/nrglobal/archive-product.php" } } { › ›wc_get_template( 'archive-product.php' );
› } { ›if ( $template ) {
›\tinclude $template;
›} elseif ( current_user_can( 'switch_themes' ) ) {
: { "/home/vietnhat/domains/govietnhat.nrglobal.top/public_html/wp-content/plugins/woocommerce/templates/taxonomy-product-cat.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
}
{
›
› include $action_args['located'];
›
: {
"/home/vietnhat/domains/govietnhat.nrglobal.top/public_html/wp-content/themes/nrglobal/archive-product.php"
}
}
{
›
› wc_get_template( 'archive-product.php' );
›
}
{
› if ( $template ) {
› \tinclude $template;
› } elseif ( current_user_can( 'switch_themes' ) ) {
: {
"/home/vietnhat/domains/govietnhat.nrglobal.top/public_html/wp-content/plugins/woocommerce/templates/taxonomy-product-cat.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 {#11137 #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/z290955232058305930c487eaf10ca2c0354244b6448aa-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
} { › ›include $action_args['located'];
› : { "/home/vietnhat/domains/govietnhat.nrglobal.top/public_html/wp-content/themes/nrglobal/archive-product.php" } } { › ›wc_get_template( 'archive-product.php' );
› } { ›if ( $template ) {
›\tinclude $template;
›} elseif ( current_user_can( 'switch_themes' ) ) {
: { "/home/vietnhat/domains/govietnhat.nrglobal.top/public_html/wp-content/plugins/woocommerce/templates/taxonomy-product-cat.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
}
{
›
› include $action_args['located'];
›
: {
"/home/vietnhat/domains/govietnhat.nrglobal.top/public_html/wp-content/themes/nrglobal/archive-product.php"
}
}
{
›
› wc_get_template( 'archive-product.php' );
›
}
{
› if ( $template ) {
› \tinclude $template;
› } elseif ( current_user_can( 'switch_themes' ) ) {
: {
"/home/vietnhat/domains/govietnhat.nrglobal.top/public_html/wp-content/plugins/woocommerce/templates/taxonomy-product-cat.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 {#10977 #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/z290955234702446674735b6eadd0d3f0106ab9ba00d22-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
} { › ›include $action_args['located'];
› : { "/home/vietnhat/domains/govietnhat.nrglobal.top/public_html/wp-content/themes/nrglobal/archive-product.php" } } { › ›wc_get_template( 'archive-product.php' );
› } { ›if ( $template ) {
›\tinclude $template;
›} elseif ( current_user_can( 'switch_themes' ) ) {
: { "/home/vietnhat/domains/govietnhat.nrglobal.top/public_html/wp-content/plugins/woocommerce/templates/taxonomy-product-cat.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
}
{
›
› include $action_args['located'];
›
: {
"/home/vietnhat/domains/govietnhat.nrglobal.top/public_html/wp-content/themes/nrglobal/archive-product.php"
}
}
{
›
› wc_get_template( 'archive-product.php' );
›
}
{
› if ( $template ) {
› \tinclude $template;
› } elseif ( current_user_can( 'switch_themes' ) ) {
: {
"/home/vietnhat/domains/govietnhat.nrglobal.top/public_html/wp-content/plugins/woocommerce/templates/taxonomy-product-cat.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 {#11223 #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/z2909552336963c5491b5ef632a106215f287af772a226-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
} { › ›include $action_args['located'];
› : { "/home/vietnhat/domains/govietnhat.nrglobal.top/public_html/wp-content/themes/nrglobal/archive-product.php" } } { › ›wc_get_template( 'archive-product.php' );
› } { ›if ( $template ) {
›\tinclude $template;
›} elseif ( current_user_can( 'switch_themes' ) ) {
: { "/home/vietnhat/domains/govietnhat.nrglobal.top/public_html/wp-content/plugins/woocommerce/templates/taxonomy-product-cat.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
}
{
›
› include $action_args['located'];
›
: {
"/home/vietnhat/domains/govietnhat.nrglobal.top/public_html/wp-content/themes/nrglobal/archive-product.php"
}
}
{
›
› wc_get_template( 'archive-product.php' );
›
}
{
› if ( $template ) {
› \tinclude $template;
› } elseif ( current_user_can( 'switch_themes' ) ) {
: {
"/home/vietnhat/domains/govietnhat.nrglobal.top/public_html/wp-content/plugins/woocommerce/templates/taxonomy-product-cat.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 {#11221 #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/z29095543134548f904d5655e6d404c9e35061890423ad-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
} { › ›include $action_args['located'];
› : { "/home/vietnhat/domains/govietnhat.nrglobal.top/public_html/wp-content/themes/nrglobal/archive-product.php" } } { › ›wc_get_template( 'archive-product.php' );
› } { ›if ( $template ) {
›\tinclude $template;
›} elseif ( current_user_can( 'switch_themes' ) ) {
: { "/home/vietnhat/domains/govietnhat.nrglobal.top/public_html/wp-content/plugins/woocommerce/templates/taxonomy-product-cat.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
}
{
›
› include $action_args['located'];
›
: {
"/home/vietnhat/domains/govietnhat.nrglobal.top/public_html/wp-content/themes/nrglobal/archive-product.php"
}
}
{
›
› wc_get_template( 'archive-product.php' );
›
}
{
› if ( $template ) {
› \tinclude $template;
› } elseif ( current_user_can( 'switch_themes' ) ) {
: {
"/home/vietnhat/domains/govietnhat.nrglobal.top/public_html/wp-content/plugins/woocommerce/templates/taxonomy-product-cat.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 {#11218 #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/z29095535997494bc336ad533b2ec2cd69278e2999fa85-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
} { › ›include $action_args['located'];
› : { "/home/vietnhat/domains/govietnhat.nrglobal.top/public_html/wp-content/themes/nrglobal/archive-product.php" } } { › ›wc_get_template( 'archive-product.php' );
› } { ›if ( $template ) {
›\tinclude $template;
›} elseif ( current_user_can( 'switch_themes' ) ) {
: { "/home/vietnhat/domains/govietnhat.nrglobal.top/public_html/wp-content/plugins/woocommerce/templates/taxonomy-product-cat.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
}
{
›
› include $action_args['located'];
›
: {
"/home/vietnhat/domains/govietnhat.nrglobal.top/public_html/wp-content/themes/nrglobal/archive-product.php"
}
}
{
›
› wc_get_template( 'archive-product.php' );
›
}
{
› if ( $template ) {
› \tinclude $template;
› } elseif ( current_user_can( 'switch_themes' ) ) {
: {
"/home/vietnhat/domains/govietnhat.nrglobal.top/public_html/wp-content/plugins/woocommerce/templates/taxonomy-product-cat.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 {#10965 #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/z29095543259640a3b3e9ff781e5deb8551ad62c5d0a2e-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
} { › ›include $action_args['located'];
› : { "/home/vietnhat/domains/govietnhat.nrglobal.top/public_html/wp-content/themes/nrglobal/archive-product.php" } } { › ›wc_get_template( 'archive-product.php' );
› } { ›if ( $template ) {
›\tinclude $template;
›} elseif ( current_user_can( 'switch_themes' ) ) {
: { "/home/vietnhat/domains/govietnhat.nrglobal.top/public_html/wp-content/plugins/woocommerce/templates/taxonomy-product-cat.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
}
{
›
› include $action_args['located'];
›
: {
"/home/vietnhat/domains/govietnhat.nrglobal.top/public_html/wp-content/themes/nrglobal/archive-product.php"
}
}
{
›
› wc_get_template( 'archive-product.php' );
›
}
{
› if ( $template ) {
› \tinclude $template;
› } elseif ( current_user_can( 'switch_themes' ) ) {
: {
"/home/vietnhat/domains/govietnhat.nrglobal.top/public_html/wp-content/plugins/woocommerce/templates/taxonomy-product-cat.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 {#11218 #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/z29095532168509cb08c6f47ae799198fd641d8c5b3202-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
} { › ›include $action_args['located'];
› : { "/home/vietnhat/domains/govietnhat.nrglobal.top/public_html/wp-content/themes/nrglobal/archive-product.php" } } { › ›wc_get_template( 'archive-product.php' );
› } { ›if ( $template ) {
›\tinclude $template;
›} elseif ( current_user_can( 'switch_themes' ) ) {
: { "/home/vietnhat/domains/govietnhat.nrglobal.top/public_html/wp-content/plugins/woocommerce/templates/taxonomy-product-cat.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
}
{
›
› include $action_args['located'];
›
: {
"/home/vietnhat/domains/govietnhat.nrglobal.top/public_html/wp-content/themes/nrglobal/archive-product.php"
}
}
{
›
› wc_get_template( 'archive-product.php' );
›
}
{
› if ( $template ) {
› \tinclude $template;
› } elseif ( current_user_can( 'switch_themes' ) ) {
: {
"/home/vietnhat/domains/govietnhat.nrglobal.top/public_html/wp-content/plugins/woocommerce/templates/taxonomy-product-cat.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 {#11174 #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/z290955439008517aa80c3195a4eee465d5f20f31fbc3e-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
} { › ›include $action_args['located'];
› : { "/home/vietnhat/domains/govietnhat.nrglobal.top/public_html/wp-content/themes/nrglobal/archive-product.php" } } { › ›wc_get_template( 'archive-product.php' );
› } { ›if ( $template ) {
›\tinclude $template;
›} elseif ( current_user_can( 'switch_themes' ) ) {
: { "/home/vietnhat/domains/govietnhat.nrglobal.top/public_html/wp-content/plugins/woocommerce/templates/taxonomy-product-cat.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
}
{
›
› include $action_args['located'];
›
: {
"/home/vietnhat/domains/govietnhat.nrglobal.top/public_html/wp-content/themes/nrglobal/archive-product.php"
}
}
{
›
› wc_get_template( 'archive-product.php' );
›
}
{
› if ( $template ) {
› \tinclude $template;
› } elseif ( current_user_can( 'switch_themes' ) ) {
: {
"/home/vietnhat/domains/govietnhat.nrglobal.top/public_html/wp-content/plugins/woocommerce/templates/taxonomy-product-cat.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 {#11218 #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/z2872504997219a11a2b5bed47706226204a7a23bd6f90-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
} { › ›include $action_args['located'];
› : { "/home/vietnhat/domains/govietnhat.nrglobal.top/public_html/wp-content/themes/nrglobal/archive-product.php" } } { › ›wc_get_template( 'archive-product.php' );
› } { ›if ( $template ) {
›\tinclude $template;
›} elseif ( current_user_can( 'switch_themes' ) ) {
: { "/home/vietnhat/domains/govietnhat.nrglobal.top/public_html/wp-content/plugins/woocommerce/templates/taxonomy-product-cat.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
}
{
›
› include $action_args['located'];
›
: {
"/home/vietnhat/domains/govietnhat.nrglobal.top/public_html/wp-content/themes/nrglobal/archive-product.php"
}
}
{
›
› wc_get_template( 'archive-product.php' );
›
}
{
› if ( $template ) {
› \tinclude $template;
› } elseif ( current_user_can( 'switch_themes' ) ) {
: {
"/home/vietnhat/domains/govietnhat.nrglobal.top/public_html/wp-content/plugins/woocommerce/templates/taxonomy-product-cat.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 {#11012 #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/z2872505074434a5256bb453e7ad5586dbb2f826ea4bf8-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
} { › ›include $action_args['located'];
› : { "/home/vietnhat/domains/govietnhat.nrglobal.top/public_html/wp-content/themes/nrglobal/archive-product.php" } } { › ›wc_get_template( 'archive-product.php' );
› } { ›if ( $template ) {
›\tinclude $template;
›} elseif ( current_user_can( 'switch_themes' ) ) {
: { "/home/vietnhat/domains/govietnhat.nrglobal.top/public_html/wp-content/plugins/woocommerce/templates/taxonomy-product-cat.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
}
{
›
› include $action_args['located'];
›
: {
"/home/vietnhat/domains/govietnhat.nrglobal.top/public_html/wp-content/themes/nrglobal/archive-product.php"
}
}
{
›
› wc_get_template( 'archive-product.php' );
›
}
{
› if ( $template ) {
› \tinclude $template;
› } elseif ( current_user_can( 'switch_themes' ) ) {
: {
"/home/vietnhat/domains/govietnhat.nrglobal.top/public_html/wp-content/plugins/woocommerce/templates/taxonomy-product-cat.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 {#11218 #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/z2872504920470d8faccbf44b0e6543f05fc05b6fcb2bf-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
} { › ›include $action_args['located'];
› : { "/home/vietnhat/domains/govietnhat.nrglobal.top/public_html/wp-content/themes/nrglobal/archive-product.php" } } { › ›wc_get_template( 'archive-product.php' );
› } { ›if ( $template ) {
›\tinclude $template;
›} elseif ( current_user_can( 'switch_themes' ) ) {
: { "/home/vietnhat/domains/govietnhat.nrglobal.top/public_html/wp-content/plugins/woocommerce/templates/taxonomy-product-cat.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
}
{
›
› include $action_args['located'];
›
: {
"/home/vietnhat/domains/govietnhat.nrglobal.top/public_html/wp-content/themes/nrglobal/archive-product.php"
}
}
{
›
› wc_get_template( 'archive-product.php' );
›
}
{
› if ( $template ) {
› \tinclude $template;
› } elseif ( current_user_can( 'switch_themes' ) ) {
: {
"/home/vietnhat/domains/govietnhat.nrglobal.top/public_html/wp-content/plugins/woocommerce/templates/taxonomy-product-cat.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 {#10973 #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
} { › ›include $action_args['located'];
› : { "/home/vietnhat/domains/govietnhat.nrglobal.top/public_html/wp-content/themes/nrglobal/archive-product.php" } } { › ›wc_get_template( 'archive-product.php' );
› } { ›if ( $template ) {
›\tinclude $template;
›} elseif ( current_user_can( 'switch_themes' ) ) {
: { "/home/vietnhat/domains/govietnhat.nrglobal.top/public_html/wp-content/plugins/woocommerce/templates/taxonomy-product-cat.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: 147048