jstats Error

03.04.2019 15:05
#1
le5
Joomshopping forum user no avatar
Name: le5 GmbH
17.03.2012
Posts: 69
Quote
jstats Error

Just noticed an error in jStats when using Coupons.
As soon you want to activate the coupon you get following error:

Too few arguments to function JStatHelper::logCoupon(), 2 passed in \plugins\jshoppingcheckout\jstat\jstat.php on line 75 and exactly 3 expected


As a temporary workaround I disabled the function call on line 75

public function onAfterDiscountSave(&$coupon, &$cart)
{
if(JStatHelper::config('log_coupons'))
{
//JStatHelper::logCoupon($coupon, $cart->rabatt_summ);
}
}


Joomla: 3.9.4
JoomShopping: 4.18.2
PHP: 7.1.27
MySQL: 5.5.5-10.1.37-MariaDB
 
03.04.2019 21:39
#2
admin
(Support Team)
User admin
Name: Admin
05.08.2010
Posts: 20500
Quote
Aw: jstats Error

install Joomshopping Stats 1.7.1

 
04.04.2019 13:23
#3
le5
Joomshopping forum user no avatar
Name: le5 GmbH
17.03.2012
Posts: 69
Quote
Aw: jstats Error

Updated jstats. Now I get an error in the helper function logCoupon()

1054

Unknown column 'cart_total' in 'field list'

any advise?

 
04.04.2019 14:13
#4
admin
(Support Team)
User admin
Name: Admin
05.08.2010
Posts: 20500
Quote
Aw: jstats Error

Update from old version?

Install Joomshopping Stats 1.7.2


Last change: 04.04.2019 14:16
 
08.04.2019 16:56
#5
le5
Joomshopping forum user no avatar
Name: le5 GmbH
17.03.2012
Posts: 69
Quote
Aw: jstats Error - Missing Search

Version 1.7.2 works.
But my customer noticed, that the search posibility unter Products is missing.
The allways used this usefull filter to search after a specific article.
Aw: jstats Error - Missing Search

 
10.08.2019 13:27
#6
admin
(Support Team)
User admin
Name: Admin
05.08.2010
Posts: 20500
Quote
Aw: jstats Error

New version:
Joomshopping Stats 1.7.4

 


Copyrights MAXXmarketing GmbH. Alle Rechte vorbehalten
Durch die Nutzung dieser Website stimme ich zu, dass Cookies zur optimalen Gestaltung der Website sowie zur Analyse der Nutzung der Website verwendet werden. Weiterführende Informationen finden Sie hier. OK, einverstanden.