cancel
Showing results for 
Search instead for 
Did you mean: 

Backend Order Creation = PHP Fatal Error

Backend Order Creation = PHP Fatal Error

So I am having probolems with my emails going out, and was trying to test them by using the Send email button on the backend in a test order I created. I end up with a blank screen. I tried to manually create an order in the backend and get the same error.

 

I can't find any info on this anywhere I looked. Anyone have any ideas?

 

PHP Fatal error: Call to a member function setEntityId() on boolean in /var/www/html/app/code/core/Mage/Sales/Model/Order.php on line 1351, referer: https://mydomain.com/index.php/admin/sales_order_create/index/key/82694c394f6e20dc0b3ff67685c6c79d/

 

This same error also happens while I create the order from the customer side. The order creates, but no email go out. Not sure if they are related or not...

 

PHP Fatal error: Call to a member function setEntityId() on boolean in /var/www/html/app/code/core/Mage/Sales/Model/Order.php on line 1351, referer: https://mydomain.com/checkout/onepage/

3 REPLIES

Re: Backend Order Creation = PHP Fatal Error

SELinux was the culprit of all of my email and error blues...

Re: Backend Order Creation = PHP Fatal Error

What was the issue?? I am having the same problem and cannot seem to figure it out?

Re: Backend Order Creation = PHP Fatal Error

I'm also having this issue. Any direction would be appreciated.