×

Notice

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

TOPIC: V 2.0.2 php error with module

V 2.0.2 php error with module 11 years 9 months ago #16760

  • Patrik Bernhard
  • Patrik Bernhard's Avatar Topic Author
  • Offline
  • Expert Boarder
  • Expert Boarder
  • Posts: 91
  • Thank you received: 4
Hello

I get a error message in the module:

Warning: Invalid argument supplied for foreach() in /home/.../modules/mod_matukio/mod_matukio.php on line 118

In my test environment I do not get the message, using php version 5.4.3
On my life site I'm using php version 5.3.10

As soon as I replace line 115 of the new module version (2.0.2) with the line of the old version the message disappears and the module is working fine.

Regards
Patrik

Re: V 2.0.2 php error with module 11 years 9 months ago #16936

  • Vera Csikós
  • Vera Csikós's Avatar
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 19
  • Thank you received: 0
I have the same problem, same warning :(

Re: V 2.0.2 php error with module 11 years 9 months ago #16970

  • Yves Hoppe
  • Yves Hoppe's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 3519
  • Karma: 71
  • Thank you received: 556
Hi Vera & Patrik,

sorry for the long answer time. As already answered in an other thread the old module is currently slightly broken with Version 2.0.2. I'm currently working on 4 new modules, which are going to replace it.

If you are in a hurry, you just have to change the code like Patrik suggests.

Best regards,

Yves Hoppe
  • Page:
  • 1
Time to create page: 0.151 seconds