{"id":5812,"date":"2021-05-03T09:57:00","date_gmt":"2021-05-03T09:57:00","guid":{"rendered":"https:\/\/www.magetop.com\/blog\/?p=5812"},"modified":"2021-07-23T17:13:17","modified_gmt":"2021-07-23T17:13:17","slug":"fix-loi-error-invalidargumentexception-wrong-file-in-gd2-php-magento-2","status":"publish","type":"post","link":"https:\/\/www.magetop.com\/blog\/fix-loi-error-invalidargumentexception-wrong-file-in-gd2-php-magento-2\/","title":{"rendered":"C\u00e1ch fix l\u1ed7i [Error] InvalidArgumentException: Wrong file in magento235\\vendor\\magento\\framework\\Image\\Adapter\\Gd2.php:64 khi \u0111ang c\u00e0i \u0111\u1eb7t Magento 2"},"content":{"rendered":"\n<p>Magento d\u1eabn \u0111\u1ea7u trong l\u0129nh v\u1ef1c th\u01b0\u01a1ng m\u1ea1i \u0111i\u1ec7n t\u1eed m\u1ed9t ph\u1ea7n v\u00ec n\u1ec1n t\u1ea3ng n\u00e0y th\u01b0\u1eddng xuy\u00ean \u0111\u01b0a ra c\u00e1c b\u1ea3n c\u1eadp nh\u1eadt m\u1edbi cho ng\u01b0\u1eddi d\u00f9ng. Tuy nhi\u00ean \u1edf b\u1ea3n Magento 2.3.5 \u0111\u01b0\u1ee3c ph\u00e1t h\u00e0nh v\u00e0o ng\u00e0y 28 th\u00e1ng 4 n\u0103m 2020, th\u00ec c\u00f3 m\u1ed9t s\u1ed1 ng\u01b0\u1eddi d\u00f9ng \u0111\u00e3 d\u00ednh ph\u1ea3i l\u1ed7i [Error] InvalidArgumentException khi qu\u00e1 tr\u00ecnh c\u00e0i \u0111\u1eb7t \u0111\u1ea1t 51%, vi\u1ec7c n\u00e0y g\u00e2y \u0111\u1ebfn cho ng\u01b0\u1eddi d\u00f9ng kh\u00e1 nhi\u1ec1u phi\u1ebfn to\u00e1i v\u00e0 kh\u00f4ng bi\u1ebft c\u00e1ch x\u1eed l\u00fd ra sao. Trong b\u00e0i vi\u1ebft n\u00e0y m\u00ecnh s\u1ebd h\u01b0\u1edbng d\u1eabn b\u1ea1n c\u00e1ch s\u1eeda l\u1ed7i [Error] InvalidArgumentException: Wrong file in magento235\\vendor\\magento\\framework\\Image\\Adapter\\Gd2.php:64 khi \u0111ang c\u00e0i \u0111\u1eb7t Magento 2.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"800\" height=\"476\" data-attachment-id=\"6738\" data-permalink=\"https:\/\/www.magetop.com\/blog\/fix-loi-error-invalidargumentexception-wrong-file-in-gd2-php-magento-2\/loi-error-invalidargumentexception-wrong-file-in-magento-2\/\" data-orig-file=\"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2021\/07\/loi-Error-InvalidArgumentException-wrong-file-in-Magento-2.png?fit=1171%2C697&amp;ssl=1\" data-orig-size=\"1171,697\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"loi-Error-InvalidArgumentException-wrong-file-in-Magento-2\" data-image-description=\"\" data-image-caption=\"\" data-medium-file=\"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2021\/07\/loi-Error-InvalidArgumentException-wrong-file-in-Magento-2.png?fit=300%2C179&amp;ssl=1\" data-large-file=\"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2021\/07\/loi-Error-InvalidArgumentException-wrong-file-in-Magento-2.png?fit=800%2C477&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2021\/07\/loi-Error-InvalidArgumentException-wrong-file-in-Magento-2.png?resize=800%2C476&#038;ssl=1\" alt=\"l\u1ed7i [Error] InvalidArgumentException: Wrong file in magento235\\vendor\\magento\\framework\\Image\\Adapter\\Gd2.php:64 khi \u0111ang c\u00e0i \u0111\u1eb7t Magento 2\" class=\"wp-image-6738\" srcset=\"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2021\/07\/loi-Error-InvalidArgumentException-wrong-file-in-Magento-2.png?w=1171&amp;ssl=1 1171w, https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2021\/07\/loi-Error-InvalidArgumentException-wrong-file-in-Magento-2.png?resize=300%2C179&amp;ssl=1 300w, https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2021\/07\/loi-Error-InvalidArgumentException-wrong-file-in-Magento-2.png?resize=1024%2C610&amp;ssl=1 1024w, https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2021\/07\/loi-Error-InvalidArgumentException-wrong-file-in-Magento-2.png?resize=768%2C457&amp;ssl=1 768w\" sizes=\"auto, (max-width: 800px) 100vw, 800px\" \/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">C\u00e1c b\u01b0\u1edbc \u0111\u1ec3 fix l\u1ed7i [Error] InvalidArgumentException: Wrong file in<\/h2>\n\n\n\n<p><strong>B\u01b0\u1edbc 1:<\/strong>&nbsp;B\u1ea1n t\u00ecm t\u1edbi v\u00e0 m\u1edf file Gd2.php theo \u0111\u01b0\u1eddng d\u1eabn c\u00f3 trong th\u00f4ng b\u00e1o l\u1ed7i vendor\\magento\\framework\\Image\\Adapter\\Gd2.php.<\/p>\n\n\n\n<p><strong>B\u01b0\u1edbc 2:<\/strong>&nbsp;Sau khi \u0111\u00e3 m\u1edf file Gd2.php l\u00ean, b\u1ea1n s\u1ebd t\u00ecm function validateURLScheme n\u1eb1m \u1edf d\u00f2ng 96. Thay th\u1ebf function \u0111\u00f3 b\u1eb1ng \u0111o\u1ea1n code d\u01b0\u1edbi \u0111\u00e2y r\u1ed3i l\u01b0u l\u1ea1i.<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; auto-links: false; title: ; notranslate\" title=\"\">\nprivate function validateURLScheme(string $filename) : bool\n  {\n      $allowed_schemes = &#x5B;'ftp', 'ftps', 'http', 'https'];\n      $url = parse_url($filename);\n      if ($url &amp;&amp; isset($url&#x5B;'scheme']) &amp;&amp; !in_array($url&#x5B;'scheme'], $allowed_schemes) &amp;&amp; !file_exists($filename)) {\n          return false;\n      }\n \n      return true;\n  }\n<\/pre><\/div>\n\n\n<p>Nh\u01b0 v\u1eady l\u00e0 m\u00ecnh \u0111\u00e3 h\u01b0\u1edbng d\u1eabn xong c\u00e1ch fix l\u1ed7i [Error] InvalidArgumentException: Wrong file in magento235\\vendor\\magento\\framework\\Image\\Adapter\\Gd2.php:64 khi \u0111ang c\u00e0i \u0111\u1eb7t Magento 2. Hy v\u1ecdng l\u00e0 b\u1ea1n c\u00f3 th\u1ec3 gi\u1ea3i quy\u1ebft l\u1ed7i n\u00e0y v\u1edbi Magento 2.3.5.<\/p>\n\n\n\n<p>C\u1ea3m \u01a1n b\u1ea1n \u0111\u00e3 \u0111\u1ecdc b\u00e0i vi\u1ebft.<\/p>\n\n\n\n<p>Xem th\u00eam c\u00e1c b\u00e0i&nbsp;<a href=\"https:\/\/www.magetop.com\/blog\/vn\/\" target=\"_blank\" rel=\"noreferrer noopener\">H\u01b0\u1edbng d\u1eabn Magento 2<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Trong b\u00e0i vi\u1ebft n\u00e0y m\u00ecnh s\u1ebd h\u01b0\u1edbng d\u1eabn b\u1ea1n c\u00e1ch s\u1eeda l\u1ed7i [Error] InvalidArgumentException: Wrong file in magento235\\vendor\\magento\\framework\\Image\\Adapter\\Gd2.php:64 khi \u0111ang c\u00e0i \u0111\u1eb7t Magento 2.<\/p>\n","protected":false},"author":108,"featured_media":6735,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[226],"tags":[1646,1647,1648,1447,1652],"class_list":["post-5812","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-vn","tag-cach-fix-loi-error-invalidargumentexception-wrong-file-in-magento235vendormagentoframeworkimageadaptergd2-php64-khi-dang-cai-dat-magento","tag-cach-fix-loi-error-invalidargumentexception-wrong-file-in-magento235vendormagentoframeworkimageadaptergd2-php64-khi-dang-cai-dat-magento-2","tag-fix-loi-error-invalidargumentexception-wrong-file-in-magento235vendormagentoframeworkimageadaptergd2-php64-khi-dang-cai-dat-magento-2","tag-fix-loi-magento-2","tag-huong-dan-fix-loi-error-invalidargumentexception-wrong-file-in-magento235vendormagentoframeworkimageadaptergd2-php64-khi-dang-cai-dat-magento-2"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v24.9 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Fix l\u1ed7i [Error] InvalidArgumentException: Wrong file in khi c\u00e0i Magento 2<\/title>\n<meta name=\"description\" content=\"H\u01b0\u1edbng d\u1eabn fix l\u1ed7i [Error] InvalidArgumentException: Wrong file in magento235vendormagentoframeworkImageAdapterGd2.php:64 trong Magento 2\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.magetop.com\/blog\/fix-loi-error-invalidargumentexception-wrong-file-in-gd2-php-magento-2\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Fix l\u1ed7i [Error] InvalidArgumentException: Wrong file in khi c\u00e0i Magento 2\" \/>\n<meta property=\"og:description\" content=\"H\u01b0\u1edbng d\u1eabn fix l\u1ed7i [Error] InvalidArgumentException: Wrong file in magento235vendormagentoframeworkImageAdapterGd2.php:64 trong Magento 2\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.magetop.com\/blog\/fix-loi-error-invalidargumentexception-wrong-file-in-gd2-php-magento-2\/\" \/>\n<meta property=\"og:site_name\" content=\"Magetop Blog\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/MagetopStore\" \/>\n<meta property=\"article:published_time\" content=\"2021-05-03T09:57:00+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2021-07-23T17:13:17+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/i2.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2021\/05\/cach-fix-loi-Error-InvalidArgumentException-wrong-file-in-Magento-2.png?fit=750%2C445&ssl=1\" \/>\n\t<meta property=\"og:image:width\" content=\"750\" \/>\n\t<meta property=\"og:image:height\" content=\"445\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Callula Huy\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@MagetopStore\" \/>\n<meta name=\"twitter:site\" content=\"@MagetopStore\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Callula Huy\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.magetop.com\/blog\/fix-loi-error-invalidargumentexception-wrong-file-in-gd2-php-magento-2\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.magetop.com\/blog\/fix-loi-error-invalidargumentexception-wrong-file-in-gd2-php-magento-2\/\"},\"author\":{\"name\":\"Callula Huy\",\"@id\":\"https:\/\/www.magetop.com\/blog\/#\/schema\/person\/a2bf0aa38cec01bc41197b9ec4b3e8c9\"},\"headline\":\"C\u00e1ch fix l\u1ed7i [Error] InvalidArgumentException: Wrong file in magento235\\\\vendor\\\\magento\\\\framework\\\\Image\\\\Adapter\\\\Gd2.php:64 khi \u0111ang c\u00e0i \u0111\u1eb7t Magento 2\",\"datePublished\":\"2021-05-03T09:57:00+00:00\",\"dateModified\":\"2021-07-23T17:13:17+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.magetop.com\/blog\/fix-loi-error-invalidargumentexception-wrong-file-in-gd2-php-magento-2\/\"},\"wordCount\":348,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/www.magetop.com\/blog\/#organization\"},\"image\":{\"@id\":\"https:\/\/www.magetop.com\/blog\/fix-loi-error-invalidargumentexception-wrong-file-in-gd2-php-magento-2\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2021\/05\/cach-fix-loi-Error-InvalidArgumentException-wrong-file-in-Magento-2.png?fit=750%2C445&ssl=1\",\"keywords\":[\"C\u00e1ch fix l\u1ed7i [Error] InvalidArgumentException: Wrong file in magento235\\\\vendor\\\\magento\\\\framework\\\\Image\\\\Adapter\\\\Gd2.php:64 khi \u0111ang c\u00e0i \u0111\u1eb7t Magento\",\"C\u00e1ch fix l\u1ed7i [Error] InvalidArgumentException: Wrong file in magento235\\\\vendor\\\\magento\\\\framework\\\\Image\\\\Adapter\\\\Gd2.php:64 khi \u0111ang c\u00e0i \u0111\u1eb7t Magento 2\",\"fix l\u1ed7i [Error] InvalidArgumentException: Wrong file in magento235\\\\vendor\\\\magento\\\\framework\\\\Image\\\\Adapter\\\\Gd2.php:64 khi \u0111ang c\u00e0i \u0111\u1eb7t Magento 2\",\"fix l\u1ed7i Magento 2\",\"H\u01b0\u1edbng d\u1eabn fix l\u1ed7i [Error] InvalidArgumentException: Wrong file in magento235\\\\vendor\\\\magento\\\\framework\\\\Image\\\\Adapter\\\\Gd2.php:64 khi \u0111ang c\u00e0i \u0111\u1eb7t Magento 2\"],\"articleSection\":[\"Magento 2 H\u01b0\u1edbng D\u1eabn Ti\u1ebfng Vi\u1ec7t\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.magetop.com\/blog\/fix-loi-error-invalidargumentexception-wrong-file-in-gd2-php-magento-2\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.magetop.com\/blog\/fix-loi-error-invalidargumentexception-wrong-file-in-gd2-php-magento-2\/\",\"url\":\"https:\/\/www.magetop.com\/blog\/fix-loi-error-invalidargumentexception-wrong-file-in-gd2-php-magento-2\/\",\"name\":\"Fix l\u1ed7i [Error] InvalidArgumentException: Wrong file in khi c\u00e0i Magento 2\",\"isPartOf\":{\"@id\":\"https:\/\/www.magetop.com\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.magetop.com\/blog\/fix-loi-error-invalidargumentexception-wrong-file-in-gd2-php-magento-2\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.magetop.com\/blog\/fix-loi-error-invalidargumentexception-wrong-file-in-gd2-php-magento-2\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2021\/05\/cach-fix-loi-Error-InvalidArgumentException-wrong-file-in-Magento-2.png?fit=750%2C445&ssl=1\",\"datePublished\":\"2021-05-03T09:57:00+00:00\",\"dateModified\":\"2021-07-23T17:13:17+00:00\",\"description\":\"H\u01b0\u1edbng d\u1eabn fix l\u1ed7i [Error] InvalidArgumentException: Wrong file in magento235vendormagentoframeworkImageAdapterGd2.php:64 trong Magento 2\",\"breadcrumb\":{\"@id\":\"https:\/\/www.magetop.com\/blog\/fix-loi-error-invalidargumentexception-wrong-file-in-gd2-php-magento-2\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.magetop.com\/blog\/fix-loi-error-invalidargumentexception-wrong-file-in-gd2-php-magento-2\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.magetop.com\/blog\/fix-loi-error-invalidargumentexception-wrong-file-in-gd2-php-magento-2\/#primaryimage\",\"url\":\"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2021\/05\/cach-fix-loi-Error-InvalidArgumentException-wrong-file-in-Magento-2.png?fit=750%2C445&ssl=1\",\"contentUrl\":\"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2021\/05\/cach-fix-loi-Error-InvalidArgumentException-wrong-file-in-Magento-2.png?fit=750%2C445&ssl=1\",\"width\":750,\"height\":445,\"caption\":\"cach fix loi Error InvalidArgumentException wrong file in Magento 2\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.magetop.com\/blog\/fix-loi-error-invalidargumentexception-wrong-file-in-gd2-php-magento-2\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.magetop.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"C\u00e1ch fix l\u1ed7i [Error] InvalidArgumentException: Wrong file in magento235\\\\vendor\\\\magento\\\\framework\\\\Image\\\\Adapter\\\\Gd2.php:64 khi \u0111ang c\u00e0i \u0111\u1eb7t Magento 2\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.magetop.com\/blog\/#website\",\"url\":\"https:\/\/www.magetop.com\/blog\/\",\"name\":\"Magetop Blog\",\"description\":\"Exploring Magento Tips, Tricks, and Trends\",\"publisher\":{\"@id\":\"https:\/\/www.magetop.com\/blog\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.magetop.com\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.magetop.com\/blog\/#organization\",\"name\":\"Magetop.com\",\"url\":\"https:\/\/www.magetop.com\/blog\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.magetop.com\/blog\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2021\/11\/logo.png?fit=475%2C475&ssl=1\",\"contentUrl\":\"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2021\/11\/logo.png?fit=475%2C475&ssl=1\",\"width\":475,\"height\":475,\"caption\":\"Magetop.com\"},\"image\":{\"@id\":\"https:\/\/www.magetop.com\/blog\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/MagetopStore\",\"https:\/\/x.com\/MagetopStore\",\"https:\/\/www.linkedin.com\/company\/magetop\",\"https:\/\/www.pinterest.com\/magetop\",\"https:\/\/www.youtube.com\/channel\/UCXoiJsz88OfPmwa8QpUkwOA\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.magetop.com\/blog\/#\/schema\/person\/a2bf0aa38cec01bc41197b9ec4b3e8c9\",\"name\":\"Callula Huy\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.magetop.com\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/321e837578b99a75c9d7f5c884e62e11b3b6df2b5934726e98fd365f580393c7?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/321e837578b99a75c9d7f5c884e62e11b3b6df2b5934726e98fd365f580393c7?s=96&d=mm&r=g\",\"caption\":\"Callula Huy\"},\"description\":\"Callula is the Marketing Executive at Magetop. With more than 5 years of copywriting under his belt, Callula is into creating valuable content that is straight to the point. Life student. Workaholic. Foreign languages and traveling aficionado.\",\"sameAs\":[\"http:\/\/magetop.com\"],\"url\":\"https:\/\/www.magetop.com\/blog\/author\/callula-huy\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Fix l\u1ed7i [Error] InvalidArgumentException: Wrong file in khi c\u00e0i Magento 2","description":"H\u01b0\u1edbng d\u1eabn fix l\u1ed7i [Error] InvalidArgumentException: Wrong file in magento235vendormagentoframeworkImageAdapterGd2.php:64 trong Magento 2","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.magetop.com\/blog\/fix-loi-error-invalidargumentexception-wrong-file-in-gd2-php-magento-2\/","og_locale":"en_US","og_type":"article","og_title":"Fix l\u1ed7i [Error] InvalidArgumentException: Wrong file in khi c\u00e0i Magento 2","og_description":"H\u01b0\u1edbng d\u1eabn fix l\u1ed7i [Error] InvalidArgumentException: Wrong file in magento235vendormagentoframeworkImageAdapterGd2.php:64 trong Magento 2","og_url":"https:\/\/www.magetop.com\/blog\/fix-loi-error-invalidargumentexception-wrong-file-in-gd2-php-magento-2\/","og_site_name":"Magetop Blog","article_publisher":"https:\/\/www.facebook.com\/MagetopStore","article_published_time":"2021-05-03T09:57:00+00:00","article_modified_time":"2021-07-23T17:13:17+00:00","og_image":[{"width":750,"height":445,"url":"https:\/\/i2.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2021\/05\/cach-fix-loi-Error-InvalidArgumentException-wrong-file-in-Magento-2.png?fit=750%2C445&ssl=1","type":"image\/png"}],"author":"Callula Huy","twitter_card":"summary_large_image","twitter_creator":"@MagetopStore","twitter_site":"@MagetopStore","twitter_misc":{"Written by":"Callula Huy","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.magetop.com\/blog\/fix-loi-error-invalidargumentexception-wrong-file-in-gd2-php-magento-2\/#article","isPartOf":{"@id":"https:\/\/www.magetop.com\/blog\/fix-loi-error-invalidargumentexception-wrong-file-in-gd2-php-magento-2\/"},"author":{"name":"Callula Huy","@id":"https:\/\/www.magetop.com\/blog\/#\/schema\/person\/a2bf0aa38cec01bc41197b9ec4b3e8c9"},"headline":"C\u00e1ch fix l\u1ed7i [Error] InvalidArgumentException: Wrong file in magento235\\vendor\\magento\\framework\\Image\\Adapter\\Gd2.php:64 khi \u0111ang c\u00e0i \u0111\u1eb7t Magento 2","datePublished":"2021-05-03T09:57:00+00:00","dateModified":"2021-07-23T17:13:17+00:00","mainEntityOfPage":{"@id":"https:\/\/www.magetop.com\/blog\/fix-loi-error-invalidargumentexception-wrong-file-in-gd2-php-magento-2\/"},"wordCount":348,"commentCount":0,"publisher":{"@id":"https:\/\/www.magetop.com\/blog\/#organization"},"image":{"@id":"https:\/\/www.magetop.com\/blog\/fix-loi-error-invalidargumentexception-wrong-file-in-gd2-php-magento-2\/#primaryimage"},"thumbnailUrl":"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2021\/05\/cach-fix-loi-Error-InvalidArgumentException-wrong-file-in-Magento-2.png?fit=750%2C445&ssl=1","keywords":["C\u00e1ch fix l\u1ed7i [Error] InvalidArgumentException: Wrong file in magento235\\vendor\\magento\\framework\\Image\\Adapter\\Gd2.php:64 khi \u0111ang c\u00e0i \u0111\u1eb7t Magento","C\u00e1ch fix l\u1ed7i [Error] InvalidArgumentException: Wrong file in magento235\\vendor\\magento\\framework\\Image\\Adapter\\Gd2.php:64 khi \u0111ang c\u00e0i \u0111\u1eb7t Magento 2","fix l\u1ed7i [Error] InvalidArgumentException: Wrong file in magento235\\vendor\\magento\\framework\\Image\\Adapter\\Gd2.php:64 khi \u0111ang c\u00e0i \u0111\u1eb7t Magento 2","fix l\u1ed7i Magento 2","H\u01b0\u1edbng d\u1eabn fix l\u1ed7i [Error] InvalidArgumentException: Wrong file in magento235\\vendor\\magento\\framework\\Image\\Adapter\\Gd2.php:64 khi \u0111ang c\u00e0i \u0111\u1eb7t Magento 2"],"articleSection":["Magento 2 H\u01b0\u1edbng D\u1eabn Ti\u1ebfng Vi\u1ec7t"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.magetop.com\/blog\/fix-loi-error-invalidargumentexception-wrong-file-in-gd2-php-magento-2\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.magetop.com\/blog\/fix-loi-error-invalidargumentexception-wrong-file-in-gd2-php-magento-2\/","url":"https:\/\/www.magetop.com\/blog\/fix-loi-error-invalidargumentexception-wrong-file-in-gd2-php-magento-2\/","name":"Fix l\u1ed7i [Error] InvalidArgumentException: Wrong file in khi c\u00e0i Magento 2","isPartOf":{"@id":"https:\/\/www.magetop.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.magetop.com\/blog\/fix-loi-error-invalidargumentexception-wrong-file-in-gd2-php-magento-2\/#primaryimage"},"image":{"@id":"https:\/\/www.magetop.com\/blog\/fix-loi-error-invalidargumentexception-wrong-file-in-gd2-php-magento-2\/#primaryimage"},"thumbnailUrl":"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2021\/05\/cach-fix-loi-Error-InvalidArgumentException-wrong-file-in-Magento-2.png?fit=750%2C445&ssl=1","datePublished":"2021-05-03T09:57:00+00:00","dateModified":"2021-07-23T17:13:17+00:00","description":"H\u01b0\u1edbng d\u1eabn fix l\u1ed7i [Error] InvalidArgumentException: Wrong file in magento235vendormagentoframeworkImageAdapterGd2.php:64 trong Magento 2","breadcrumb":{"@id":"https:\/\/www.magetop.com\/blog\/fix-loi-error-invalidargumentexception-wrong-file-in-gd2-php-magento-2\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.magetop.com\/blog\/fix-loi-error-invalidargumentexception-wrong-file-in-gd2-php-magento-2\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.magetop.com\/blog\/fix-loi-error-invalidargumentexception-wrong-file-in-gd2-php-magento-2\/#primaryimage","url":"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2021\/05\/cach-fix-loi-Error-InvalidArgumentException-wrong-file-in-Magento-2.png?fit=750%2C445&ssl=1","contentUrl":"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2021\/05\/cach-fix-loi-Error-InvalidArgumentException-wrong-file-in-Magento-2.png?fit=750%2C445&ssl=1","width":750,"height":445,"caption":"cach fix loi Error InvalidArgumentException wrong file in Magento 2"},{"@type":"BreadcrumbList","@id":"https:\/\/www.magetop.com\/blog\/fix-loi-error-invalidargumentexception-wrong-file-in-gd2-php-magento-2\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.magetop.com\/blog\/"},{"@type":"ListItem","position":2,"name":"C\u00e1ch fix l\u1ed7i [Error] InvalidArgumentException: Wrong file in magento235\\vendor\\magento\\framework\\Image\\Adapter\\Gd2.php:64 khi \u0111ang c\u00e0i \u0111\u1eb7t Magento 2"}]},{"@type":"WebSite","@id":"https:\/\/www.magetop.com\/blog\/#website","url":"https:\/\/www.magetop.com\/blog\/","name":"Magetop Blog","description":"Exploring Magento Tips, Tricks, and Trends","publisher":{"@id":"https:\/\/www.magetop.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.magetop.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.magetop.com\/blog\/#organization","name":"Magetop.com","url":"https:\/\/www.magetop.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.magetop.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2021\/11\/logo.png?fit=475%2C475&ssl=1","contentUrl":"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2021\/11\/logo.png?fit=475%2C475&ssl=1","width":475,"height":475,"caption":"Magetop.com"},"image":{"@id":"https:\/\/www.magetop.com\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/MagetopStore","https:\/\/x.com\/MagetopStore","https:\/\/www.linkedin.com\/company\/magetop","https:\/\/www.pinterest.com\/magetop","https:\/\/www.youtube.com\/channel\/UCXoiJsz88OfPmwa8QpUkwOA"]},{"@type":"Person","@id":"https:\/\/www.magetop.com\/blog\/#\/schema\/person\/a2bf0aa38cec01bc41197b9ec4b3e8c9","name":"Callula Huy","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.magetop.com\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/321e837578b99a75c9d7f5c884e62e11b3b6df2b5934726e98fd365f580393c7?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/321e837578b99a75c9d7f5c884e62e11b3b6df2b5934726e98fd365f580393c7?s=96&d=mm&r=g","caption":"Callula Huy"},"description":"Callula is the Marketing Executive at Magetop. With more than 5 years of copywriting under his belt, Callula is into creating valuable content that is straight to the point. Life student. Workaholic. Foreign languages and traveling aficionado.","sameAs":["http:\/\/magetop.com"],"url":"https:\/\/www.magetop.com\/blog\/author\/callula-huy\/"}]}},"jetpack_featured_media_url":"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2021\/05\/cach-fix-loi-Error-InvalidArgumentException-wrong-file-in-Magento-2.png?fit=750%2C445&ssl=1","jetpack_shortlink":"https:\/\/wp.me\/paOdw5-1vK","jetpack-related-posts":[{"id":5565,"url":"https:\/\/www.magetop.com\/blog\/fix-loi-php-fatal-error-class-locale-not-found-magento-2\/","url_meta":{"origin":5812,"position":0},"title":"C\u00e1ch fix l\u1ed7i PHP Fatal Error Class \u2018locale\u2019 Not Found trong Magento 2","author":"Callula Huy","date":"July 15, 2021","format":false,"excerpt":"Trong b\u00e0i vi\u1ebft n\u00e0y m\u00ecnh s\u1ebd h\u01b0\u1edbng d\u1eabn b\u1ea1n c\u00e1ch fix l\u1ed7i PHP Fatal Error Class \u2018locale\u2019 Not Found trong Magento 2.","rel":"","context":"In &quot;Magento 2 H\u01b0\u1edbng D\u1eabn Ti\u1ebfng Vi\u1ec7t&quot;","block_context":{"text":"Magento 2 H\u01b0\u1edbng D\u1eabn Ti\u1ebfng Vi\u1ec7t","link":"https:\/\/www.magetop.com\/blog\/vn\/"},"img":{"alt_text":"C\u00e1ch fix l\u1ed7i PHP Fatal Error Class \u2018locale\u2019 Not Found trong Magento 2","src":"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2021\/07\/Cach-fix-loi-PHP-Fatal-Error-Class-%E2%80%98locale-Not-Found-trong-Magento-2.png?fit=743%2C445&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2021\/07\/Cach-fix-loi-PHP-Fatal-Error-Class-%E2%80%98locale-Not-Found-trong-Magento-2.png?fit=743%2C445&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2021\/07\/Cach-fix-loi-PHP-Fatal-Error-Class-%E2%80%98locale-Not-Found-trong-Magento-2.png?fit=743%2C445&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2021\/07\/Cach-fix-loi-PHP-Fatal-Error-Class-%E2%80%98locale-Not-Found-trong-Magento-2.png?fit=743%2C445&ssl=1&resize=700%2C400 2x"},"classes":[]},{"id":5530,"url":"https:\/\/www.magetop.com\/blog\/cach-fix-loi-session-handler-read-trong-magento-2\/","url_meta":{"origin":5812,"position":1},"title":"H\u01b0\u1edbng d\u1eabn fix l\u1ed7i Warning: SessionHandler::read(): trong Magento 2","author":"Callula Huy","date":"June 21, 2021","format":false,"excerpt":"Trong b\u00e0i vi\u1ebft n\u00e0y m\u00ecnh s\u1ebd h\u01b0\u1edbng d\u1eabn b\u1ea1n c\u00e1ch fix l\u1ed7i Warning: SessionHandler::read(): trong Magento 2.","rel":"","context":"In &quot;Magento 2 H\u01b0\u1edbng D\u1eabn Ti\u1ebfng Vi\u1ec7t&quot;","block_context":{"text":"Magento 2 H\u01b0\u1edbng D\u1eabn Ti\u1ebfng Vi\u1ec7t","link":"https:\/\/www.magetop.com\/blog\/vn\/"},"img":{"alt_text":"H\u01b0\u1edbng d\u1eabn fix l\u1ed7i Warning SessionHandler read trong Magento 2","src":"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2021\/06\/Huong-dan-fix-loi-Warning-SessionHandler-read-trong-Magento-2.png?fit=747%2C445&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2021\/06\/Huong-dan-fix-loi-Warning-SessionHandler-read-trong-Magento-2.png?fit=747%2C445&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2021\/06\/Huong-dan-fix-loi-Warning-SessionHandler-read-trong-Magento-2.png?fit=747%2C445&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2021\/06\/Huong-dan-fix-loi-Warning-SessionHandler-read-trong-Magento-2.png?fit=747%2C445&ssl=1&resize=700%2C400 2x"},"classes":[]},{"id":5786,"url":"https:\/\/www.magetop.com\/blog\/fix-loi-500-internal-server-error-trong-magento-2\/","url_meta":{"origin":5812,"position":2},"title":"H\u01b0\u1edbng d\u1eabn fix l\u1ed7i 500 Internal Server Error trong Magento 2","author":"Callula Huy","date":"May 4, 2021","format":false,"excerpt":"Trong b\u00e0i vi\u1ebft n\u00e0y m\u00ecnh s\u1ebd h\u01b0\u1edbng d\u1eabn fix l\u1ed7i 500 Internal Server Error trong Magento 2.","rel":"","context":"In &quot;Magento 2 H\u01b0\u1edbng D\u1eabn Ti\u1ebfng Vi\u1ec7t&quot;","block_context":{"text":"Magento 2 H\u01b0\u1edbng D\u1eabn Ti\u1ebfng Vi\u1ec7t","link":"https:\/\/www.magetop.com\/blog\/vn\/"},"img":{"alt_text":"H\u01b0\u1edbng d\u1eabn fix l\u1ed7i 500 Internal Server Error trong Magento 2","src":"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2021\/05\/Huong-dan-fix-loi-500-Internal-Server-Error-trong-Magento-2.png?fit=689%2C445&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2021\/05\/Huong-dan-fix-loi-500-Internal-Server-Error-trong-Magento-2.png?fit=689%2C445&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2021\/05\/Huong-dan-fix-loi-500-Internal-Server-Error-trong-Magento-2.png?fit=689%2C445&ssl=1&resize=525%2C300 1.5x"},"classes":[]},{"id":6918,"url":"https:\/\/www.magetop.com\/blog\/cach-fix-loi-khong-the-dang-nhap-admin-magento-2-4-2\/","url_meta":{"origin":5812,"position":3},"title":"C\u00e1ch fix l\u1ed7i kh\u00f4ng th\u1ec3 \u0111\u0103ng nh\u1eadp admin Magento 2.4.2","author":"Callula Huy","date":"July 26, 2021","format":false,"excerpt":"Trong b\u00e0i vi\u1ebft n\u00e0y m\u00ecnh s\u1ebd h\u01b0\u1edbng d\u1eabn b\u1ea1n c\u00e1ch fix l\u1ed7i kh\u00f4ng th\u1ec3 \u0111\u0103ng nh\u1eadp admin Magento 2.4.2.","rel":"","context":"In &quot;Magento 2 H\u01b0\u1edbng D\u1eabn Ti\u1ebfng Vi\u1ec7t&quot;","block_context":{"text":"Magento 2 H\u01b0\u1edbng D\u1eabn Ti\u1ebfng Vi\u1ec7t","link":"https:\/\/www.magetop.com\/blog\/vn\/"},"img":{"alt_text":"C\u00e1ch fix l\u1ed7i kh\u00f4ng th\u1ec3 \u0111\u0103ng nh\u1eadp admin magento 2.4.2 tr\u00ean localhost","src":"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2021\/07\/Cach-fix-loi-khong-the-dang-nhap-admin-magento-2.4.2-tren-localhost.png?fit=820%2C490&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2021\/07\/Cach-fix-loi-khong-the-dang-nhap-admin-magento-2.4.2-tren-localhost.png?fit=820%2C490&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2021\/07\/Cach-fix-loi-khong-the-dang-nhap-admin-magento-2.4.2-tren-localhost.png?fit=820%2C490&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2021\/07\/Cach-fix-loi-khong-the-dang-nhap-admin-magento-2.4.2-tren-localhost.png?fit=820%2C490&ssl=1&resize=700%2C400 2x"},"classes":[]},{"id":3428,"url":"https:\/\/www.magetop.com\/blog\/cai-magento-2-4-tren-localhost-xampp\/","url_meta":{"origin":5812,"position":4},"title":"H\u01b0\u1edbng d\u1eabn c\u00e0i \u0111\u1eb7t Magento 2.4.6 tr\u00ean Localhost XAMPP (M\u1edbi nh\u1ea5t 2023)","author":"Callula Huy","date":"April 14, 2023","format":false,"excerpt":"G\u1ea7n \u0111\u00e2y Magento \u0111\u00e3 cho ra m\u1eaft phi\u00ean b\u1ea3n 2.4. Trong b\u00e0i vi\u1ebft n\u00e0y m\u00ecnh s\u1ebd h\u01b0\u1edbng d\u1eabn c\u00e1c b\u1ea1n c\u00e1ch c\u00e0i \u0111\u1eb7t Magento 2.4 tr\u00ean Localhost XAMPP.","rel":"","context":"In &quot;Magento 2 H\u01b0\u1edbng D\u1eabn Ti\u1ebfng Vi\u1ec7t&quot;","block_context":{"text":"Magento 2 H\u01b0\u1edbng D\u1eabn Ti\u1ebfng Vi\u1ec7t","link":"https:\/\/www.magetop.com\/blog\/vn\/"},"img":{"alt_text":"H\u01b0\u1edbng d\u1eabn c\u00e0i \u0111\u1eb7t Magento 2.4 tr\u00ean Localhost XAMPP","src":"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2020\/11\/Huong-dan-cai-Magento-2.4-tren-Localhost-XAMPP.png?fit=662%2C440&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2020\/11\/Huong-dan-cai-Magento-2.4-tren-Localhost-XAMPP.png?fit=662%2C440&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2020\/11\/Huong-dan-cai-Magento-2.4-tren-Localhost-XAMPP.png?fit=662%2C440&ssl=1&resize=525%2C300 1.5x"},"classes":[]},{"id":1796,"url":"https:\/\/www.magetop.com\/blog\/fix-loi-an-exception-was-raised-while-creating-request\/","url_meta":{"origin":5812,"position":5},"title":"L\u1ed7i An exception was raised while creating \u201cRequest\u201d; no instance returned trong Magento 2","author":"Callula Huy","date":"April 4, 2020","format":false,"excerpt":"B\u00e0i vi\u1ebft n\u00e0y m\u00ecnh s\u1ebd h\u01b0\u1edbng d\u1eabn c\u00e1ch s\u1eeda l\u1ed7i An exception was raised while creating \u201cRequest\u201d; no instance returned Magento 2","rel":"","context":"In &quot;Magento 2 H\u01b0\u1edbng D\u1eabn Ti\u1ebfng Vi\u1ec7t&quot;","block_context":{"text":"Magento 2 H\u01b0\u1edbng D\u1eabn Ti\u1ebfng Vi\u1ec7t","link":"https:\/\/www.magetop.com\/blog\/vn\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2020\/04\/fixloi.png?fit=750%2C422&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2020\/04\/fixloi.png?fit=750%2C422&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2020\/04\/fixloi.png?fit=750%2C422&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2020\/04\/fixloi.png?fit=750%2C422&ssl=1&resize=700%2C400 2x"},"classes":[]}],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/www.magetop.com\/blog\/wp-json\/wp\/v2\/posts\/5812","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.magetop.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.magetop.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.magetop.com\/blog\/wp-json\/wp\/v2\/users\/108"}],"replies":[{"embeddable":true,"href":"https:\/\/www.magetop.com\/blog\/wp-json\/wp\/v2\/comments?post=5812"}],"version-history":[{"count":3,"href":"https:\/\/www.magetop.com\/blog\/wp-json\/wp\/v2\/posts\/5812\/revisions"}],"predecessor-version":[{"id":6739,"href":"https:\/\/www.magetop.com\/blog\/wp-json\/wp\/v2\/posts\/5812\/revisions\/6739"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.magetop.com\/blog\/wp-json\/wp\/v2\/media\/6735"}],"wp:attachment":[{"href":"https:\/\/www.magetop.com\/blog\/wp-json\/wp\/v2\/media?parent=5812"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.magetop.com\/blog\/wp-json\/wp\/v2\/categories?post=5812"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.magetop.com\/blog\/wp-json\/wp\/v2\/tags?post=5812"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}