×

Notice

The forum is in read only mode.
Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC: Errors when already subscribed, and logged in

Errors when already subscribed, and logged in 9 years 8 months ago #27589

  • Jim
  • Jim's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 1
  • Thank you received: 0
First thanks for the great extenstion!

Upgraded to the new version - everything seems to be workind OK except when a user is logged in and already subscribed to the list. In that case I get:
Notice: Undefined offset: 1 in /home/vorra/public_html/Joomla/modules/mod_cmc/helper.php on line 77
Notice: Undefined offset: 1 in /home/vorra/public_html/Joomla/modules/mod_cmc/helper.php on line 86
In the area above the 'Already Subscribed' notification.

Ideas?

Thanks.

Errors when already subscribed, and logged in 9 years 8 months ago #27599

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
Hey Jim,
Thanks for this. I'll have to check this. I haven't seen this on my dev. machine. What you can do in the meantime -> go to your global configuration and set error reporting to none. Then those notices won't be shown.

Error reporting should be set to none on production sites anyway :)

cheers,
daniel

Errors when already subscribed, and logged in 9 years 4 weeks ago #30783

  • kekec
  • kekec's Avatar
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 4
  • Thank you received: 1
Same here
Notice: Undefined offset: 1 in /home/x/public_html/modules/mod_cmc/helper.php on line 77
Notice: Undefined offset: 1 in /home/x/public_html/modules/mod_cmc/helper.php on line 86

Error reporting in global config is off!

Can i disable already subscribed message (function) in module when user is loged in?

Errors when already subscribed, and logged in 9 years 4 weeks ago #30784

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
@Keke, if you are seeing those then error reporting can't be off. Is it maybe set to default instead of none?

Regards,
Daniel

Errors when already subscribed, and logged in 9 years 4 weeks ago #30785

  • kekec
  • kekec's Avatar
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 4
  • Thank you received: 1
My bad. It seems that cache is working;)

I manage to hide massages with override. Tnx.

One more thing. I know its tricky but i need single optin for module. I managed to do this with registration. But in module, still got double optin.
  • Page:
  • 1
Time to create page: 0.105 seconds