Fatal error: Uncaught Error : on blog Category Page

Hello,

I am using Algolia Extension ( version : 1.0.10 ) in Magento 2 .1.2. Also using Magefan Blog extension. When user clicks on blog categories it shows following erros:

https://qa.quickstart.com/blog/

Fatal error: Uncaught Error: Call to a member function getData() on null in /var/www/html/app/design/frontend/Infortis/custom/Algolia_AlgoliaSearch/templates/internals/configuration.phtml:43 Stack trace: #0 /var/www/html/vendor/magento/framework/View/TemplateEngine/Php.php(59): include() #1 /var/www/html/vendor/magento/framework/View/Element/Template.php(255): Magento\Framework\View\TemplateEngine\Php->render(Object(Algolia\AlgoliaSearch\Block\Algolia), ‘/var/www/html/a…’, Array) #2 /var/www/html/vendor/magento/framework/View/Element/Template.php(279): Magento\Framework\View\Element\Template->fetchView(’/var/www/html/a…’) #3 /var/www/html/vendor/magento/framework/View/Element/AbstractBlock.php(659): Magento\Framework\View\Element\Template->_toHtml() #4 /var/www/html/vendor/magento/framework/View/Layout.php(542): Magento\Framework\View\Element\AbstractBlock->toHtml() #5 /var/www/html/vendor/magento/framework/View/Layout.php(518): Magento\Framework\View\Layout->_renderBlock(‘algolia.interna…’) #6 /var/www/html/var/gen in /var/www/html/app/design/frontend/Infortis/custom/Algolia_AlgoliaSearch/templates/internals/configuration.phtml on line 43

Hello @shujaat.ali,

you use very old version of the extension.
Could you upgrade to the latest version (1.7.2 at this time) and give it another try?