cassim Posted August 20, 2012 Share Posted August 20, 2012 Fatal error: Uncaught exception 'Swift_Message_MimeException' with message 'Something went wrong whilst trying to move some MIME parts during an attach(). The MIME component threw an exception:<br />Cannot remove child part identified by '5032870267469' as it does not exist. Consider using hasChild() to check.' in /home/customda/public_html/tools/swift/Swift/Message.php:543 Stack trace: #0 /home/customda/public_html/classes/Mail.php(182): Swift_Message->attach(Object(Swift_Message_Part)) #1 /home/customda/public_html/cassim/tabs/AdminOrders.php(191): MailCore::Send(4, 'order_merchant_...', 'Ny meddelelse v...', Array, 'frederik.sejer@...', 'Frederik Sejer', NULL, NULL, NULL, NULL, '/home/customda/...', true) #2 /home/customda/public_html/cassim/index.php(106): AdminOrders->postProcess() #3 {main} thrown in /home/customda/public_html/tools/swift/Swift/Message.php on line 543 This error am i getting when i try to write a mail to my customer. Link to comment Share on other sites More sharing options...
emagiero Posted October 23, 2012 Share Posted October 23, 2012 In /tools/swift/Swift/Message.php at line 623 replace $this->getReference("parent", $old_branch)->removeChild($id); with if($this->getReference("parent", $old_branch)->hasChild($id)){ $this->getReference("parent", $old_branch)->removeChild($id); } I have prestashop PrestaShop™ 1.4.6.2 and it works Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now