I am using Claue theme magento 2.4.2 with custom page (default) provided by claue theme. Code i was using is given below:
{{block class="Magento\Contact\Block\ContactForm" name="contactForm" template="Magento_Contact::form.phtml"}}
But whenever I open the page in browser I get 502 error and php-fpm user for magento exits. If i remove the template
from the above code, then it works fine without any error. I am not sure what's causing the error.
But yes, before this error, what I did was installed module https://github.com/Mestrona/Mestrona_CategoryRedirect
, but even though I have now removed it. I am still getting the error. I then deleted the directory root and restored the directory from previous backup, but its still the same.
I am not sure if some data was changed in the database. Any help?
EDIT:
I also removed the redis cache but its still the same.