I am upgrading magento website from 1.6.2 to 1.9.3.1 and it seemed to have went successfully but website was not properly displayed.
I found this error and I don't know what to do to solve it.
a:5:{i:0;s:94:"Invalid method Mage_Catalog_Block_Layer_Filter_Category::shouldDisplayProductCount(Array
(
)
)";i:1;s:3719:"#0 /home/mystore/public_html/app/design/frontend/base/default/template/catalog/layer/filter.phtml(42): Varien_Object->__call('shouldDisplayPr...', Array)