Code on the top of a page

Before I dig into this problem, I want some assistance on it's removal, safely. The code is: Warning: DOMDocument::loadHTML(): Tag o:p invalid in Entity, line: 10 in /home/dmcm/www/www/wp/wp-content/themes/upfront/elements/upfront-text/lib/upfront_text.php on line 26
This is found on
It appeared yesterday after I added a photo.
Thanks for reading,