How To

How to Fix Magento 2.3.5 Installation Error -Installation Incomplete

Hey Magento folks?,

What’s the drizzle going on? Welcome to the How-To series where I will help you How to fix Magento 2.3.5 Installation Error? If you have not visited the most recent solution of How to Add Available Quantity Per Product in The Catalog On Magento 2.3.

Introduction:

Magento is leading in the Ecommerce business and also makes appropriate updates regularly. The latest release of Magento where Magento 2.3.5 was released which was on 28th April 2020. And for a detailed understanding of release updates of Magento 2.3.5 do visit the published article All You Need to Know about Magento 2.3.5.

Every time the installation is not smooth but many times it causes issues during the installation of the new version and for solving the issue in the installation of Magento 2.3.5 here is the below easy step for that.

[Error] InvalidArgumentException: Wrong file in m235\vendor\magento\framework\Image\Adapter\Gd2.php:64

Steps to Code:

Step 1: Find validateURLScheme function in vendor\magento\framework\Image\Adapter\Gd2.php file. at line 96. Replace function with this:

private function validateURLScheme(string $filename) : bool
  {
      $allowed_schemes = ['ftp', 'ftps', 'http', 'https'];
      $url = parse_url($filename);
      if ($url && isset($url['scheme']) && !in_array($url['scheme'], $allowed_schemes) && !file_exists($filename)) {
          return false;
      }

      return true;
  }

That’s it you will be able to solve the installation issue with Magento 2.3.5. 

Final Words

 I hope the above-solved issue will help you during the installation of 2.3.5. For any queries facing do contact our Support Team for guidance. If you feel the blog was helpful to you then do share with your Magento friends and help them. Also, comment on your reviews in the comment section below. Till then Stay Home Stay Safe! 

Happy Coding?

Click to rate this post!
[Total: 5 Average: 5]
Dhiren Vasoya

Dhiren Vasoya is a Director and Co-founder at MageComp, Passionate 🎖️ Certified Magento Developer👨‍💻. He has more than 9 years of experience in Magento Development and completed 850+ projects to solve the most important E-commerce challenges. He is fond❤️ of coding and if he is not busy developing then you can find him at the cricket ground, hitting boundaries.🏏

View Comments

Recent Posts

How to Integrate ChatGPT with Laravel Application?

In this guide, we'll explore how to integrate ChatGPT, an AI-powered chatbot, with a Laravel…

3 days ago

What are Net Sales? How to Calculate Your Net Sales?

In the world of business, understanding financial metrics is crucial for making informed decisions and…

5 days ago

Magento 2 Extensions Digest April 2024 (New Release & Updates)

Welcome to the MageComp Monthly Digest, where we bring you the latest updates, releases, and…

5 days ago

The ABCs of Geofencing: Definition, Features and Uses

In this era, businesses are always on the lookout for ways to engage with their…

6 days ago

How to Delete Product Variant in a Shopify Remix App using GraphQL Mutations?

Managing a Shopify store efficiently involves keeping your product catalog organized. This includes removing outdated…

7 days ago

6 Innovative Tools Revolutionizing E-Commerce Operations

E-commerce has transformed the way consumers shop for products and services and interact with businesses.…

1 week ago