Products not updated after Magento e-commerce update

I keep having this error after the updates,

"Fatal error: undefined class constant" XML_NODE_PRODUCT_MAX_DIMENSION "in app design adminhtml default template catalog product helper gallery.phtml on line 111"

I looked for solutions, but I did not work.