Undefined property: Proxy::getTotal in

769 views
Skip to first unread message

Jerome Bohg

unread,
Nov 22, 2016, 5:50:41 AM11/22/16
to TheOne Pos support
I did a clean Opencart install (v2.3.0.2), installed VQMOD, the Journal theme and next TheOnePos module (I downloaded the latest release). I got a few blank pages when saving the settings page and updating the modifications but it seems to be working now. Only, when going to the front-end of the website I'm getting the following error:

Warning: Invalid argument supplied for foreach() in /home/dngine/domains/dngine.nl/public_html/skipits/vqmod/vqcache/vq2-system_storage_modification_system_engine_loader.php on line 64Notice: Undefined property: Proxy::getTotal in /home/dngine/domains/dngine.nl/public_html/skipits/system/storage/modification/catalog/controller/common/cart.php on line 37

Could you help me out in solving this issue?

Greetings
Jerome

Jerome Bohg

unread,
Nov 22, 2016, 9:30:06 AM11/22/16
to TheOne Pos support
I managed to fix the issue myself. I think in OC version 2.3 they made some changes. Therefore the path to the total models has changed. Both the POS total classes (catalog/model/extension/total) should be renamed to:

class ModelExtensionTotalPosDiscount extends Model {

and

class ModelExtensionTotalPosRounding extends Model {

This did the trick for me. I hope this helps and hope the developer will fix the issue in a new relaese.

Whichone

unread,
Nov 23, 2016, 5:32:00 AM11/23/16
to TheOne Pos support
Thanks. We'll have some check on that.

BillyBoyle

unread,
Dec 9, 2016, 6:45:07 PM12/9/16
to TheOne Pos support
Hi Jerome I was having the same issue, posted here before I found your fix. Did work for me as well, clears the error message and allows access to the frontend of the site. Which is a handy outcome.
Reply all
Reply to author
Forward
0 new messages