title: Magento: Error when attempting to load a product
body: <p>I'm experiencing an issue with our site, as I am trying to rework the RWD theme to a custom design.</p>
  
  <p>Just applying the unmodified theme results in the following error when you click on any product (the theme design applies fine, and site navigates properly until you click on a product).</p>
  
  <pre><code>Invalid method Mage_Catalog_Block_Product_View_Media::isGalleryImageVisible(Array
  (
      [0] =&gt; Varien_Object Object
          (
              [_data:protected] =&gt; Array
                  (
                      [value_id] =&gt; 19905
                      [file] =&gt; /3/0/308-8_4cl.jpg
                      [label] =&gt; 
                      [position] =&gt; 0
                      [disabled] =&gt; 0
                      [label_default] =&gt; 
                      [position_default] =&gt; 0
                      [disabled_default] =&gt; 0
                      [url] =&gt; &lt;website&gt;/media/catalog/product/3/0/308-8_4cl.jpg
                      [id] =&gt; 19905
                      [path] =&gt; &lt;server root&gt;/media/catalog/product/3/0/308-8_4cl.jpg
                  )
  
              [_hasDataChanges:protected] =&gt; 
              [_origData:protected] =&gt; 
              [_idFieldName:protected] =&gt; 
              [_isDeleted:protected] =&gt; 
              [_oldFieldsMap:protected] =&gt; Array
                  (
                  )
  
              [_syncFieldsMap:protected] =&gt; Array
                  (
                  )
  
          )
  
  )
  )
  
  #0 &lt;server root&gt;/app/design/frontend/tlc_alpha/default/template/catalog/product/view/media.phtml(48): Varien_Object-&gt;__call('isGalleryImageV...', Array)
  #1 &lt;server root&gt;/app/design/frontend/tlc_alpha/default/template/catalog/product/view/media.phtml(48): Mage_Catalog_Block_Product_View_Media-&gt;isGalleryImageVisible(Object(Varien_Object))
  #2 &lt;server root&gt;/var/cache/ew/files/ca/a0/Mage/Core/Block/Template.php(260): include('/var/www/vhosts...')
  #3 &lt;server root&gt;/var/cache/ew/files/ca/a0/Mage/Core/Block/Template.php(291): Mage_Core_Block_TemplateOverriddenClass-&gt;fetchView('frontend/tlc_al...')
  #4 &lt;server root&gt;/var/cache/ew/files/ca/a0/Mage/Core/Block/Template.php(305): Mage_Core_Block_TemplateOverriddenClass-&gt;renderView()
  #5 &lt;server root&gt;/app/code/local/Extendware/EWPageCache/Block/Override/Mage/Core/Template.php(14): Mage_Core_Block_TemplateOverriddenClass-&gt;_toHtml()
  #6 &lt;server root&gt;/app/code/core/Mage/Core/Block/Abstract.php(919): Extendware_EWPageCache_Block_Override_Mage_Core_Template-&gt;_toHtml()
  #7 &lt;server root&gt;/app/code/core/Mage/Core/Block/Abstract.php(637): Mage_Core_Block_Abstract-&gt;toHtml()
  #8 &lt;server root&gt;/app/code/core/Mage/Core/Block/Abstract.php(581): Mage_Core_Block_Abstract-&gt;_getChildHtml('media', true)
  #9 &lt;server root&gt;/app/design/frontend/tlc_alpha/default/template/catalog/product/view.phtml(53): Mage_Core_Block_Abstract-&gt;getChildHtml('media')
  #10 &lt;server root&gt;/var/cache/ew/files/ca/a0/Mage/Core/Block/Template.php(260): include('/var/www/vhosts...')
  #11 &lt;server root&gt;/var/cache/ew/files/ca/a0/Mage/Core/Block/Template.php(291): Mage_Core_Block_TemplateOverriddenClass-&gt;fetchView('frontend/tlc_al...')
  #12 &lt;server root&gt;/var/cache/ew/files/ca/a0/Mage/Core/Block/Template.php(305): Mage_Core_Block_TemplateOverriddenClass-&gt;renderView()
  #13 &lt;server root&gt;/app/code/local/Extendware/EWPageCache/Block/Override/Mage/Core/Template.php(14): Mage_Core_Block_TemplateOverriddenClass-&gt;_toHtml()
  #14 &lt;server root&gt;/app/code/core/Mage/Core/Block/Abstract.php(919): Extendware_EWPageCache_Block_Override_Mage_Core_Template-&gt;_toHtml()
  #15 &lt;server root&gt;/app/code/core/Mage/Core/Block/Text/List.php(43): Mage_Core_Block_Abstract-&gt;toHtml()
  #16 &lt;server root&gt;/app/code/core/Mage/Core/Block/Abstract.php(919): Mage_Core_Block_Text_List-&gt;_toHtml()
  #17 &lt;server root&gt;/app/code/core/Mage/Core/Block/Abstract.php(637): Mage_Core_Block_Abstract-&gt;toHtml()
  #18 &lt;server root&gt;/app/code/core/Mage/Core/Block/Abstract.php(581): Mage_Core_Block_Abstract-&gt;_getChildHtml('content', true)
  #19 &lt;server root&gt;/app/design/frontend/tlc_alpha/default/template/page/1column.phtml(55): Mage_Core_Block_Abstract-&gt;getChildHtml('content')
  #20 &lt;server root&gt;/var/cache/ew/files/ca/a0/Mage/Core/Block/Template.php(260): include('/var/www/vhosts...')
  #21 &lt;server root&gt;/var/cache/ew/files/ca/a0/Mage/Core/Block/Template.php(291): Mage_Core_Block_TemplateOverriddenClass-&gt;fetchView('frontend/tlc_al...')
  #22 &lt;server root&gt;/var/cache/ew/files/ca/a0/Mage/Core/Block/Template.php(305): Mage_Core_Block_TemplateOverriddenClass-&gt;renderView()
  #23 &lt;server root&gt;/app/code/local/Extendware/EWPageCache/Block/Override/Mage/Core/Template.php(14): Mage_Core_Block_TemplateOverriddenClass-&gt;_toHtml()
  #24 &lt;server root&gt;/app/code/core/Mage/Core/Block/Abstract.php(919): Extendware_EWPageCache_Block_Override_Mage_Core_Template-&gt;_toHtml()
  #25 &lt;server root&gt;/app/code/core/Mage/Core/Model/Layout.php(555): Mage_Core_Block_Abstract-&gt;toHtml()
  #26 &lt;server root&gt;/app/code/core/Mage/Core/Controller/Varien/Action.php(390): Mage_Core_Model_Layout-&gt;getOutput()
  #27 &lt;server root&gt;/app/code/core/Mage/Cms/controllers/IndexController.php(91): Mage_Core_Controller_Varien_Action-&gt;renderLayout()
  #28 &lt;server root&gt;/app/code/core/Mage/Core/Controller/Varien/Action.php(418): Mage_Cms_IndexController-&gt;defaultNoRouteAction()
  #29 &lt;server root&gt;/var/cache/ew/files/69/b9/Mage/Core/Controller/Varien/Router/Standard.php(269): Mage_Core_Controller_Varien_Action-&gt;dispatch('defaultNoRoute')
  #30 &lt;server root&gt;/app/code/community/ArtsOnIT/OfflineMaintenance/Controller/Router/Standard.php(46): Mage_Core_Controller_Varien_Router_StandardOverriddenClass-&gt;match(Object(Mage_Core_Controller_Request_Http))
  #31 &lt;server root&gt;/var/cache/ew/files/52/17/Mage/Core/Controller/Varien/Front.php(191): ArtsOnIT_OfflineMaintenance_Controller_Router_Standard-&gt;match(Object(Mage_Core_Controller_Request_Http))
  #32 &lt;server root&gt;/app/code/local/Extendware/EWPageCache/Controller/Override/Mage/Core/Varien/Front.php(17) : eval()'d code(17): Mage_Core_Controller_Varien_FrontOverriddenClass-&gt;dispatch()
  #33 &lt;server root&gt;/app/code/core/Mage/Core/Model/App.php(354): Extendware_EWPageCache_Controller_Override_Mage_Core_Varien_Front-&gt;dispatch()
  #34 &lt;server root&gt;/app/Mage.php(684): Mage_Core_Model_App-&gt;run(Array)
  #35 &lt;server root&gt;/testsite/index.php(92): Mage::run('test', 'website')
  #36 {main}
  </code></pre>
  
  <p>Can anyone give me any greatly appreciated pointers on what may be causing this? Other themes work fine, just not RWD and the one I modified from base RWD.</p>
  
  <p>I'm on version 1.9.0.1</p>
  
  <p>Thanks!</p>