- Posts: 637
- Thank you received: 26
Error with Cart Module Design
7 years 4 months ago #307194
by Lumiga
Kind regards,
Lumiga
Error with Cart Module Design was created by Lumiga
-- HikaShop version -- : 4.0.3
-- Joomla version -- : 3.9
-- PHP version -- : 7.3
-- Error-message(debug-mod must be tuned on) -- : Call to a member function getRounding() on null
Hi Support,
When we activate the plugin (cart module design) we get this error:
Call to a member function getRounding() on null
When we set debug system on YES en turn on the error reporting on Maximum we get this inomation:
We use a Yootheme Pro template:
yootheme.com/
Hope you can fix this error.
Kind regards,
Lumiga
-- Joomla version -- : 3.9
-- PHP version -- : 7.3
-- Error-message(debug-mod must be tuned on) -- : Call to a member function getRounding() on null
Hi Support,
When we activate the plugin (cart module design) we get this error:
Call to a member function getRounding() on null
When we set debug system on YES en turn on the error reporting on Maximum we get this inomation:
We use a Yootheme Pro template:
yootheme.com/
Hope you can fix this error.
Kind regards,
Lumiga
Kind regards,
Lumiga
Please Log in or Create an account to join the conversation.
7 years 4 months ago #307195
by Philip
Replied by Philip on topic Error with Cart Module Design
Hello,
Thanks for your return and sorry for this, there were some little mistake that can only appear when you display Tax in module cart.
It seems that you are the first !
To get the correction you can update the plugin and install it again to get the correction.
Sorry again for inconvenience !
Regards
Thanks for your return and sorry for this, there were some little mistake that can only appear when you display Tax in module cart.
It seems that you are the first !
To get the correction you can update the plugin and install it again to get the correction.
Sorry again for inconvenience !
Regards
Please Log in or Create an account to join the conversation.
7 years 4 months ago - 7 years 4 months ago #307211
by Lumiga
Kind regards,
Lumiga
Replied by Lumiga on topic Error with Cart Module Design
Hi Philip,
No problem, but when I download it again and install it again the issue is still not solved.
The error now is: Call to undefined function hikashop_isClient()
Hope you can fix it.
Kind regards,
Lumiga
No problem, but when I download it again and install it again the issue is still not solved.
The error now is: Call to undefined function hikashop_isClient()
Hope you can fix it.
Kind regards,
Lumiga
Kind regards,
Lumiga
Last edit: 7 years 4 months ago by Lumiga.
Please Log in or Create an account to join the conversation.
7 years 4 months ago - 7 years 4 months ago #307239
by Philip
Replied by Philip on topic Error with Cart Module Design
Hello,
Ok other issue that need to be correct then... It come from you use an earlier version of HikaShop 4.1.0.
You don't have an hikashop function set in your HikaShop Helper.
I will help you to solve the issue on your side, step by step :
1. Go to YourWebSite\plugins\hikashop\cart_design
2. Open cart_design.php file
3. Add this :
To have this, take care it's important that you add this code at this specific location, view my screenshot :
Note that this will be of course added to our code on our side.
Sorry again for inconvenience...
Regards
Ok other issue that need to be correct then... It come from you use an earlier version of HikaShop 4.1.0.
You don't have an hikashop function set in your HikaShop Helper.
I will help you to solve the issue on your side, step by step :
1. Go to YourWebSite\plugins\hikashop\cart_design
2. Open cart_design.php file
3. Add this :
Code:
if (!function_exist('hikashop_isClient')) {
if(!HIKASHOP_J40){
function hikashop_isClient($type) {
static $test = array();
if(!isset($test[$type])) {
$app = JFactory::getApplication();
if($type == 'administrator')
$test[$type] = $app->isAdmin();
else
$test[$type] = $app->isSite();
}
return $test[$type];
}
} else {
function hikashop_isClient($type) {
static $test = array();
if(!isset($test[$type])) {
$app = JFactory::getApplication();
$test[$type] = $app->isClient($type);
}
return $test[$type];
}
}
}
Note that this will be of course added to our code on our side.
Sorry again for inconvenience...
Regards
Last edit: 7 years 4 months ago by Philip.
Please Log in or Create an account to join the conversation.
Time to create page: 0.168 seconds