Main menu

Forum


× Help Forum English

[FIX 3.5.13] Warning when user changes password

  • mke
  • Autore della discussione
  • New Member
  • New Member
Di più
9 Anni 1 Mese fa - 9 Anni 1 Mese fa #11316 da mke
I get a very annoying warning when a user updates his password. The ICagenda module gives a
Warning: in_array() expects parameter 2 to be array, null given in <path to www-root>/modules/mod_iccalendar\helper.php on line 222
(I masked the real path to my domain root folder)

The warning goes away if you log out and log in again, but it looks very sloppy. Does anyone know why this is and what I can do about it?

PHP 5.6.3
Ultima Modifica 9 Anni 1 Mese fa da Lyr!C.

Si prega Accedi o Crea un account a partecipare alla conversazione.

  • Lyr!C
  • Avatar di Lyr!C
  • Administrator
  • Administrator
  • Lead Developer
Di più
9 Anni 1 Mese fa #11328 da Lyr!C
Risposta da Lyr!C al topic Warning when user changes password
Hello,

This is a strange issue, as related to the call of a joomla function to get current users access groups....

What is your Joomla version ?
And iCagenda version ?

I don't think it's related directly to the line 222, but it could be an issue of conflict with another plugin about the joomla $user->getAuthorisedGroups() function....

Regards,
Cyril

Latest version : iCagenda 3.9.8
We recommend every user to keep iCagenda updated.
Don't forget to have your Joomla!™ up-to-date!

Do you like iCagenda?
I would appreciate if you could take 5 minutes to post a review on JED (Joomla Extensions Directory) .

File allegato:

Si prega Accedi o Crea un account a partecipare alla conversazione.

  • mke
  • Autore della discussione
  • New Member
  • New Member
Di più
9 Anni 1 Mese fa - 9 Anni 1 Mese fa #11330 da mke
Risposta da mke al topic Warning when user changes password
Hi,

I've got the latest version of ICagenda, version 3.5.12.
My Joomla version is the latest stable: 3.4.5 Stable
Joomla Platform 13.1.0 Stable

The hosting is a Windows server 2008 with php 5.6.3

I must say I transferred this site form another hosting running Linux with php 5.5.41. I don't have any issues with that installation. Could it be the php version?
Ultima Modifica 9 Anni 1 Mese fa da mke.

Si prega Accedi o Crea un account a partecipare alla conversazione.

  • Lyr!C
  • Avatar di Lyr!C
  • Administrator
  • Administrator
  • Lead Developer
Di più
9 Anni 1 Mese fa #11331 da Lyr!C
Risposta da Lyr!C al topic Warning when user changes password

mke ha scritto: Hi,

I've got the latest version of iCagend, version 3.5.12.
My Joomla version is the latest stable: 3.4.5 Stable
Joomla Platform 13.1.0 Stable

The hosting is a Windows server 2008 with php 5.6.21

I must say I transferred this site form another hosting running Linux with php 5.5.41. I don't have any issues with that installation. Could it be the php version?

I don't think so... All seems ok.

I will do a test to see if i get the same issue....

Latest version : iCagenda 3.9.8
We recommend every user to keep iCagenda updated.
Don't forget to have your Joomla!™ up-to-date!

Do you like iCagenda?
I would appreciate if you could take 5 minutes to post a review on JED (Joomla Extensions Directory) .

File allegato:

Si prega Accedi o Crea un account a partecipare alla conversazione.

  • mke
  • Autore della discussione
  • New Member
  • New Member
Di più
9 Anni 1 Mese fa #11332 da mke
Risposta da mke al topic Warning when user changes password
Okay, thanks!

Si prega Accedi o Crea un account a partecipare alla conversazione.

  • mke
  • Autore della discussione
  • New Member
  • New Member
Di più
9 Anni 1 Mese fa #11333 da mke
Risposta da mke al topic Warning when user changes password
By the way, I just found a way to suppress the warning, by setting the reporting level to None in the Global settings. The app seems to work for the rest.

Si prega Accedi o Crea un account a partecipare alla conversazione.

  • Lyr!C
  • Avatar di Lyr!C
  • Administrator
  • Administrator
  • Lead Developer
Di più
9 Anni 1 Mese fa #11334 da Lyr!C
Risposta da Lyr!C al topic Warning when user changes password

mke ha scritto: By the way, I just found a way to suppress the warning, by setting the reporting level to None in the Global settings. The app seems to work for the rest.

I was able to reproduce the issue!
Seems a bug somewhere in one of the latest joomla release (or a change with a B/C issue for one function...)
Or if no issue, it's a strange behavior...

I've found a way to get the user groups using another function, and so returning no error!
This fix will be included in the next release 3.5.13 coming soon (just tested on my dev site, and it solve the issue of warning. But i will see to do more test with Joomla itself, to see where the issue is, and when it was introduced...)

Thank you for your report, again one useful to improve iCagenda in all cases! ;-)

And yes, until 3.5.13 is released, good to set error reporting on off. But on a production site, is truly recommended to always keep it OFF, and to use it only when you have a bug, and want more info ;-)

Best Regards,
Cyril

Latest version : iCagenda 3.9.8
We recommend every user to keep iCagenda updated.
Don't forget to have your Joomla!™ up-to-date!

Do you like iCagenda?
I would appreciate if you could take 5 minutes to post a review on JED (Joomla Extensions Directory) .

File allegato:

Si prega Accedi o Crea un account a partecipare alla conversazione.

  • mke
  • Autore della discussione
  • New Member
  • New Member
Di più
9 Anni 1 Mese fa #11335 da mke
Risposta da mke al topic Warning when user changes password
Great, thank you for your support and this great module. It's by far the best event calender I have tried sofar, apart from this little issue.
Ringraziano per il messaggio: Lyr!C

Si prega Accedi o Crea un account a partecipare alla conversazione.

Moderatori: Lyr!C
Tempo creazione pagina: 0.111 secondi

 

Follow Us

Create your Joomla templates with Template Creator CK

acymailing logo new