Jump to content

Fatal error: Cannot pass parameter 2 by reference in /home/admin/domains/xxxxxxxxxx.xx/public_html/


Recommended Posts

I just set up a 1.5.2. store. Now when a customer confirms the payment the next message appear:

 

 

Fatal error: Cannot pass parameter 2 by reference in /home/admin/domains/*******.**/public_html/classes/PaymentModule.php on line 537

 

It did functioning well but somewhere in configuring the shop it went wrong but I do not have any idea where. I did not install custom payment modules.

 

Update:

Changed:

 

$new_history->changeIdOrderState((int)$id_order_state, (int)$order->id, true);

 

Into:

 

$new_history->changeIdOrderState((int)$id_order_state,$order->id, true);

 

Now it is working again. Can somebody explain this or is it a bug?

Edited by Martin1966 (see edit history)
Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...