Solved: Validate Class Not Found from Basename in Magento 2

Are you facing Validate Class not Found from Basename error in Magento 2? If yes, then here is the complete solution for it.

User experience and checkout convenience of website plays a vital role in the success of eCommerce businesses. A poor user experience can lead to less conversions and thus can affect the overall growth of your online business.

Magento 2 provides a seamless shopping experience to the customers through its quick and convenient checkout process. However, sometimes, it may show the ‘Validate Class not Found’ error to the customers that can prevent them from completing their purchase and can affect the conversion rate.

The following error is displayed to the customers on the checkout page, whenever the they tries to place the order using email address:

Solving this error becomes highly important for the Magento 2 store owners as it may worsen the user experience. Here, in this post, I have provided complete solution to prevent the Validate Class Not Found from Basename in Magento 2 error.

How to Solve Validate Class not Found from Basename in Magento 2?

In order to solve the ‘Validate Class not Found from Baseame’ in Magento 2, you need to open the Loader.php file from vendor/magento/zendframework1/library/Zend/ and update the code as f0llowing:

Or

The error ‘Validate Class not Found from Baseame’ in Magento 2 appears to the customers at the time of placing an order on the checkout page which is displayed as shown below:

Validate Class not found from Basename in Magento 2

To get your error solved easily,  you simply need to choose the most appropriate directory path for your website. You should not select the pub directory path, but need to opt for main path where app library vendor directory is available.

Main Path of your Website

That’s it!

I hope you will find this solution helpful for the ‘Validate Class not Found from Basename’ error in Magento 2.

In case you still have any query or doubt regarding the solution, feel free to ask in the comment section. I would be happy to help! 😊

Also, do not forget to share this solution with your Magento friends via social media.

Thanks for reading!😃

5
(based on 4 Reviews)
Solved: Validate Class Not Found from Basename in Magento 2

Ronak Bhatti

Ronak is a Magento Developer at Meetanshi. He loves playing cricket. Apart from the work, he is an enthusiastic person who loves learning new skills.

Leave a Reply

Your email address will not be published.