Hikashop Google Analytics plugin

  • Posts: 68
  • Thank you received: 0
11 years 2 months ago #150498

-- url of the page with the problem -- : mywebsite.com/mypage
-- HikaShop version -- : Bussines 2.2.3
-- Joomla version -- : 2.5
-- PHP version -- : 5.5

I actived the Hikashop GA plugin.
I full fil the GA code + currency. I need to use CZK.
The system said this warning:

Warning: Creating default object from empty value in /data/www/19275/krbovevlozky-kamna_cz/www/plugins/system/hikashopanalytics/hikashopanalytics.php on line 65

Could you help me solved the problem? Is the reason the version of PHP?

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

  • Posts: 13201
  • Thank you received: 2322
11 years 2 months ago #150629

Hi,

Could you give us the concerned line ?
And thanks to update your HikaShop version to the latest one (2.3.0).

Generally this kind of error is due to a

$theVar = new stdClass();
which is missing. before using the var in question.

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

  • Posts: 68
  • Thank you received: 0
11 years 2 months ago #150654

Hi Xavier,

the link of the web is:
www.krbovevlozky-kamna.cz

Now the plugin is active and the system message are set up not display any errors.

The next warning which I see is:

Strict Standards: Only variables should be passed by reference in /data/www/19275/krbovevlozky-kamna_cz/www/plugins/system/hikashopanalytics/hikashopanalytics.php on line 80

Because I don´t know well the php, could you tell me, where exactly I should put the missing part of the php code?

Last edit: 11 years 2 months ago by kopretina.

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

  • Posts: 68
  • Thank you received: 0
11 years 2 months ago #150662

I forget info concerning update to Hikaskop 2.3.0. I have to wait for hosting. They have to increase the execution time. I am not able tu update the component. There is limit which too low.

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

  • Posts: 13201
  • Thank you received: 2322
11 years 2 months ago #150655

I was asking for the concerned line to give you the detailed instructions to remove this error ;)

Regarding the strict standard, you have to edit the indicated file at the indicated line and remove the "&" in the code after the equal symbol.

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

  • Posts: 68
  • Thank you received: 0
11 years 2 months ago #150729

It seems to me I am not inteligent enough. ;)

The strict standar error is on the line 80 (the file was opened in Dreamweaver).
On this line I see this:

$currencyInfo=reset($currencyClass->getCurrencies($currencies, $null));

So no "&" symbols there which should be removed.

The lines with erros 5x the same + the error of strict standards, see attachement:

Attachments:

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

  • Posts: 13201
  • Thank you received: 2322
11 years 2 months ago #150773

Hi,

Could you give us a FTP access in order to debug it directly on your website ?

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

  • Posts: 68
  • Thank you received: 0
11 years 2 months ago #150828

I sent you PM.

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

  • Posts: 13201
  • Thank you received: 2322
11 years 2 months ago #150886

Hi,

Thanks to check, but the error should be removed.

Regards,

The following user(s) said Thank You: kopretina

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

  • Posts: 68
  • Thank you received: 0
11 years 2 months ago #150901

It seems to be ok. Thank you very much for help.

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

Time to create page: 0.102 seconds
Powered by Kunena Forum