Post by fadichmn » Mon Nov 06, 2017 5:45 pm

Hello,

I am trying to enable Payment module "Klarna Checkout", it uses API for sure. I checked the logs when I tried to activate it and it says:

Code: Select all

2017-11-06 9:31:39 - PHP Notice:  Trying to get property of non-object in /home/admin/domains/gameffect.se/public_html/butik/catalog/controller/startup/session.php on line 10
2017-11-06 9:31:39 - PHP Notice:  Undefined index: username in /home/admin/domains/gameffect.se/public_html/butik/catalog/controller/api/login.php on line 11
I tried with other Payment modules that uses API and I still get the same issue. Is there any fix or trick for this?

Newbie

Posts

Joined
Thu Jun 01, 2017 7:47 am

Post by straightlight » Tue Nov 14, 2017 4:19 am

The username field is missing from your oc_api database table. You probably migrated from a prior version of Opencart but did not upgraded the database tables and fields for the current version of Opencart you didn't provided on your last post.

The most generated errors being found on Opencart forum originates from contributed programming. The increased post counters are caused by redundancies of the same solutions that were already provided prior.


Regards,
Straightlight
Opencart.com Administrator / Quality Assurance Analyst / Programmer


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON
Who is online

Users browsing this forum: No registered users and 5 guests