Warning: DOMDocument::loadHTML(): Unexpected end tag : h4 in Entity, Need solution!!!

The website on load is giving the following warning:

Warning: DOMDocument::loadHTML(): Unexpected end tag : h4 in Entity, line: 4 in /home/paea/public_html/wp-content/themes/upfront/elements/upfront-text/lib/upfront_text.php on line 21

Its not showing any issues in upfront editing mode. I guess i have used some invalid html, kindly help me out with finding the solution.