Main menu

Forum


× Help Forum English

[FIX 3.5.13] Warning when user changes password

  • mke
  • Topic Author
  • New Member
  • New Member
More
9 years 1 month ago - 9 years 1 month ago #11316 by 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
Last edit: 9 years 1 month ago by Lyr!C.

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

  • Lyr!C
  • Lyr!C's Avatar
  • Administrator
  • Administrator
  • Lead Developer
More
9 years 1 month ago #11328 by Lyr!C
Replied by Lyr!C on 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 Attachment:

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

  • mke
  • Topic Author
  • New Member
  • New Member
More
9 years 1 month ago - 9 years 1 month ago #11330 by mke
Replied by mke on 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?
Last edit: 9 years 1 month ago by mke.

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

  • Lyr!C
  • Lyr!C's Avatar
  • Administrator
  • Administrator
  • Lead Developer
More
9 years 1 month ago #11331 by Lyr!C
Replied by Lyr!C on topic Warning when user changes password

mke wrote: 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 Attachment:

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

  • mke
  • Topic Author
  • New Member
  • New Member
More
9 years 1 month ago #11332 by mke
Replied by mke on topic Warning when user changes password
Okay, thanks!

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

  • mke
  • Topic Author
  • New Member
  • New Member
More
9 years 1 month ago #11333 by mke
Replied by mke on 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.

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

  • Lyr!C
  • Lyr!C's Avatar
  • Administrator
  • Administrator
  • Lead Developer
More
9 years 1 month ago #11334 by Lyr!C
Replied by Lyr!C on topic Warning when user changes password

mke wrote: 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 Attachment:

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

  • mke
  • Topic Author
  • New Member
  • New Member
More
9 years 1 month ago #11335 by mke
Replied by mke on 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.
The following user(s) said Thank You: Lyr!C

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

Moderators: Lyr!C
Time to create page: 0.095 seconds

 

Follow Us

Create your Joomla templates with Template Creator CK

acymailing logo new