xoops forums

cadelite

Just popping in
Posted on: 2012/5/18 1:45
cadelite
cadelite (Show more)
Just popping in
Posts: 86
Since: 2008/1/15
#1

Liaise 1.5 and XOOPS 2.5.5

After upgrading of the module Liaise from 1.27 to 1.5, the following warning is displayed:

Deprecated: Assigning the return value of new by reference is deprecated in ....... /modules/liaise/server.php on line 10

When reading the file "server.php", the following line on line 10 is found:

$server = &new captcha_x();

Is there a way to get rid of this warning about deprecated value by modifying the above line or others?

My XOOPS version is 2.5.5.

Thank you very much!



Regards,

cadelite

Roby73

Friend of XOOPS
Posted on: 2012/5/18 23:06
Roby73
Roby73 (Show more)
Friend of XOOPS
Posts: 262
Since: 2011/6/15
#2

Re: Liaise 1.5 and XOOPS 2.5.5

hi, remove "&" in the code:
$server = &new captcha_x();


i have modified the module with the capatcha core...

i send it soon as possible