How to solve “Duplicate Of Template Name”?
-
13-04-2021 - |
他のヒント
Duplicate of Template name comes from the module-email So setup:upgrade tries to add e-mail templates that already exist. Remove any non altered templates from the database.
hey i had the same problem , Remko de Keijzer is right here , the problem is any module is trying to add email template that already exist , to solve this
- open your database
- RUN
SELECT * FROM email_template
- Here in the
template_code
column andorig_template_code
you will find the duplicate template id . You just have to remove that row from the table. - To find which one is duplicate go to Setup/InstallData.php file of the problematic module , like in the above example error comes immediately below Amasty_Rma so it is problematic.
Hope this saves your time
所属していません magento.stackexchange