liqiusheng / silverstripe-ecommerce

Automatically exported from code.google.com/p/silverstripe-ecommerce
0 stars 0 forks source link

Fatal error: Cannot access private property Email::$send_all_emails_to #593

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
e-commerce version: 19/10/2013

SilverStripe version: 3.1 from github

What steps will reproduce the problem?

http://127.0.0.1/en-us/checkout/order-confirmation/showorder/911/

send a copy of receipt to info at jfactivesoft point com 
http://127.0.0.1/en-us/checkout/order-confirmation/sendemail/911//?send=1

Error:

( ! ) SCREAM: Error suppression ignored for
( ! ) Fatal error: Cannot access private property Email::$send_all_emails_to in 
C:\wamp\www\ecommerce\code\email\Order_Email.php on line 148
Call Stack
#   Time    Memory  Function    Location
1   0.0008  426704  {main}( )   ..\main.php:0
2   0.1736  17656128    Director::direct( ) ..\main.php:189
3   0.1758  17822048    Director::handleRequest( )  ..\Director.php:152
4   0.1811  18007736    ModelAsController->handleRequest( ) ..\Director.php:360
5   0.5045  25223104    ContentController->handleRequest( 
)   ..\ModelAsController.php:68
6   0.5220  26290064    ContentController->handleRequest( 
)   ..\ContentController.php:203
7   0.5227  26294056    Controller->handleRequest( )    ..\ContentController.php:220
8   0.6799  29526840    RequestHandler->handleRequest( )    ..\Controller.php:153
9   0.6807  29533072    Controller->handleAction( ) ..\RequestHandler.php:200
10  0.6807  29533256    RequestHandler->handleAction( ) ..\Controller.php:194
11  0.6808  29533544    OrderConfirmationPage_Controller->sendemail( 
)   ..\RequestHandler.php:288
12  0.6951  29959232    Order->sendEmail( ) ..\OrderConfirmationPage.php:480
13  0.6951  29959232    Order->prepareEmail( )  ..\Order.php:1206
14  0.7489  32520136    Order_Email->send( )    ..\Order.php:1280
15  1.5166  39853224    Order_Email->createRecord( )    ..\Order_Email.php:124

Regards,
Jose A

Original issue reported on code.google.com by supp...@sendasoft.com on 19 Oct 2013 at 7:22

GoogleCodeExporter commented 8 years ago
FIXED>>> I HOPE... in SVN (NOT IN GIT YET)

Original comment by nfranc...@gmail.com on 27 Oct 2013 at 10:37