0

I have block call in the home page and in block, I have added this content:

{{block class="Mageplaza\BetterSlider\Block\Slider" template="Mageplaza_BetterSlider::slider.phtml" banner_id="2" }}

But the error is coming on home page We're sorry, an error has occurred while generating this content.
I think I am calling the template file wrong any help will be appreciated

  • check file path of phtml file and module name also – Rk Rathod Mar 15 at 13:57
  • Can you check the exact errors in reports directory under var directory? – Sukumar Gorai Mar 15 at 14:13
  • are you using any module ? – Pawan Mar 15 at 17:34
  • no i am using extenstion of mageplaza – Ashish Ramchandani Mar 18 at 4:58

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.