Fatal error: Uncaught Error: Cannot use string offset as an array in /home/babipur2/public_html/app/code/local/Magmodules/Snippets/Helper/Data.php:160 Stack trace: #0 /home/babipur2/public_html/app/code/local/Magmodules/Snippets/Helper/Data.php(123): Magmodules_Snippets_Helper_Data->getJsonProductSnippetsData(Array) #1 /home/babipur2/public_html/app/code/local/Magmodules/Snippets/Block/Product/Json.php(41): Magmodules_Snippets_Helper_Data->getJsonProductSnippets() #2 /home/babipur2/public_html/app/design/frontend/base/default/template/magmodules/snippets/catalog/product/json.phtml(19): Magmodules_Snippets_Block_Product_Json->getJsonProductSnippets() #3 /home/babipur2/public_html/app/code/core/Mage/Core/Block/Template.php(241): include('/home/babipur2/...') #4 /home/babipur2/public_html/app/code/core/Mage/Core/Block/Template.php(272): Mage_Core_Block_Template->fetchView('frontend/base/d...') #5 /home/babipur2/public_html/app/code/core/Mage/Core/Block/Template.php(286): Mage_Core_Block_Template->renderView() #6 /home/babipu in /home/babipur2/public_html/app/code/local/Magmodules/Snippets/Helper/Data.php on line 160