Main menu

Forum


× Help Forum English

[FIX 3.5.13] Warning when user changes password

  • mke
  • Auteur du sujet
  • Nouveau membre
  • Nouveau membre
Plus d'informations
il y a 9 ans 1 mois - il y a 9 ans 1 mois #11316 par 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
Dernière édition: il y a 9 ans 1 mois par Lyr!C.

Connexion ou Créer un compte pour participer à la conversation.

  • Lyr!C
  • Portrait de Lyr!C
  • Administrateur
  • Administrateur
  • Lead Developer
Plus d'informations
il y a 9 ans 1 mois #11328 par Lyr!C
Réponse de Lyr!C sur le sujet 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) .

Fichier attaché :

Connexion ou Créer un compte pour participer à la conversation.

  • mke
  • Auteur du sujet
  • Nouveau membre
  • Nouveau membre
Plus d'informations
il y a 9 ans 1 mois - il y a 9 ans 1 mois #11330 par mke
Réponse de mke sur le sujet 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?
Dernière édition: il y a 9 ans 1 mois par mke.

Connexion ou Créer un compte pour participer à la conversation.

  • Lyr!C
  • Portrait de Lyr!C
  • Administrateur
  • Administrateur
  • Lead Developer
Plus d'informations
il y a 9 ans 1 mois #11331 par Lyr!C
Réponse de Lyr!C sur le sujet Warning when user changes password

mke écrit: 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) .

Fichier attaché :

Connexion ou Créer un compte pour participer à la conversation.

  • mke
  • Auteur du sujet
  • Nouveau membre
  • Nouveau membre
Plus d'informations
il y a 9 ans 1 mois #11332 par mke
Réponse de mke sur le sujet Warning when user changes password
Okay, thanks!

Connexion ou Créer un compte pour participer à la conversation.

  • mke
  • Auteur du sujet
  • Nouveau membre
  • Nouveau membre
Plus d'informations
il y a 9 ans 1 mois #11333 par mke
Réponse de mke sur le sujet 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.

Connexion ou Créer un compte pour participer à la conversation.

  • Lyr!C
  • Portrait de Lyr!C
  • Administrateur
  • Administrateur
  • Lead Developer
Plus d'informations
il y a 9 ans 1 mois #11334 par Lyr!C
Réponse de Lyr!C sur le sujet Warning when user changes password

mke écrit: 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) .

Fichier attaché :

Connexion ou Créer un compte pour participer à la conversation.

  • mke
  • Auteur du sujet
  • Nouveau membre
  • Nouveau membre
Plus d'informations
il y a 9 ans 1 mois #11335 par mke
Réponse de mke sur le sujet 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.
Les utilisateur(s) suivant ont remercié: Lyr!C

Connexion ou Créer un compte pour participer à la conversation.

Modérateurs: Lyr!C
Temps de génération de la page : 0.176 secondes

 

Follow Us

Créez vos templates Joomla avec Template Creator CK

acymailing logo new