Page 1 of 1

New issue with modrewriterequestgenerator.class.php

PostPosted: Tue Sep 22, 2015 8:54 am
by Mischa
Hola.
Message from server when loading newest LifeType version blog (lifetype-1.2.12_r7211), almost every page, in the top:
Code: Select all
 Deprecated: Assigning the return value of new by reference is deprecated in /[web folder for lifetype]/class/net/modrewriterequestgenerator.class.php on line 299


Line in question:
Code: Select all
$blogs =& new Blogs();


Happened on a web hotel running PHP: 5.3.29

What to do?

Re: New issue with modrewriterequestgenerator.class.php

PostPosted: Tue Sep 22, 2015 3:19 pm
by Mischa
Mysteriously, problem is gone.
I could have missed clearing a cache, either in my browser or the temp files on server...
Strange.

Re: New issue with modrewriterequestgenerator.class.php

PostPosted: Sat Oct 24, 2015 9:43 am
by Mischa
But the message DOES appear on all the back end admin pages... hmmm.

Re: New issue with modrewriterequestgenerator.class.php

PostPosted: Thu Dec 17, 2015 10:29 pm
by jondaley
Oops - didn't notice this post before. You can just remove the & and you should be fine.

Re: New issue with modrewriterequestgenerator.class.php

PostPosted: Mon Dec 21, 2015 1:14 pm
by Mischa
jondaley wrote:Oops - didn't notice this post before. You can just remove the & and you should be fine.

Worked like a charm!
Merry Christmas and be love, peace and happiness. <3