1998 Posts in 530 Topics by 433 members
E-Commerce Modules
SilverStripe Forums » E-Commerce Modules » Call-time pass-by-reference has been deprecated
Discuss about the various e-commerce modules available:
Ecommerce, SS Shop, SilverCart and SwipeStripe
Alternatively, have a look the shared mailinglist.
Moderators: martimiz, Nicolaas, Howard, Sean, Ryan M., biapar, Willr, Ingo, Jedateach, swaiba, simon_w
|
Page:
1
|
Go to End | |
| Author | Topic: | 1157 Views |
-
Call-time pass-by-reference has been deprecated

11 July 2010 at 10:48pm
Hey all sorry to bother.
Getting a strange error I haven't encountered before on ss, just testing out the latest combo of ecommerce and paypal, when going to place the order with paypal I getXML Parsing Error: junk after document element
Location: http://127.0.0.1/ss/testpaypal/checkout/OrderForm
Line Number 2, Column 1:<b>Warning</b>: Call-time pass-by-reference has been deprecated in <b>C:\wamp\www\ss\testpaypal\ecommerce\code\forms\OrderForm.php</b>
any ideas?
-
Re: Call-time pass-by-reference has been deprecated

11 July 2010 at 11:00pm
OK disabling javascript while going through the checkout process revealed it was on line 101 of orderform.php
$this->extend('updateFields',&$fields);
Removing the & symbol removes the xml parse error, which is strange because it doesnt really seem like a xml error.
| 1157 Views | ||
|
Page:
1
|
Go to Top |

