Magento – Checkout Validation and Place Order

magento2

Checkout page validation not working in magento2

As per the above link i am gettting the validations and when place order getting the following Fatal error with loading screen and order was not placing.

<b>Fatal error</b>:  Uncaught Error: Call to a member function appendChild() on null in /var/www/html/retailfly/vendor/pelago/emogrifier/src/Emogrifier.php:1419

Best Answer

This error is due to a syntax error in your email template. Please check the email template that you recently edited, and find for a Syntax error. Emogrifier already exists that is why it's also telling you the line number which is throwing this exception.

If you further extend your PHP error, in your web server logs, you will also see other errors such as CSS or etc.

Syntax Error: A syntax error is an error in the source code of a program. Since computer programs must follow strict syntax to compile correctly, any aspects of the code that do not conform to the syntax of the programming language will produce a syntax error.

Related Topic