frontend error after block modification

I changed as https://www.ubertheme.com/docs/ub-megamall/#configure-blocks-position guide in block section. After changing that shows “We’re sorry, an error has occurred while generating this email.” message in block display location. How can I fix the problem? How can I reset the block previous data?

7 answers

Profile photo of Frank 1460.00 $tone September 28, 2016
Public

Hi Keshab Adhikari,
As you’re using UB MegaMall theme without our M2 built-in extensions, setting up needs a bit different steps though.
Let me know the name of the block that you run across issue. I will help you out.
Thanks,
Frank

#1
Profile photo of Frank 1460.00 $tone September 29, 2016
Public

Hi Keshab,
May I know if your site remains a fresh QuickStart installation without any customization and extension integration? Please provide me via private message here the admin and SSH credentials of your site. I will help you revert the blocks you mentioned.
Anyway, please consider to set up an instance of UB MegaMall quickstart in your local, where you can check the configuration of each blocks. 
Regards,
Frank

#3
Profile photo of Frank 1460.00 $tone September 29, 2016
Public

Hi Keshab,
I did edit your homepage, and edit “category_id” paramater in blocks to have them reverted accordingly. Kindly check again.
For your reference, please check the note below if you wish to edit source code of blocks.
Go to “app\design\frontend\Ubertheme\megamall\default\Magento_Catalog\templates\product” and edit the files
( black-friday.phtml,owl1_slider_products.phtml,owl1_slider_products_new.phtml,owl1_slider_products_onsale.phtml)
Blocks are displayed only when “category_id” value exists and contains products.
For examples:
-- Static Block “Black Friday” comes with category_id=21 paramater.
{{block class=”Magento\Catalog\Block\Product\ListProduct” category_id=”21″ product_limit=”10″ template=”Magento_Catalog::product/black-friday.phtml”}}
-- Static Block “UB Block Home & Pets” comes with category_id=5 paramater.
{{block class=”Magento\Catalog\Block\Product\ListProduct” name=”list.products1″ category_id=”5″ product_limit=”10″ template=”Magento_Catalog::product/owl1_slider_products.phtml”}}
Regards,
Frank

#5

Please login or Register to Submit Answer

Written By

Comments