1

Am facing problem on order email notification not sent to customer.

I don't know why, but when i search some articles it maybe cause of cron jobs not working.

Here's my error log:

exception 'Varien_Exception' with message 'Invalid method Mage_Sales_Model_Order::queueNewOrderEmail(Array ( ) )' in /home/ohmyprimus/public_html/lib/Varien/Object.php:653 Stack trace:

1
  • Array ( ) looks like an empty array to me, thus it has no one to send mails to. Jan 8, 2015 at 10:36

1 Answer 1

1

Well, your problem is that Mage_Sales_Model_Order::queueNewOrderEmail doesn't exist prior to version 1.9.1

If you have a version of Magento prior to this, I think the function you're looking for is:

sendNewOrderEmail

When you view the stack trace, (which exists below the 'Stack Trace:') line in your error log, it will show you the exact file and function that calls this erroneous function.

If you have upgraded, open app/code/core/Mage/Sales/Model/Order.php and look for the queueNewOrderEmail function. If it's not there, then it's possible that you don't have the latest file.

Your Answer

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

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