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.
Contents
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:
1 2 3 4 5 6 7 8 9 10 |
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?
Thanks Dear
It is working for me.
did’nt work for me. please can you tell any other solution?
Confirm you have implemented the above code properly and then run upgrade, deploy, and all the commands.
i did the changes but still it is showing the same error at 51%
Try in incognito or private mode.
error resolved. but i got another issue that was stuck installation process at 59%. i was change exec-time and else but still stuck at 59%. kindly give me the solution just like this you have shared. i appreciate that. great work.
Can you confirm again in incognito or private mode?
Thanks man. this was really helpfull. make more of this man i hope to share your site on social media