0

I've moved my Magento 2.3.2 website from Shared Hosting where I developed it to a VPS. Everything on the Shared Hosting was working fine on checkout but right now, when a customer login and tries to Checkout this error message appears:

 Validate class not found from basename
 Magento\Framework\Validator\EmailAddress

I've tried and followed this: the Same issue reported.

With what is suggested adding include_path "." to my php.ini file, the result is, the error message no longer is showing but the delivery methods are not showing.

As it looks it feels like this stops the validation process for the address of the customer. Has anyone found a fix for this?

Edit: I am not using Plesk.

  • are you using Plesk ? – Kishan Savaliya Nov 21 '19 at 10:31
  • 1
    No I am not, apologies for not including it in the description. – h3k Nov 21 '19 at 10:32
2

You can add this in your php.ini file

include_path = ".:/yourpathtomagento/vendor/magento/zendframework1/library"

Add your Magento Root directory path where I have mentioned yourpathtomagento in the above path and then check.

  • Note: Go to your console and move into your Magento installation directory and then run PWD command there and copy the whole path and paste there instead of this text yourpathtomagento.

Hope this will help you!

  • 1
    Thank you, your solution fixed the issue. – h3k Nov 21 '19 at 12:08
  • You're welcome buddy :) – Kishan Savaliya Nov 21 '19 at 12:08
  • How can i add this path in htaccess – Vinit Kumar Feb 3 at 9:53

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for?Browse other questions tagged or ask your own question.