Post by Rainforest » Tue Feb 16, 2016 6:18 pm

Finally got my OC 2.1.0.2 site up and running (for the most part).

I did notice some error log messages and have no idea what they are about.

PHP Notice: Indirect modification of overloaded property ControllerCheckoutCheckoutOne::$data has no effect in /home/xxxxx/public_html/catalog/controller/checkout/checkout_one.php on line 37

I also get the above error message referring to lines 147, 155, 158, 162, 173, and 249

and

2016-02-16 2:57:15 - PHP Warning: array_merge(): Argument #1 is not an array in /home/xxxxx/public_html/catalog/controller/checkout/checkout_one.php on line 31

2016-02-16 2:57:15 - PHP Warning: array_merge(): Argument #1 is not an array in /home/xxxxx/public_html/catalog/controller/checkout/checkout_one.php on line 32

2016-02-16 2:57:15 - PHP Warning: array_merge(): Argument #1 is not an array in /home/xxxxx/public_html/catalog/controller/checkout/checkout_one.php on line 33

I am using the built in checkout of OC 2.1.0.2

Self Taught Opencart User & Developer Since 2010.


User avatar
Active Member

Posts

Joined
Fri Jan 28, 2011 3:50 am

Post by pm-netti » Tue Feb 16, 2016 7:30 pm

Rainforest wrote: PHP Notice: Indirect modification of overloaded property ControllerCheckoutCheckoutOne::$data has no effect in /home/xxxxx/public_html/catalog/controller/checkout/checkout_one.php on line 37
What is this line 37? Is there version 1..5.x script $this->data?

User avatar
Active Member

Posts

Joined
Sat Apr 07, 2012 11:22 pm
Location - Kittilä, Finland

Post by ocart777 » Tue Feb 16, 2016 8:51 pm

Rainforest wrote: PHP Notice: Indirect modification of overloaded property ControllerCheckoutCheckoutOne::$data has no effect in /home/xxxxx/public_html/catalog/controller/checkout/checkout_one.php on line 37

I also get the above error message referring to lines 147, 155, 158, 162, 173, and 249

I am using the built in checkout of OC 2.1.0.2
it's doesn't seem like you were using a build in checkout as there are no core file with that name(checkout_one.php) however make a backup of this file then open it up. if you have line which is start with $this->data[' blablabla... then you may continue.
search for all*

Code: Select all

$this->data[' 
replace it with

Code: Select all

$data['

You can't control the weather, but you can change your mood.
You can't modify the visage, but you can show your smile.
You can't command someone else, but you can hold yourself.
You can't forecast tomorrow, but you can using today.
You can't obtain thanks, but you can exert yourself in everything.


OCEXTENSION.COM - YOUR PROFESSIONAL OPENCART EXTENSION STORE


User avatar
Active Member

Posts

Joined
Mon Jun 10, 2013 4:57 pm
Location - Malaysia

Post by Rainforest » Tue Feb 16, 2016 10:27 pm

Ah, my old site used Uber Checkout by Qphoria but it was uninstalled when I upgraded. the files are still there but I didn't think they were active.
I guess I could delete them manually? Would that cause harm?

Self Taught Opencart User & Developer Since 2010.


User avatar
Active Member

Posts

Joined
Fri Jan 28, 2011 3:50 am
Who is online

Users browsing this forum: Semrush [Bot] and 26 guests