I have an an error on some but not all product view pages. Does anyone have an idea what the problem is?
<img id="image-0" class="gallery-image" src=" Fatal error: Undefined class constant 'XML_NODE_PRODUCT_BASE_IMAGE_WIDTH' in /var/www/vhosts/thesite.com/app/code/core/Mage/Catalog/Block/Product/View/Media.php on line 87
At that line is
$size = Mage::getStoreConfig(Mage_Catalog_Helper_Image::XML_NODE_PRODUCT_BASE_IMAGE_WIDTH);
There is a value of 1800 saved in
System->Configuration->Catalog->Product Image->Base Image Width