Post by Shira14 » Tue Feb 23, 2021 12:57 am

Hi, latest 3.x version, I get this error when I click on Sales in the admin area, any ideas?

Notice: Undefined property: Proxy::deleteApiSessionBySessonId in /home/*/ocartdata/storage/modification/admin/controller/sale/order.php on line 79

Newbie

Posts

Joined
Sat Apr 11, 2020 5:40 pm

Post by straightlight » Tue Feb 23, 2021 1:13 am

Shira14 wrote:
Tue Feb 23, 2021 12:57 am
Hi, latest 3.x version, I get this error when I click on Sales in the admin area, any ideas?

Notice: Undefined property: Proxy::deleteApiSessionBySessonId in /home/*/ocartdata/storage/modification/admin/controller/sale/order.php on line 79
Already fixed in v3.0.3.7 and the master branch. You're not using the latest version. admin/model/user/api.php file.

Replace:

Code: Select all

deleteApiSessionBySessonId
with:

Code: Select all

deleteApiSessionBySessionId
Same in your controllers. These will resolve those error issues.

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
Programmer / Opencart Tester


Legendary Member

Posts

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

Post by Shira14 » Thu Feb 25, 2021 5:00 pm

straightlight wrote:
Tue Feb 23, 2021 1:13 am
Shira14 wrote:
Tue Feb 23, 2021 12:57 am
Hi, latest 3.x version, I get this error when I click on Sales in the admin area, any ideas?

Notice: Undefined property: Proxy::deleteApiSessionBySessonId in /home/*/ocartdata/storage/modification/admin/controller/sale/order.php on line 79
Already fixed in v3.0.3.7 and the master branch. You're not using the latest version. admin/model/user/api.php file.

Replace:

Code: Select all

deleteApiSessionBySessonId
with:

Code: Select all

deleteApiSessionBySessionId
Same in your controllers. These will resolve those error issues.
I am in v3.0.3.7, that error in api.php was already fixed.

Newbie

Posts

Joined
Sat Apr 11, 2020 5:40 pm

Post by Shira14 » Thu Feb 25, 2021 5:07 pm

Performing a search for that wrong call I found this however:

Code: Select all

[root@server *]# grep -rnw '/home/*/' -e 'deleteApiSessionBySessonId'

/home/*/ocartdata/storage/modification/admin/controller/sale/order.php:453:
$this->model_user_api->deleteApiSessionBySessonId($session->getId());

/home/*/ocartdata/storage/modification/admin/controller/sale/order.php:760:
$this->model_user_api->deleteApiSessionBySessonId($session->getId());

/home/*/ocartdata/storage/modification/admin/controller/sale/order.php:1304:
$this->model_user_api->deleteApiSessionBySessonId($session->getId());

/home/*/domains/*/public_html/admin/controller/extension/payment/klarna_checkout.php:547:
$this->model_user_api->deleteApiSessionBySessonId($session->getId());

/home/*/domains/*/public_html/admin/controller/marketplace/openbay.php:1092:
$this->model_user_api->deleteApiSessionBySessonId($session->getId());

/home/*/domains/*/public_html/admin/controller/marketplace/openbay.php:1134:
$this->model_user_api->deleteApiSessionBySessonId($session->getId());

[root@server *]#

Newbie

Posts

Joined
Sat Apr 11, 2020 5:40 pm

Post by Shira14 » Thu Feb 25, 2021 5:13 pm

Modified all the instances manually and it's now working correctly, thank you.

Newbie

Posts

Joined
Sat Apr 11, 2020 5:40 pm

Post by straightlight » Sat Feb 27, 2021 10:22 pm

Shira14 wrote:
Tue Feb 23, 2021 12:57 am
Hi, latest 3.x version, I get this error when I click on Sales in the admin area, any ideas?

Notice: Undefined property: Proxy::deleteApiSessionBySessonId in /home/*/ocartdata/storage/modification/admin/controller/sale/order.php on line 79
/home/*/domains/*/public_html/admin/controller/marketplace/openbay.php:1092:
$this->model_user_api->deleteApiSessionBySessonId($session->getId());

/home/*/domains/*/public_html/admin/controller/marketplace/openbay.php:1134:
$this->model_user_api->deleteApiSessionBySessonId($session->getId());

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
Programmer / Opencart Tester


Legendary Member

Posts

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

Post by BlaqJeneral » Mon Mar 15, 2021 4:55 pm

am also have same issue when i click on total sales " Notice: Undefined property: Proxy::deleteApiSessionBySessonId in /home/xxxxxxx/storage-xxxxcxx-DATA/modification/system/engine/action.php on line 79? and i can't find any thing related to that in the line! Please i need help urgently

Newbie

Posts

Joined
Mon Mar 15, 2021 4:49 pm

Post by mikeinterserv » Mon Mar 15, 2021 10:54 pm

BlaqJeneral wrote:
Mon Mar 15, 2021 4:55 pm
Notice: Undefined property: Proxy::deleteApiSessionBySessonId in /home/xxxxxxx/storage-xxxxcxx-
Please i need help urgently
Look at this
The answer is above

Active Member

Posts

Joined
Thu May 28, 2020 6:55 am
Location - Wales

Post by Dantien » Wed Apr 14, 2021 9:03 pm

Hi. I am new to opencart. Running Version 3.0.3.7. I just moved my site to another webhost and it is now working fine. But i notices that when i click on sales, as described above. i get this error: Notice: Undefined property: Proxy::deleteApiSessionBySessonId in xxxxxx/storage/modification/admin/controller/sale/order.php on line 12

Is this the same error, or is it something else?
And also, i did not understand how to fix the problem above if this is the same. Need spoon input... :p
Hope someone can help

Newbie

Posts

Joined
Wed Jan 27, 2021 12:16 am

Post by thekrotek » Wed Apr 14, 2021 9:14 pm

Dantien wrote:
Wed Apr 14, 2021 9:03 pm
Hi. I am new to opencart. Running Version 3.0.3.7. I just moved my site to another webhost and it is now working fine. But i notices that when i click on sales, as described above. i get this error: Notice: Undefined property: Proxy::deleteApiSessionBySessonId in xxxxxx/storage/modification/admin/controller/sale/order.php on line 12

Is this the same error, or is it something else?
And also, i did not understand how to fix the problem above if this is the same. Need spoon input... :p
Hope someone can help
mikeinterserv wrote:
Mon Mar 15, 2021 10:54 pm
Look at this
The answer is above

Professional OpenCart extensions, support and custom work.
Contact me via email or Skype by support@thekrotek.com


User avatar
Expert Member

Posts

Joined
Sun Jul 03, 2016 12:24 am

Who is online

Users browsing this forum: No registered users and 23 guests