- Posts: 80
- Thank you received: 0
Upgrading Didn't Fix Warning Error, Made More
11 years 7 months ago #190564
by Lynn
Upgrading Didn't Fix Warning Error, Made More was created by Lynn
-- url of the page with the problem -- :
www.notavailable.com
-- HikaShop version -- : 2.3.5
-- Joomla version -- : 3.2.1
-- PHP version -- : 5.4.36
-- Browser(s) name and version -- : unrelated
-- Error-message(debug-mod must be tuned on) -- : The ... is a part of our domain name. Check this warning:
Warning: Creating default object from empty value in /home/.../public_html/modules/mod_sl_hikashopaccordion/helpers/categories.php on line 76
You recommended upgrading to a newer version 2.3.5. I did. It did not eliminate this error. It also introduced this error below, showing on high level categories with broken images:
Notice: Trying to get property of non-object in /home/.../public_html/components/com_hikashop/views/category/tmpl/listing_img_title.php on line 17
The ... is a part of our domain name. Check out warning:
Warning: Creating default object from empty value in /home/.../public_html/modules/mod_sl_hikashopaccordion/helpers/categories.php on line 76
You recommended to me upgrading to a newer version 2.3.5 would eliminate this . I did. It did not eliminate this error. It also introduced this error below, showing on high level categories with broken images:
Notice: Trying to get property of non-object in /home/.../public_html/components/com_hikashop/views/category/tmpl/listing_img_title.php on line 17
-- HikaShop version -- : 2.3.5
-- Joomla version -- : 3.2.1
-- PHP version -- : 5.4.36
-- Browser(s) name and version -- : unrelated
-- Error-message(debug-mod must be tuned on) -- : The ... is a part of our domain name. Check this warning:
Warning: Creating default object from empty value in /home/.../public_html/modules/mod_sl_hikashopaccordion/helpers/categories.php on line 76
You recommended upgrading to a newer version 2.3.5. I did. It did not eliminate this error. It also introduced this error below, showing on high level categories with broken images:
Notice: Trying to get property of non-object in /home/.../public_html/components/com_hikashop/views/category/tmpl/listing_img_title.php on line 17
The ... is a part of our domain name. Check out warning:
Warning: Creating default object from empty value in /home/.../public_html/modules/mod_sl_hikashopaccordion/helpers/categories.php on line 76
You recommended to me upgrading to a newer version 2.3.5 would eliminate this . I did. It did not eliminate this error. It also introduced this error below, showing on high level categories with broken images:
Notice: Trying to get property of non-object in /home/.../public_html/components/com_hikashop/views/category/tmpl/listing_img_title.php on line 17
Please Log in or Create an account to join the conversation.
11 years 7 months ago #190598
by Xavier
Replied by Xavier on topic Upgrading Didn't Fix Warning Error, Made More
Hi,
For the Warning message, it come from the mod_sl_hikashopaccordion, this is not one of our modules.
So please contact the module provider for this error
Regarding the notice message, the notices are really not big deals and can be ignored.
But please give me the corresponding line of the notice message in order to give you the appropriate fix for that.
Do you have overrides on the view "category / listing_img_title" ? You can check that via the menu Display > Views, if there is a dustbin present for this view so there is an override.
For the Warning message, it come from the mod_sl_hikashopaccordion, this is not one of our modules.
So please contact the module provider for this error
Regarding the notice message, the notices are really not big deals and can be ignored.
But please give me the corresponding line of the notice message in order to give you the appropriate fix for that.
Do you have overrides on the view "category / listing_img_title" ? You can check that via the menu Display > Views, if there is a dustbin present for this view so there is an override.
Please Log in or Create an account to join the conversation.
11 years 7 months ago #191191
by Lynn
Replied by Lynn on topic Upgrading Didn't Fix Warning Error, Made More
The error message showing up (and the graphic for each of the categories is gone too), is
Notice: Trying to get property of non-object in /home/mirye/public_html/components/com_hikashop/views/category/tmpl/listing_img_title.php on line 17
Ill rail on the accordian guys
Notice: Trying to get property of non-object in /home/mirye/public_html/components/com_hikashop/views/category/tmpl/listing_img_title.php on line 17
Ill rail on the accordian guys
Please Log in or Create an account to join the conversation.
11 years 7 months ago #191225
by Jerome
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Replied by Jerome on topic Upgrading Didn't Fix Warning Error, Made More
Hi,
Please see that post which explain the fix to apply for the "HikaShop image helper".
Even if the thread is in French, you have the filename to edit, the block to find and the new content for the replacement.
www.hikashop.com/forum/install-update/87...allation.html#190083
Regards,
Please see that post which explain the fix to apply for the "HikaShop image helper".
Even if the thread is in French, you have the filename to edit, the block to find and the new content for the replacement.
www.hikashop.com/forum/install-update/87...allation.html#190083
Regards,
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Please Log in or Create an account to join the conversation.
11 years 6 months ago - 11 years 6 months ago #193610
by Lynn
Replied by Lynn on topic Upgrading Didn't Fix Warning Error, Made More
That did not solve the problem. I should say - when clicking the category link, it seems to drill down.
However the error still appears and the image is broken.
In addition, this error message now appears at the top of each product:
Notice: Undefined property: stdClass::$tax_amount in /home/XXX/public_html/administrator/components/com_hikashop/classes/product.php on line 1488 Notice: Undefined property: stdClass::$tax_amount in /home/XXX/public_html/administrator/components/com_hikashop/classes/product.php on line 1488
XXX = the domain
However the error still appears and the image is broken.
In addition, this error message now appears at the top of each product:
Notice: Undefined property: stdClass::$tax_amount in /home/XXX/public_html/administrator/components/com_hikashop/classes/product.php on line 1488 Notice: Undefined property: stdClass::$tax_amount in /home/XXX/public_html/administrator/components/com_hikashop/classes/product.php on line 1488
XXX = the domain
Last edit: 11 years 6 months ago by Lynn.
Please Log in or Create an account to join the conversation.
11 years 6 months ago #193616
by Jerome
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Replied by Jerome on topic Upgrading Didn't Fix Warning Error, Made More
Hi,
I have no reference of "tax_amount" in line 1488 in the product class in HikaShop 2.4.0 ; I just see one single reference in file:
Because it is just a warning (and not an error), you can simply replace the line with
in order to avoid the warning and put a correct value in the tax_amount variable.
Regards,
I have no reference of "tax_amount" in line 1488 in the product class in HikaShop 2.4.0 ; I just see one single reference in file:
Code:
$variant->prices[$k]->taxes[$taxKey]->tax_amount = $tax->tax_amount * $product_price_percentage / 100;
Because it is just a warning (and not an error), you can simply replace the line with
Code:
$variant->prices[$k]->taxes[$taxKey]->tax_amount = @$tax->tax_amount * $product_price_percentage / 100;
Regards,
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Please Log in or Create an account to join the conversation.
11 years 6 months ago #193744
by Lynn
Replied by Lynn on topic Upgrading Didn't Fix Warning Error, Made More
Hi Jermone,
This is Hikashop 2.3.5, not 2.4. There are two problems here, not just one. Both are total show stoppers for rolling out our store, so I need solutions for both, not just the one. We upgraded to 2.3.5 because previously Hikashop staff said it fixed issues. It didn't fix ours.
If upgrading to 2.4 will resolve this, all the better - I will do it. Will that resolve both these problems?
There is no tax being calculated in these orders at all. We do not collect any tax at all (our company is in a no sales tax state in the United States).
So my question now is - will upgrading to 2.4 resolve both of these problems?
This is Hikashop 2.3.5, not 2.4. There are two problems here, not just one. Both are total show stoppers for rolling out our store, so I need solutions for both, not just the one. We upgraded to 2.3.5 because previously Hikashop staff said it fixed issues. It didn't fix ours.
If upgrading to 2.4 will resolve this, all the better - I will do it. Will that resolve both these problems?
There is no tax being calculated in these orders at all. We do not collect any tax at all (our company is in a no sales tax state in the United States).
So my question now is - will upgrading to 2.4 resolve both of these problems?
Please Log in or Create an account to join the conversation.
11 years 6 months ago #193758
by nicolas
Replied by nicolas on topic Upgrading Didn't Fix Warning Error, Made More
Hi,
Upgrade to the 2.4.
It fixes many issues anyway so even if it doesn't fix those, it's best to have the latest version.
If you still have the error with the tax_amount with HikaShop 2.4 Jerome gave you the fix for that version so you should be able to add it.
Also, please note that warning messages like these are not necessarily errors. If they don't break anything, you can just ignore them. Any live website should have the "error reporting" option of the Joomla configuration turned off for security reasons and in that case, these warning messages won't display.
Upgrade to the 2.4.
It fixes many issues anyway so even if it doesn't fix those, it's best to have the latest version.
If you still have the error with the tax_amount with HikaShop 2.4 Jerome gave you the fix for that version so you should be able to add it.
Also, please note that warning messages like these are not necessarily errors. If they don't break anything, you can just ignore them. Any live website should have the "error reporting" option of the Joomla configuration turned off for security reasons and in that case, these warning messages won't display.
Please Log in or Create an account to join the conversation.
Time to create page: 0.189 seconds