Skip to content

2.2.0 Checkout - Unable to save address. Validate class not found from basename 'Email Address #10821

@ravibhoraniya

Description

@ravibhoraniya

exception 'Zend_Validate_Exception' with message 'Validate class not found from basename 'EmailAddress''

html/magento/vendor/magento/zendframework1/library/Zend/Validate.php:244

Preconditions

updated from 2.1.9 to 2.2 by update version in composer file and composer update, cache clearing and reindex shop looks working.

Steps to reproduce

put item in shopping chart to to checkout, enter address, all JS validators are fine, click next. then it shows up the "Payment Methods" page, when i click here on "Place Order" a notification messages says "Unable to save address. Please check input data."

Expected result

Go to next screen and confirm order is submitted.

Actual result

REST call https://www.tarnava.ro/ro/rest/ro/V1/guest-carts/6c5eba65da84bff14b2xxxxxxx/payment-information gets response
{"message":"Unable to save address. Please check input data."}

Log files shows also error

[2017-10-01 10:48:13] main.CRITICAL: Unable to save address. Please check input data. {"exception":"[object] (Magento\\Framework\\Exception\\InputException(code: 0): Unable to save address. Please check input data. at /var/www/vhosts/tarnava.ro/httpdocs/vendor/magento/module-quote/Model/ShippingAddressManagement.php:119)"} []
[2017-10-01 10:48:23] main.CRITICAL: Validate class not found from basename 'Magento\Framework\Validator\EmailAddress' {"exception":"[object] (Zend_Validate_Exception(code: 0): Validate class not found from basename 'Magento\\Framework\\Validator\\EmailAddress' at /var/www/vhosts/tarnava.ro/httpdocs/vendor/magento/zendframework1/library/Zend/Validate.php:244)"} []
[2017-10-01 10:48:23] main.CRITICAL: Unable to save address. Please check input data. {"exception":"[object] (Magento\\Framework\\Exception\\InputException(code: 0): Unable to save address. Please check input data. at /var/www/vhosts/tarnava.ro/httpdocs/vendor/magento/module-quote/Model/ShippingAddressManagement.php:119)"} []
[2017-10-01 10:48:37] main.CRITICAL: Validate class not found from basename 'Magento\Framework\Validator\EmailAddress' {"exception":"[object] (Zend_Validate_Exception(code: 0): Validate class not found from basename 'Magento\\Framework\\Validator\\EmailAddress' at /var/www/vhosts/tarnava.ro/httpdocs/vendor/magento/zendframework1/library/Zend/Validate.php:244)"} []
[2017-10-01 10:48:37] main.CRITICAL: Unable to save address. Please check input data. {"exception":"[object] (Magento\\Framework\\Exception\\InputException(code: 0): Unable to save address. Please check input data. at /var/www/vhosts/tarnava.ro/httpdocs/vendor/magento/module-quote/Model/ShippingAddressManagement.php:119)"} []
[2017-10-01 10:49:46] main.CRITICAL: Validate class not found from basename 'Magento\Framework\Validator\EmailAddress' {"exception":"[object] (Zend_Validate_Exception(code: 0): Validate class not found from basename 'Magento\\Framework\\Validator\\EmailAddress' at /var/www/vhosts/tarnava.ro/httpdocs/vendor/magento/zendframework1/library/Zend/Validate.php:244)"} []
[2017-10-01 10:56:56] main.CRITICAL: Validate class not found from basename 'Magento\Framework\Validator\EmailAddress' {"exception":"[object] (Zend_Validate_Exception(code: 0): Validate class not found from basename 'Magento\\Framework\\Validator\\EmailAddress' at /var/www/vhosts/tarnava.ro/httpdocs/vendor/magento/zendframework1/library/Zend/Validate.php:244)"} []

Composer file from my initial magento 2.x version i only updated
"magento/product-community-edition": "2.2",

composer.json

{
    "name": "magento/project-community-edition",
    "description": "eCommerce Platform for Growth (Community Edition)",
    "type": "project",
    "version": "2.1.9",
    "license": [
        "OSL-3.0",
        "AFL-3.0"
    ],
    "repositories":[
        {
            "type": "composer",
            "url": "https://repo.magento.com/"
        }
    ],
    "require": {
        "magento/product-community-edition": "2.2",
        "composer/composer": "1.4.1",
        "splendidinternet/mage2-locale-de-de": "^1.6",
        "magento/magento-composer-installer": "^0.1.8",
        "magefan/module-blog": "^2.4",
        "magepal/magento2-gmailsmtpapp": "^1.4"
    },
    "require-dev": {
        "phpunit/phpunit": "4.1.0",
        "squizlabs/php_codesniffer": "1.5.3",
        "phpmd/phpmd": "2.3.*",
        "pdepend/pdepend": "2.2.2",
        "sjparkinson/static-review": "~4.1",
        "fabpot/php-cs-fixer": "~1.2",
        "lusitanian/oauth": "~0.3 <=0.7.0"
    },
    "config": {
        "use-include-path": true
    },
    "autoload": {
        "psr-4": {
            "Magento\\Framework\\": "lib/internal/Magento/Framework/",
            "Magento\\Setup\\": "setup/src/Magento/Setup/",
            "Magento\\": "app/code/Magento/"
        },
        "psr-0": {
            "": "app/code/"
        },
        "files": [
            "app/etc/NonComposerComponentRegistration.php"
        ]
    },
    "autoload-dev": {
        "psr-4": {
            "Magento\\Sniffs\\": "dev/tests/static/framework/Magento/Sniffs/",
            "Magento\\Tools\\": "dev/tools/Magento/Tools/",
            "Magento\\Tools\\Sanity\\": "dev/build/publication/sanity/Magento/Tools/Sanity/",
            "Magento\\TestFramework\\Inspection\\": "dev/tests/static/framework/Magento/TestFramework/Inspection/",
            "Magento\\TestFramework\\Utility\\": "dev/tests/static/framework/Magento/TestFramework/Utility/"
        }
    },
    "minimum-stability": "dev",
    "prefer-stable": true,
    "extra": {
        "magento-force": "override"
    }
}

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions