Post by santolla » Sun Jul 28, 2013 5:29 pm

When trying reorder a product,

I get this error:

Warning: Missing argument 4 for Cart::add(), called in /home3/eshopal1/public_html/opencart/1.5.6/catalog/controller/account/order.php on line 41 and defined in /home3/eshopal1/public_html/opencart/1.5.6/system/library/cart.php on line 318Notice: Undefined variable: profile_id in /home3/eshopal1/public_html/opencart/1.5.6/system/library/cart.php on line 327Warning: Cannot modify header information - headers already sent by (output started at /home3/eshopal1/public_html/opencart/1.5.6/index.php:104) in /home3/eshopal1/public_html/opencart/1.5.6/system/engine/controller.php on line 28Warning: Cannot modify header information - headers already sent by (output started at /home3/eshopal1/public_html/opencart/1.5.6/index.php:104) in /home3/eshopal1/public_html/opencart/1.5.6/system/engine/controller.php on line 29

Using the default template.

Active Member

Posts

Joined
Mon Mar 08, 2010 8:21 am

Post by equanimity » Thu Aug 01, 2013 11:28 pm

me too is getting this error. Clean 1.5.6 instalation

Newbie

Posts

Joined
Thu Aug 01, 2013 11:19 pm

Post by rph » Fri Aug 02, 2013 12:21 am

Another bug from the OpenBay integration.

-Ryan


rph
Expert Member

Posts

Joined
Fri Jan 08, 2010 5:05 am
Location - Lincoln, Nebraska

Post by butte » Fri Aug 02, 2013 7:32 am

On the bright side, you're already contributing to what will shortly come out as 1.5.6.1, but meanwhile you'll have that continue unless you revert to 1.5.5.1 (assuming you kept a mirror or complete backup of fileset and database, both).

Guru Member

Posts

Joined
Wed Mar 20, 2013 6:58 am

Post by ipse » Wed Aug 28, 2013 7:19 pm

I'm getting this error with 1.5.6 in two different places:

Code: Select all

2013-08-20 17:02:04 - PHP Warning:  Missing argument 4 for Cart::add(), called in /catalog/controller/checkout/manual.php on line 104 and defined in /system/library/cart.php on line 318
2013-08-20 17:02:04 - PHP Notice:  Undefined variable: profile_id in /system/library/cart.php on line 327
2013-08-28 10:22:46 - PHP Warning:  Missing argument 4 for Cart::add(), called in /catalog/controller/account/order.php on line 41 and defined in /system/library/cart.php on line 318
2013-08-28 10:22:46 - PHP Notice:  Undefined variable: profile_id in /system/library/cart.php on line 327

New member

Posts

Joined
Mon Mar 01, 2010 5:00 am

Post by reason8 » Mon Sep 09, 2013 10:25 pm

Im getting the same error when I edit an order and save with both ebay imported and normal orders. OC 1.5.6

PHP Warning: Missing argument 4 for Cart::add(), called in catalog/controller/checkout/manual.php on line 74 and defined in system/library/cart.php on line 318
PHP Notice: Undefined variable: profile_id in system/library/cart.php on line 327

Newbie

Posts

Joined
Mon Mar 18, 2013 1:42 pm

Post by MarketInSG » Tue Sep 10, 2013 12:09 am

reason8 wrote:Im getting the same error when I edit an order and save with both ebay imported and normal orders. OC 1.5.6

PHP Warning: Missing argument 4 for Cart::add(), called in catalog/controller/checkout/manual.php on line 74 and defined in system/library/cart.php on line 318
PHP Notice: Undefined variable: profile_id in system/library/cart.php on line 327
a bug with v1.5.6. They are doing something about it. Would recommend you to go with v1.5.5.1


User avatar
Guru Member

Posts

Joined
Wed Nov 16, 2011 11:53 am
Location - Singapore

Post by Ed_Rolla » Wed Sep 11, 2013 10:15 pm

Same error over here. o/

I'll just disable that "reorder" button for now... since it isn't vital to the store survival, seems to be the the easiest way around. :-\

WIP Design Publicidade e Marketing Digital


User avatar
Newbie

Posts

Joined
Sun Jul 15, 2012 12:16 am
Location - Brazil, Rio de Janeiro

Post by rph » Wed Sep 11, 2013 11:57 pm

I posted a fix in the 1.5.6 bug thread.

-Ryan


rph
Expert Member

Posts

Joined
Fri Jan 08, 2010 5:05 am
Location - Lincoln, Nebraska

Post by Ed_Rolla » Thu Sep 12, 2013 1:50 am

rph wrote:I posted a fix in the 1.5.6 bug thread.
Hi, rph!

Can you point us the link?
Cheers!

WIP Design Publicidade e Marketing Digital


User avatar
Newbie

Posts

Joined
Sun Jul 15, 2012 12:16 am
Location - Brazil, Rio de Janeiro

rph
Expert Member

Posts

Joined
Fri Jan 08, 2010 5:05 am
Location - Lincoln, Nebraska

Post by Ed_Rolla » Thu Sep 12, 2013 11:01 pm

Thanks!

WIP Design Publicidade e Marketing Digital


User avatar
Newbie

Posts

Joined
Sun Jul 15, 2012 12:16 am
Location - Brazil, Rio de Janeiro

Post by nuski » Mon Mar 31, 2014 11:15 pm


Thanks, it was helpful in v.1.5.6.1

Newbie

Posts

Joined
Tue Mar 11, 2014 12:37 pm
Who is online

Users browsing this forum: No registered users and 5 guests