Skip to main content

Notice: Trying to get property of non-object in /home/enagi/public_html/temp/plu

More
9 years 1 month ago #275750 by jbendsen
-- HikaShop version -- : 3.1.1
-- Joomla version -- : 3.4.7
-- PHP version -- : 7.0.22
-- Browser(s) name and version -- : chrome
-- Error-message(debug-mod must be tuned on) -- : Notice: Trying to get property of non-object in /home/enagi/public_html/temp/plugins/hikashopshipping/fedex/fedex.php on line 341

Hi
After logging on in the checkout I get this "Notice: Trying to get property of non-object in /home/enagi/public_html/temp/plugins/hikashopshipping/fedex/fedex.php on line 341"

So I cannot get a FedEX quote, please correct, see attachment also.

Thanks
Jesper

Please Log in or Create an account to join the conversation.

More
9 years 1 month ago #275757 by Mohamed Thelji
Hello Jesper,

Can you give us the line 341 of the fedex.php file in which you are having your issue so that we can have more information about your issue ?

Thank you.

Please Log in or Create an account to join the conversation.

More
9 years 1 month ago #275790 by jbendsen
Hi
Here, see attchment..
Thanks
Jesper

Please Log in or Create an account to join the conversation.

More
9 years 1 month ago #275888 by Mohamed Thelji
Hello,

To fix that issue you'll just have to replace that line :
Code:
elseif(strlen($state->zone_code_3) == 2)
By :
Code:
elseif(isset($state->zone_code_3) && strlen($state->zone_code_3) == 2)

Also, Notice messages won't affect your shop.
Note that when your shop is in production mode you should :
- Disable the Joomla debug mode ("Administration->Global configuration->System->Debug System/Language")
- Set the "error reporting" option of the Joomla configuration to "none"

Please Log in or Create an account to join the conversation.

Time to create page: 0.177 seconds
Powered by Kunena Forum