warning on logout

  • Posts: 140
  • Thank you received: 0
9 years 8 months ago #223658

-- url of the page with the problem -- : ce4rt.com
-- HikaShop version -- : current
-- Joomla version -- : 3.4x
-- Error-message(debug-mod must be tuned on) -- : Warning: Missing argument 1 for plgSystemHikashopuser::restoreSession(), called in .../plugins/system/hikashopuser/hikashopuser.php on line 207 and defined in .../plugins/system/hikashopuser/hikashopuser.php on line 137 Warning: Cannot modify header information - headers already sent by (output started at .../plugins/system/hikashopuser/hikashopuser.php:137) in .../libraries/joomla/input/cookie.php on line 85

When logging out I get this message at the top.

Warning: Missing argument 1 for plgSystemHikashopuser::restoreSession(), called in .../plugins/system/hikashopuser/hikashopuser.php on line 207 and defined in .../plugins/system/hikashopuser/hikashopuser.php on line 137 Warning: Cannot modify header information - headers already sent by (output started at .../plugins/system/hikashopuser/hikashopuser.php:137) in .../libraries/joomla/input/cookie.php on line 85

Any information would be helpful. Thanks.

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

  • Posts: 84233
  • Thank you received: 13674
  • MODERATOR
9 years 8 months ago #223661

Hi,

Add the line:
$user_id = 0;
before the line:

if(empty($user['id'])){
in the file plugins/system/hikashopuser/hikashopuser.php

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

  • Posts: 140
  • Thank you received: 0
9 years 8 months ago #223689

It looks like that helped. Thanks.

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

  • Posts: 235
  • Thank you received: 4
9 years 7 months ago #226716

Same problem over here

Warning: Missing argument 1 for plgSystemHikashopuser::restoreSession(), called in /home/verwij21/domains/anatomie.nl/public_html/plugins/system/hikashopuser/hikashopuser.php on line 207 and defined in /home/verwij21/domains/anatomie.nl/public_html/plugins/system/hikashopuser/hikashopuser.php on line 137

This didn't help:
Add the line:
$user_id = 0;
before the line:
if(empty($user)){
in the file plugins/system/hikashopuser/hikashopuser.php

Jan

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

  • Posts: 26264
  • Thank you received: 4043
  • MODERATOR
9 years 7 months ago #226726

Hi,

Please update to HikaShop 2.6.1

Regards,


Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

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

  • Posts: 235
  • Thank you received: 4
9 years 7 months ago #226788

Hi,

I did and the error is still there :-(

Warning: Missing argument 1 for plgSystemHikashopuser::restoreSession(), called in /home/verwij21/domains/anatomie.nl/public_html/plugins/system/hikashopuser/hikashopuser.php on line 207 and defined in /home/verwij21/domains/anatomie.nl/public_html/plugins/system/hikashopuser/hikashopuser.php on line 137

Jan

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

  • Posts: 140
  • Thank you received: 0
9 years 7 months ago #226828

You might want to make sure the code you added is still there after the update.
Whenever I do an update, it breaks a lot of these kinds of custom tweaks.

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

  • Posts: 235
  • Thank you received: 4
9 years 7 months ago #226845

The modification is now standard in the Hikashop (see attachment), but the problem is still there :-(

Jan

Attachments:

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

  • Posts: 26264
  • Thank you received: 4043
  • MODERATOR
9 years 7 months ago #226859

Hi,

Are you really sure that this plugin is up-to-date.
Because in HikaShop 2.6.1 ; I right have the line

$this->restoreSession($user_id);
which is line 224 and not 207.
And the definition of the function restoreSession is right in line 137.

So please update your HikaShop and his plugins.

Regards,


Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

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

  • Posts: 235
  • Thank you received: 4
9 years 7 months ago #226902

I downloaded 2.6.1. again and installed it again.

On this url I get an error now: www.anatomie.nl/anatomiemodellen/categorie/297-baby . See attachment

The login error is solved!

Jan

Attachments:

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

  • Posts: 86
  • Thank you received: 9
9 years 7 months ago #226938

You have to look at what plugins and/or modules you want to load on page www.anatomie.nl/anatomiemodellen because when going to another hikashop page www.anatomie.nl/anatomische-wandplaten-en-posters the error DOES not appear.


Kind regards,
Cornel

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

  • Posts: 26264
  • Thank you received: 4043
  • MODERATOR
9 years 7 months ago #226939

Hi,

We already had a report about that issue ; we are not able to reproduce it in our side and the debug made did give useful details.
See :
www.hikashop.com/forum/install-update/88...-2-6-1-upgraded.html

Regards,


Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

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

  • Posts: 235
  • Thank you received: 4
9 years 7 months ago #226953

I switched the error off. :-)

Now you can see!

Jan

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

Time to create page: 0.094 seconds
Powered by Kunena Forum