0

For some odd reason <email> </email> breaks my page in system > transactional emails.

<template>
    <email>
        <notification_tpl module="Notification">
            <label>Product Notification</label>
            <file>Notification.html</file>
            <type>html</type>
        </notification_tpl>
    </email>
</template>

The only thing that loads is the template drop-down at the top and it no longer functions and the rest of the page below it is broken.

I noticed when i delete <email> </email> and leave the rest the page builds it's self proper like again.

1 Answer 1

2

i think problem with your module name module="Notification"

change it to module="notification".

@fschmengler mention..

Explanation: This is used to determine the helper for translation, and if Mage::helper('Notification') returns nothing, it breaks with a cannot call __ on null error.

2
  • 2
    Explanation: This is used to determine the helper for translation, and if Mage::helper('Notification') returns nothing, it breaks with a "cannot call __ on null" error. Commented Jun 28, 2016 at 6:10
  • Why are you telling me this? I agree with you, just wanted to add some explanation why it is wrong ;-) Commented Jun 28, 2016 at 6:14

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.