31.05.2019 09:38
|
|
ecoShopUser
Name: Andrea
13.08.2012
Posts: 246
|
Error after updating to shop Version 4.18.3 (SNA)
Hey Admin, since the update to Joomla! 3.9.6 and shop Version 4.18.3, the following error appears in the backend when clicking on an order:
too few arguments to function plgJshoppingAdminAddon_sna::onBeforeDisplayOrderAdmin(), 2 passed in /xxx/xxx/xxx/xxx/libraries/joomla/event/event.php on line 70 and exactly 3 expected
Any idea how to fix this?
Andrea
|
|
31.05.2019 21:17
|
|
admin
(Support Team)
Name: Admin
05.08.2010
Posts: 25856
|
Aw: Error after updating to shop Version 4.18.3 (SNA)
Fixed in addon sna 1.5.3
|
|
04.07.2019 11:53
|
|
ecoShopUser
Name: Andrea
13.08.2012
Posts: 246
|
Aw: Error after updating to shop Version 4.18.3 (SNA)
Hey, sorry. Your addon does not work. Here is the error info after installation the latest addon version 1.5.3.
Too few arguments to function plgJshoppingOrderAddon_sna::onBeforeDisplayOrderAdmin(), 2 passed in /var/www/html/xxx/libraries/joomla/event/event.php on line 70 and exactly 3 expected
|
|
04.07.2019 12:17
|
|
admin
(Support Team)
Name: Admin
05.08.2010
Posts: 25856
|
Aw: Error after updating to shop Version 4.18.3 (SNA)
Problem in update sna or ?
url?
admin login?
(privat msg)
Last change: 04.07.2019 12:18
|
|
05.07.2019 09:58
|
|
ecoShopUser
Name: Andrea
13.08.2012
Posts: 246
|
Aw: Error after updating to shop Version 4.18.3 (SNA)
For security reasons we only install all updates locally on the test computer (localhost). Access from outside is not possible. The installation of SNA works. No order details can be retrieved in the backend. Then the error appears. On your test system you can certainly reproduce this. SNA is very important for our shop. If the addon doesn't work we can't do a Joomla or a shop update in the production system. The Joomla update is absolutely necessary.
Installed SNA Version: 1.5.3
Joomla: Joomla! 3.9.8 JoomShopping: Version 4.18.3 Website Url: localhost
|
|
05.07.2019 11:59
|
|
admin
(Support Team)
Name: Admin
05.08.2010
Posts: 25856
|
Aw: Error after updating to shop Version 4.18.3 (SNA)
open file
plugins\jshoppingadmin\addon_sna\addon_sna.php
row 203 ?
function onBeforeDisplayOrderAdmin (&$order, &$order_items){
open file
administrator\components\com_jshopping\controllers\orders.php
row 174 ?
$dispatcher->trigger('onBeforeDisplayOrderAdmin', array(&$order, &$order_items));
Last change: 05.07.2019 12:03
|
|
09.07.2019 15:46
|
|
ecoShopUser
Name: Andrea
13.08.2012
Posts: 246
|
Aw: Error after updating to shop Version 4.18.3 (SNA)
Yes, the lines are correct.
The code is the same.
But in:
plugins/jshoppingorder/addon_sna/addon_sna.php is a function with 3 parameters...
Last change: 09.07.2019 16:20
|
|
09.07.2019 20:25
|
|
admin
(Support Team)
Name: Admin
05.08.2010
Posts: 25856
|
Aw: Error after updating to shop Version 4.18.3 (SNA)
plugins/jshoppingorder/addon_sna/addon_sna.php is a function with 3 parameters
Old version sna
See new version.
|
|
10.07.2019 08:14
|
|
ecoShopUser
Name: Andrea
13.08.2012
Posts: 246
|
Aw: Error after updating to shop Version 4.18.3 (SNA)
Hello,
Not working. In sna-1.5.3 plugins/jshoppingorder/addon_sna/addon_sna.php line 28:
function onBeforeDisplayOrderAdmin(&$order, &$order_items, &$order_history){
|
|
10.07.2019 08:33
|
|
admin
(Support Team)
Name: Admin
05.08.2010
Posts: 25856
|
Aw: Error after updating to shop Version 4.18.3 (SNA)
Sorry. Yes.
Problem in 2 files
plugins\jshoppingadmin\addon_sna\addon_sna.php
plugins\jshoppingorder\addon_sna\addon_sna.php
Fixed in addon sna 1.5.4
Last change: 10.07.2019 08:33
|
|
12.07.2019 11:34
|
|
ecoShopUser
Name: Andrea
13.08.2012
Posts: 246
|
Aw: Error after updating to shop Version 4.18.3 (SNA)
Thanks! now it works.
|
|